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
Allow opening the Bugtracker from Unhandled exception Window #8161
Comments
JakobDev
added
feature
Feature request
triage
Please triage and relabel this issue
labels
Dec 12, 2023
That unhandled exception window is more just a placeholder for your own exception handling. For a production application, we'd rather that you do it yourself. Something along the lines of: try:
# your main code here
except:
import traceback
error = traceback.format_exc()
# Display this error message in a popup dialog with whatever formatting,
# hyperlinks or additional suggestions you like |
There might be a case where you can't do that e.g. problems with importing the GUI Framework, so allow adding a Link to the exception Window would be much better. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
When a Python script in windowed mode has a unhandled exception, a Window with that exception will open.
This is a great feature to show this Windows instead of silencing crashing. But there's one problem: The User don't maybe don't know how to report the crash.
Describe the solution you'd like
Add a new argument to PyInstaller e.g.
windowed-traceback-bug-url
. If this is set, a new Button calledReport Bug
will appear on the left side of the Window. If the User clicks this, the Browser will open the given URL, so the User can report the crash in the Bugtracker.Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: