Closed ghost closed 6 years ago
Yeah, that's sub-optimal behaviour. Thanks for the detailed notes and video - that should definitely help us track down the problem.
As you can see (below), I can't immediately reproduce your issue, so am going to have to ask for a bit of help.
Based on what you've already supplied, it looks like this could be a known OS X Cocoa Tk bug. There are some additional notes on compatibility and download links for the recommended version of Tcl/Tk here on python.org
If possible, could you try and download the latest Tcl/Tk from the python.org link, and see if that resolves the problem?
If that does not help, then we can move on to the following:
Hi @zadacka! It is strange that your computer work out of the box? Are you copy/pasting the chars on the form? My script don't break if I copy/paste, only if I type it (extra weird).
Also, you were dead on! OS X Cocoa Tk but was the source of the problem. I had to install a custom version of TK from Activestate to work around this problem (recommended by the python website)
The version installed was: ActiveTcl8.5.18.0.298892-macosx10.5-i386-x86_64-threaded.dmg
The link: http://downloads.activestate.com/ActiveTcl/releases/8.5.18.0/
IMHO you could also point to that on the github readme. The information on Python.org about this issue is less than direct about this problem and isn't directly related to easygui, but to TCL/TK and some newbie coders (like me) may generate more issues reports on github about it.
Also, thanks a million for your help mate!
Great - I'm glad that we were able to identify the cause of the problem here.
It seems crazy to me that the issue hasn't been resolved with more recent OS X builds. The bug has been around since '14, and I would have hoped that Apple would have started shipping a newer Tcl version by now.
Anyhow, kudos on the detailed issue report and detective work!
After the last issue I submitted ended up being related to the Python install method, I tried my best to give the most accurate description of the problem, so, here you go:
Every time I try to type ˆ or ˜ (weirdly enough, Ç works fine though), the entire Python 3 crashes.
I'm attaching to this issue report a video where it happens several times, and also the terminal output post error.
Environment: Mac OS Sierra 10.12.6 Python vers. Python 3.6.0 build 5666 Script Source Code: gist.github.com/gustavohmsilva/9dd8b25c94e9bf6b70ccccb7d1d69685 Video with the crash in real time: https://vimeo.com/251317957 Post crash report on terminal: