Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Python error: PyEval_RestoreThread - moving Tkinter window with PandasGUI open #215

Open
lachesis17 opened this issue Nov 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@lachesis17
Copy link

Trying to move a Tkinter window at any time gives me this error across multiple systems.

Environment
Windows 10 64-bit
Python 3.10 64-bit
pandasgui-0.2.13

Error:

PandasGUI INFO � pandasgui.gui � Opening PandasGUI
Fatal Python error: PyEval_RestoreThread: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
Python runtime state: initialized

Current thread 0x000038c4 (most recent call first):
  File "C:\Python\lib\site-packages\pandasgui\gui.py", line 106 in __init__
  File "C:\Python\lib\site-packages\pandasgui\gui.py", line 468 in show
  File "C:\Desktop\file.py", line 398 in start_pandasgui
  File "C:\Python\lib\site-packages\customtkinter\widgets\ctk_button.py", line 372 in clicked
  File "C:\Python\lib\tkinter\__init__.py", line 1921 in __call__
  File "C:\Python\lib\tkinter\__init__.py", line 1458 in mainloop
  File "C:\Python\lib\site-packages\customtkinter\windows\ctk_tk.py", line 106 in mainloop
  File "C:\Desktop\file.py", line 1535 in <module>

Extension modules: win32api, _win32sysloader, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.strptime, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.tslib, pandas._libs.lib, pandas._libs.hashing, pyarrow.lib, pyarrow._hdfsio, pandas._libs.ops, pandas._libs.arrays, pandas._libs.index, pandas._libs.join, pandas._libs.sparse, pyarrow._compute, pandas._libs.reduction, pandas._libs.indexing, pandas._libs.internals, pandas._libs.writers, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.testing, pandas._libs.parsers, pandas._libs.json, PyQt5.QtCore, PyQt5.QtGui, PyQt5.QtWidgets, win32com.shell.shell, PyQt5.QtWebChannel, PyQt5.QtNetwork, PyQt5.QtWebEngineCore, PyQt5.QtPrintSupport, PyQt5.QtWebEngineWidgets, pyodbc, matplotlib._c_internal_utils, PIL._imaging, matplotlib._path, kiwisolver._cext, matplotlib._image (total: 74)
@lachesis17 lachesis17 added the bug Something isn't working label Nov 11, 2022
@lachesis17 lachesis17 changed the title Fatal Python error: PyEval_RestoreThread - move Tkinter Frame Window with PandasGUI open Fatal Python error: PyEval_RestoreThread - moving Tkinter window with PandasGUI open Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant