-
Notifications
You must be signed in to change notification settings - Fork 117
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
easygui crashes on many OSX machines #127
Comments
Looks a little like the error I'm facing. Does the error happens every time someone type an special character? (like ˜ or ˆ) |
@thomas-haslwanter - apologies for the lack of any earlier response on this. It does sound like it may be related to the issue that @gustavohmsilva is experiencing. I'm going to have a look into that (tracked as bug #139) and if we get a working solution we can see whether it fixes your issues also. |
@thomas-haslwanter could you include the entire code used to produce this error? Mainly, I'm curious what other packages you might be using along with easygui. Famously, matplotlib has an odd interaction with tkinter applications. If you are using matplotlib, see this SO question for a potential solution. Also, be sure that these students are not using IDLE to try to run this code. IDLE itself is a tkinter app and attempting to run tkinter applications through IDLE, especially on Mac OS X, can cause some strange issues in my experience. |
I Think I found a solution @thomas-haslwanter, @zadacka and @spyoungtech! After A LOT of search I discovered some strange problem that Mac OS has with TK. Basically, the build that comes embedded with MAC OS of TCL/TK has a bug since 10.6 that don't play nice with some characters. Python website recommend that you replace the original TCL/TK on MAC OS with another one that don't have the bug. After that, Python will automatically forward all TCL/TK use (easygui included) to the custom version you installed instead of the native pre build version o MAC OS. Install this file: ActiveTcl8.5.18.0.298892-macosx10.5-i386-x86_64-threaded.dmg and you should stop receiving this problems. The link is below: http://downloads.activestate.com/ActiveTcl/releases/8.5.18.0/ Please take close attention to the license from activestate, they are NOT open source and it may influence your work. |
Yup, to second what @gustavohmsilva has said. @thomas-haslwanter - if you get the chance to determine whether updating Tcl also resolves your issue that would be great. If it does not then we can do some more digging... |
Thank you for looking into this issue.
Currently I don't have a Mac available (it was a number of my students that had that problem), and I will look into it again during the spring semester.
The problem with the suggested solution : it would require a modification of the python installation for each Mac user.
Thomas
Sent from Nine<http://www.9folders.com/>
…________________________________
From: Gustavo H M Silva <[email protected]>
Sent: Wednesday, 17 January 2018 14:03
To: robertlugg/easygui
Cc: Haslwanter Thomas; Mention
Subject: Re: [robertlugg/easygui] easygui crashes on many OSX machines (#127)
I Think I found a solution @thomas-haslwanter<https://github.com/thomas-haslwanter>, @zadacka<https://github.com/zadacka> and @spyoungtech<https://github.com/spyoungtech>!
After A LOT of search I discovered some strange problem that Mac OS has with TK. Basically, the build that comes embedded with MAC OS of TCL/TK has a bug since 10.6 that don't play nice with some characters.
Python website recommend that you replace the original TCL/TK on MAC OS with another one that don't have the bug. After that, Python will automatically forward all TCL/TK use (easygui included) to the custom version you installed instead of the native pre build version o MAC OS.
Install this file: ActiveTcl8.5.18.0.298892-macosx10.5-i386-x86_64-threaded.dmg and you should stop receiving this problems. The link is below:
http://downloads.activestate.com/ActiveTcl/releases/8.5.18.0/
Please take close attention to the license from activestate, they are NOT open source and it may influence your work.
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#127 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABdaRXIP407Edttwy1PBjoNXQkwo4GyHks5tLe9ygaJpZM4OElhF>.
|
Okay, thanks. Please do keep us posted. It isn't a modification of the python installation so much as updating another library - which isn't ideal, but isn't totally uncommon. Tk is the requirement that easygui has, so there is unlikely an easy way to get around this (I'm open to suggestions!). We might be able to update minimum required version in the eaqygui dependencies so that it pulls that in at install time... |
I was having same trouble with EasyGui on Mac. EasyGUI runs on Python 2 and 3, and does not have any dependencies. I must regret now from using EasyGui for certain features in my app, because embedding and setting up an additional package is not a viable option unfortunately. |
@webpolis Additionally, you can reasonably expect Tk to be available on just about any modern OS with a user interface. The problem with MacOS is that Apple packs a custom modified tcl/tk which is bugged. Additionally, with modern versions of Python, a private copy of tcl/tk is packed in with Python on MacOS installers. So this may alleviate your concerns if you're using these versions of Python
|
A number of my students use Mac OSX, and have reported that that current version of easygui reproducibly crashes on Mac-s.
Attached are two crash reports, from different machines
crash_report_1.txt
crash_report_2.txt
The text was updated successfully, but these errors were encountered: