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

Improve exception handling in tkinter app for better user experiance #17

Open
Agent-Hellboy opened this issue Jun 10, 2024 · 0 comments

Comments

@Agent-Hellboy
Copy link
Collaborator

Handle below exception

./RstEyeApp
^C^C
^C^X
^CException in Tkinter callback
Traceback (most recent call last):
  File "tkinter/__init__.py", line 1967, in __call__
  File "tkinter/__init__.py", line 861, in callit
  File "app.py", line 147, in show_image
  File "tkinter/__init__.py", line 1504, in mainloop
KeyboardInterrupt
^C^C^C
^C
^CTraceback (most recent call last):
  File "app.py", line 166, in <module>
  File "app.py", line 160, in start
  File "tkinter/__init__.py", line 1504, in mainloop
KeyboardInterrupt
[669410] Failed to execute script 'app' due to unhandled exception!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant