-
Notifications
You must be signed in to change notification settings - Fork 2
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
App crashes on FileChooser with pyobjus/type_enc.pxi IndexError: list index out of range #43
Comments
I've looked into this issue and it seems to be a bug with the file selection widget from Kivy on MacOS (see here). It seems it's been fixed but not released and I don't think they are planning on doing a release any time soon unfortunately. The FileChooser works fine on the Macs I have access to so I'm hoping I can figure out what the difference is. Otherwise there's other python UI frameworks that provide file selection functionality but I was running into issues with those before as mixing frameworks is generally not well supported. For now I will add an error popup so at least the app won't crash and the user can still type in the file path manually. |
I am happy with a temporary fix; that way, I can continue testing your software. For now, this is a showstopper also for my review, I'm afraid. |
Sounds good, I'll let you know when it's in place. |
The popup works for loading a file, but the problem persists on the "save" as well, so for now I cannot save .png / pdf pictures of the plots.... |
I've added a work around so that if the file browser doesn't work you can still save data/plots by manually entering the file name/path. Still working on getting the file browser to work on all platforms. |
Related to #21 and openjournals/joss-reviews#7185
On Mac M1 in conda/py-312/nccut46 environment hitting the FileChooser Dialog "Browse" results in an app crash.
Here's the log
The text was updated successfully, but these errors were encountered: