62 Commits

Author SHA1 Message Date
Jaime van Kessel
23057f786f
Add initial stubs for sentry logging 2019-11-22 12:59:05 +01:00
Lipu Fei
6b93c97a5e Use certifi for uploading crash reports
CURA-6698
2019-08-14 14:55:36 +02:00
Remco Burema
4813ff0bb7 Ask users to write English in crash-report. 2019-05-17 10:37:25 +02:00
Aleksei S
e8cf9e034d Catch All Exception except: SystemExit, KeyboardInterrupt, GeneratorException
CURA-5939
2018-12-06 13:41:50 +01:00
Ghostkeeper
fce703536b
Move factory reset to Uranium
This way it can be called from other crash handling routines there too, such as ConfigurationErrorMessage which may be triggered by arbitrary configuration errors in Uranium.

Contributes to issue CURA-5045.
2018-03-28 08:43:46 +02:00
Ghostkeeper
2214a5f40a
Remove duplicate imports
Contributes to issue CURA-5045.
2018-03-27 16:30:10 +02:00
Ghostkeeper
da0d7a25c3
Remove semicolon
What is this? Java???

Contributes to issue CURA-5045.
2018-03-27 16:02:43 +02:00
Mark
e2478b636a Typo 2018-03-22 09:49:22 +01:00
Mark
46e53ff0c3 Clarify text
CURA-4833
2018-03-21 10:26:23 +01:00
Ghostkeeper
5d2e98cdd4
Translate to American English
The spelling in AmE is with a Z.
2018-03-09 15:55:27 +01:00
Ghostkeeper
71afbba789
Merge branch '3.2' 2018-03-09 15:36:51 +01:00
fieldOfView
51062a4784 Add a button to open the configuration folder. 2018-02-19 15:30:39 +01:00
fieldOfView
ca3dd511a8 Add a button to open the configuration folder. 2018-02-15 16:39:37 +01:00
Mark
c508e77fe2 Improved the text 2018-02-15 15:49:06 +01:00
Jack Ha
8bb70d6cc2 CURA-4934 fix crash handler cleanup in some rare case 2018-02-08 14:19:47 +01:00
Lipu Fei
8ffd5442e7 Fix indexing error in CrashHandler
CURA-4895
2018-02-06 10:53:12 +01:00
Lipu Fei
4438e06416
Remove TODO
CURA-4895
2018-02-05 17:21:51 +01:00
Diego Prado Gesto
a85a720184 CURA-4895 Close the splash screen when the early crash dialog appears. Increase the size of 'show detailed crash report button' 2018-02-05 17:17:46 +01:00
Diego Prado Gesto
383319d631 CURA-4895 Correctly format the date for the backup file 2018-02-05 11:28:17 +01:00
Lipu Fei
b59eadce1c Fix AutoSave crashing the early crash dialog
CURA-4895
2018-02-05 11:28:16 +01:00
Lipu Fei
547baff239 Always show crash dialog
CURA-4895
2018-02-05 11:27:40 +01:00
Lipu Fei
30b1e74881 Fixes for early crash dialog
CURA-4895
2018-02-05 11:26:38 +01:00
Lipu Fei
6bbc18d51e Make an extra early crash dialog
CURA-4895

An early crash dialog showing options to backup the current user data
and reset the configuration files.
2018-02-05 11:26:37 +01:00
Lipu Fei
1d946085d3 Make crash dialog available before Application starts
CURA-4895
2018-02-05 11:26:34 +01:00
Lipu Fei
7dfc1a4aa7 Add encoding='utf-8' for text file reading
CURA-4875

When encoding is not provided, the behaviour is system dependent and it
can break on OS X.
2018-01-29 12:29:20 +01:00
fieldOfView
77daad1f98 Also exit when the crash handler dialog is not created 2017-12-18 12:19:56 +01:00
fieldOfView
d839b62e42 Prevent CrashHandler creating a QWidget before QApplication is created 2017-12-18 12:18:22 +01:00
Ghostkeeper
9ea0119011
Rename 'exception' to 'error'
Error is a less technical term, so it's more user friendly.
2017-12-13 12:58:24 +01:00
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