You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can even comment out the last three lines, because it deadlocks on root = tkinter.Tk().
Just in case the problem was not in Python or on its tkinter module, but on its tcl/tk dependencies, I tried running some tcl and tk programs directly (using wish).
They seem to work fairly well. From simple "hello world" programs, to more complex examples (fully funtional SpiroGraphs!).
Using the debugger on the deadlocked Python interpreter yields the following output (shortened to what seems relevant):
* Remove some clutter.
* Provide non-suffixed "cmd:"s for default Python version.
* Drop unnecessary gcc BUILD_PREQUIRES, and switch recipe to "any".
* Add missing typing_extensions dependency.
All "cmd:" now work at least with "--version" parameter, except for
`tkconch`, that deadlocks (known issue for Python + Tk: haikuports#6967).
* Remove some clutter.
* Provide non-suffixed "cmd:"s for default Python version.
* Drop unnecessary gcc BUILD_PREQUIRES, and switch recipe to "any".
* Add missing typing_extensions dependency.
All "cmd:" now work at least with "--version" parameter, except for
`tkconch`, that deadlocks (known issue for Python + Tk: #6967).
Today I finally was able to try to use the tkinter-enabled python packages that @Begasus worked on for closing #6914 (thanks again!).
Unfortunately it seems to freeze (dead-lock ?) at the most fundamental step (creating the
tkinter.Tk()
"root window").Example
hello_world_tkinter.py
:you can even comment out the last three lines, because it deadlocks on
root = tkinter.Tk()
.Just in case the problem was not in Python or on its
tkinter
module, but on itstcl/tk
dependencies, I tried running sometcl
andtk
programs directly (usingwish
).They seem to work fairly well. From simple "hello world" programs, to more complex examples (fully funtional SpiroGraphs!).
Using the debugger on the deadlocked Python interpreter yields the following output (shortened to what seems relevant):
Same happens on both Python 3.7.12-3 and Python 3.10.2-3. Haiku beta3 x86-64 (but also on recent nightlies).
I wish I could do more than just bug reports, but... I'm not skilled enogh.
The text was updated successfully, but these errors were encountered: