Philipp Wolfer
9393da348c
PICARD-2869: Run register_excepthook early
...
Don't separately catch exceptions around main but rely on the new excepthook.
This prevents the crash dialog to be shown twice for exceptions which
are catched by the exception handler already.
2024-04-29 08:22:11 +02:00
Philipp Wolfer
ab99fafd2e
PyInstaller recommends checking both the frozen and _MEIPASS attributes
2023-06-11 02:04:55 +02:00
Philipp Wolfer
fb37df7ef8
PICARD-2291: Fix DLL search path in Windows portable install
...
Move setting the PATH to include the package folder earlier in the PyInstaller hooks.
2021-10-17 11:52:14 +02:00
Philipp Wolfer
c960089b80
PICARD-1718: Moved crash handler code into central function
...
Avoid code duplication, by still having a rather minimal dependency of internal code.
2021-05-04 16:12:50 +02:00
Philipp Wolfer
0c5d908a4c
PICARD-1718: Show more details in crash dialog
...
Also set stack trace into the detailedText. Nicer display and ensures eventual HTML inside this string does not get rendered.
2021-05-04 16:12:49 +02:00
Philipp Wolfer
70e6dfd233
PICARD-1718: Use NamedTemporaryFile for creating log file
2021-05-04 16:12:49 +02:00
Philipp Wolfer
b9a7219ecd
PICARD-1718: Do not print logfile location if writing log failed
2021-05-04 16:12:49 +02:00
Philipp Wolfer
29fdacc8ca
PICARD-1718: Try to log and show exception details on crash
...
If Picard crashes try to log the traceback to a file and show a dialog to the user before exiting.
2021-05-04 16:12:48 +02:00
Philipp Wolfer
ce41927f00
PICARD-1675: Disable autoupdate works for pyinstaller and local builds
...
Generate tagger.py from tagger.py.in
2019-11-21 19:16:18 +01:00