ChrisTerBeke
e6e8353ea8
Merge pull request #2838 from fieldOfView/fix_crashhandler_crash
...
Fix error when CrashHandler is opened before opengl is initialised
2017-11-27 17:18:38 +01:00
fieldOfView
77d134a3b7
Fix python error when CrashHandler is opened before opengl is initialised
...
Contributes to #2837
2017-11-24 16:55:18 +01:00
Ghostkeeper
4a8dacbe06
Make crash handler easier to translate
...
All that formatting doesn't need to be translated along. It's only confusing, especially because of those variable names. They always need to be in that position anyway.
Contributes to issue CURA-4601.
2017-11-24 13:16:14 +01:00
Aleksei S
6cea9c59e8
Prevent crash handler exception
2017-11-24 11:59:09 +01:00
Diego Prado Gesto
b9c318d432
CURA-4451 Minor changes
2017-10-26 16:53:31 +02:00
ChrisTerBeke
560be2931a
Create empty not supported container dynamically when no qualities are found - CURA-4451
2017-10-23 15:41:45 +02:00
Lipu Fei
44d5323779
Run crash dialog on Qt thread so the GUI gets updated correctly
...
CURA-4195
2017-10-17 09:38:43 +02:00
Lipu Fei
396d960f4a
Fix code style
...
CURA-4195
2017-10-17 09:30:49 +02:00
A.Sasin
b32f3f9f77
Adjusted Crash report message title
...
CURA-4195
2017-10-16 13:42:29 +02:00
Diego Prado Gesto
74c37dfc65
CURA-4195 Add strings for I18N
2017-10-13 16:32:01 +02:00
Diego Prado Gesto
de260683cf
CURA-4195 - Add module name to the crash report
2017-10-13 10:43:58 +02:00
Diego Prado Gesto
72ff384c48
Parsing traceback to get more information about the crash - CURA-4195
2017-10-10 14:35:44 +02:00
Diego Prado Gesto
cf1f0ffaf1
Adding info to be sent as JSON and send when button is pressed - CURA-4195
2017-10-09 16:05:37 +02:00
Diego Prado Gesto
e2edbd11b6
Changed Crash Report layout and new information included - CURA-4195
2017-10-09 11:50:30 +02:00
Lipu Fei
430508c185
Dump stacktrace for all threads in CrashReport
...
CURA-3836
This helps debugging issues like CURA-3836
2017-05-19 15:00:22 +02:00
Lipu Fei
f06562bc6e
Remove kitten image and related text from CrashDialog
2017-05-04 14:33:19 +02:00
Simon Edwards
1b43e4981e
Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.)
2017-01-17 16:57:37 +01:00
Arjen Hiemstra
2e894477c8
Make Debug mode a build-time option instead of a hardcoded value
2016-12-15 16:46:13 +01:00
Arjen Hiemstra
a2f98638cf
Fix the crash handler string so we get no errors from gettext
...
Contributes to CURA-3123
2016-12-12 16:02:12 +01:00
Arjen Hiemstra
75fc2505e3
Make the crash dialog a bit more friendly
2016-12-08 16:15:17 +01:00
Arjen Hiemstra
1de8024193
Re-enable Debug mode by default
...
As discussed a while ago, we want to re-enable the crash dialog whenever
an uncaught exception occurs.
2016-12-08 16:15:17 +01:00
Arjen Hiemstra
d641234a74
Remove "debug mode" command line parameter
...
We never used it and it doesn't really work anyway.
2016-12-08 16:15:17 +01:00
Arjen Hiemstra
a4e37d9ae7
Mark certain types of exceptions as fatal and abort the application if they occur
...
We simply cannot recover properly from things like an uncaught
MemoryError since that usually means any follow up operation will also
fail. So Instead of silently ignoring it and having the application in a
broken state we properly abort.
Right now the list of fatal exceptions is a bare minimum that contains
the most prominent things we cannot recover from.
2016-06-10 15:08:16 +02:00
Arjen Hiemstra
44f8744c84
Use the Logger to report uncaught exceptions
...
Makes for a nicer and clearer output of uncaught exceptions
2016-06-10 14:56:08 +02:00
Arjen Hiemstra
a435004459
Fix crash handler to not complain about debug_mode not being set
2015-10-08 11:54:22 +02:00
Arjen Hiemstra
ba86352642
Fix issues with crash handler and log file creation on Windows
2015-10-05 18:32:44 +02:00
Arjen Hiemstra
03748ca19a
Disable crash handler if debug mode is not enabled
2015-10-05 14:13:49 +02:00
Arjen Hiemstra
2ea0a3c02a
Fix strings in crash handler
...
Contributes to CURA-132
2015-09-10 16:54:20 +02:00
Tamara Hogenhout
ff855ccf1b
adds/adapts translation context markers
...
all nescessary in folder: Cura/cura
Contributes to: issue CURA-116
2015-09-08 13:34:35 +02:00
Tamara Hogenhout
e8c796ee24
adds/adapts translation context markers
...
all nescessary in folder: Cura/cura
Contributes to: issue CURA-116
2015-09-08 12:29:05 +02:00
Arjen Hiemstra
79bd590656
Print backtrace on console when we are not running a py2exe/py2app build
2015-08-19 19:13:44 +02:00
Arjen Hiemstra
543c58d57a
Use sys.exit() instead of exit()
...
Apparently there is a difference...
2015-08-04 15:38:19 +02:00
Arjen Hiemstra
803b4fde8d
Handle all uncaught exceptions through CrashHandler and gracefully fail if we have no QCoreApplication
2015-08-04 10:31:25 +02:00
Arjen Hiemstra
8130bae4c0
Add a crash handler to catch uncaught exceptions
...
This should catch any uncaught exceptions and avoid the Py2Exe message
about Cura.log
Fixes #133
2015-07-13 16:54:40 +02:00