Python shell crashing in Wing 101
Hello everyone, I've been a casual Python editor now for 10+ years, but this past winter I had to factory reset my computer resulting in losing all my configuration settings.
I'm having an issue now trying to get the new version of Wing 8.3.0.4 (rev bd71a1fe9ed3) running on my macOS laptop (12.3.1), running Python 3.10.4
Originally I was trying to run my script but I was getting an error, so then I tried running some basic import
import pandas
import xlrd
import openpyxl
Which gives me the exact same error as what I was getting when running my script - the following error gets printed to the shell:
aborted (disconnected)
I also get the "Python has crashed, report the problem to Apple" dialog box
I am able to run my script without any issues through the macOS Terminal (using the command python3 filename.py), so it does not seem to be related to my Python installation but with the Wing IDE installation.
Comments
Could you please try each of the above imports one at a time, to see which one is crashing it? Once that's known, please let us know what version of that package you have and please also email your preferences file (from ~/.wingpro8/preferences) to us at support@wingware.com so we can try to replicate this here. Thanks for reporting this problem!
I have tried each independently and not one particularly is crashing it ... although I just tried a different order and it seems to have worked successfully
pandas/xlrd/openpyxl crashes it ... openpyxl/xlrd/pandas did not crash it
Interesting. We'll try to replicate this here. If you can provide the versions of the packages pandas, xlrd, and openpyxl that might be relevant. It could be a bug in specific versions, possibly something our debugger somehow brings out. Thanks!
so casual programmer here... how would I get the version numbers for the packages? 😳 :)
more than happy to get it - just need some guidance on how to collect
The standard is to have the version in the __version__ attribute of the top-level package. Not all do that but it looks like these three all do: pandas.__version__, xlrd.__version__, and openpyxl.__version__. Thanks!