Skip to content
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

ext/pyrender/viewer: NSException when save image #91

Open
NekoAsakura opened this issue Dec 19, 2024 · 0 comments · May be fixed by #92
Open

ext/pyrender/viewer: NSException when save image #91

NekoAsakura opened this issue Dec 19, 2024 · 0 comments · May be fixed by #92

Comments

@NekoAsakura
Copy link

System Information

Genesis version: 0.2.0
Operating System / Platform: MacOS Sequoia 15.2
Python version: 3.10
Tk version: 8.6.14
Hint: check Tk version by python -c "from tkinter import Tk; print(Tk().eval('info patchlevel'))"

How to reproduce

python examples/render_on_macos.py -v

When Viewer created, press "s" to save image. Then program crashed with:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication macOSVersion]: unrecognized selector sent to instance 0x3661c4ab0'
...
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort      python examples/render_on_macos.py -v

Detailed description

Based on information from internet, it seems to be caused by Tkinter.
Few bugs were reported from Python 2.7 to 3.9, which should be fixed in Python 3.10 w/ Tk 8.6.11, according to this announcement. No similar bug reports have been noted for Tk 8.6.14.

Ref:
https://core.tcl-lang.org/tk/tktview/85f316beb15108ac43b03fa6c8608e31f3ae5f92
https://bugs.python.org/issue35209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant