-
Notifications
You must be signed in to change notification settings - Fork 33
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
Crash when clicking "Check SnapEDA" button #23
Comments
@cdwilson Can you let me know the part number with which you encountered this crash? |
311-330LRCT-ND (Yageo RC0402FR-07330RL) (if this happens in the future, sometimes you may be able to get a hint from the name of the file in the trace |
@cdwilson Unfortunately I'm not able to reproduce this issue... Can you do me a favor and copy-paste this code in a new file: import PySimpleGUI as sg
layout = [[sg.Image(r'/Users/chris/Projects/Ki-nTree/search/images/rc0402fr-07330rl_symbol.png')]]
mainWin = sg.Window('Main Window',resizable=True).Layout(layout)
while True:
event, values = mainWin.Read(timeout=0) then run it. Does it crash the same way? |
Yes, it crashes the same way. I wonder if it's a tkinter issue (I get a tkinter warning whenever I run
|
@cdwilson This is what I have, from inside my virtual env: $ python -c "import tkinter; print(tkinter.TkVersion)"
8.6 Update Tkinter then re-try? |
Yeah, the crash was due to an old version of tkinter (8.5.9) shipped with Mac... I use pyenv to manage python version installations (and I use anyenv to manage installation of pyenv, rbenv, etc.). I think pyenv just grabs the system installed tcl/tk framework which is pretty old. After rebuilding python against newer tcl-tk installed via homebrew, everything works as expected, and I see the SnapEDA image: Here are the steps I used to rebuild python:
|
Sweet, should work now 😃 |
The text was updated successfully, but these errors were encountered: