75 Commits

Author SHA1 Message Date
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
Ian Paschal
e64fb9c762 Splash closed on early crash 2018-02-05 14:47:11 +01:00
Lipu Fei
b59eadce1c Fix AutoSave crashing the early crash dialog
CURA-4895
2018-02-05 11:28:16 +01:00
Lipu Fei
30b1e74881 Fixes for early crash dialog
CURA-4895
2018-02-05 11:26:38 +01:00
Lipu Fei
aefe24222f Add a CLI flag to test early crash
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
Anton Midyukov
3708c37b60 Activation workaround Linux+NVidia proprietary drivers for all distributions 2018-01-07 17:33:27 +07:00
Thomas Karl Pietrowski
b4aed1da22 Simplify getting known args 2017-12-09 22:27:15 +01:00
Thomas Karl Pietrowski
bcc31fb19b Tell early parser not to add help 2017-12-09 22:26:52 +01:00
Thomas Karl Pietrowski
904f7c53cc Code style 2017-12-09 16:00:34 +01:00
Thomas Karl Pietrowski
bae6f2cfb5 Typo 2017-12-09 12:43:41 +01:00
Thomas Karl Pietrowski
97196190d6 cura_app: Adding help text for debug 2017-12-09 12:04:53 +01:00
Thomas Karl Pietrowski
74be22e682 Adding the application name
Maybe it is possible to set this value later. Eg. in Uranium, so we can get the name from .getApplicationName().
2017-12-09 11:26:04 +01:00
Thomas Karl Pietrowski
63acaed0a5 Correcting if clause
We don't want logs, when debugging.
2017-12-09 02:52:51 +01:00
Thomas Karl Pietrowski
2614c8a623 Don't hook to CrashHandler, if we are debugging
Getting an early crash here. Hope that one helps.
2017-12-09 02:40:46 +01:00
Thomas Karl Pietrowski
ab6508657d Creating an argparser early and add a "debug" option
Makes sure we don't log anything at the moment, when debug is passed. Otherwise early errors are not displayed and passed to log files.
2017-12-09 02:13:31 +01:00
Thomas Karl Pietrowski
e5096f731c
cura_app: We store logs now at "Roaming" 2017-12-08 14:58:24 +01:00
Thomas Karl Pietrowski
6d190479ac
Getting logs earlier!
Have currently the issue here, that when running Cura as a COM service, that the Cura.exe is popping up for (feels like) 1s or less and crashes.
2017-12-08 14:56:09 +01:00
Lipu Fei
21fffcc099 Compare linux distro names in lower cases 2017-12-08 10:40:20 +01:00
Lipu Fei
39e301833e
Merge pull request #2903 from AndrewDonaldson/fedora-nvidia-test
Add Fedora to test for nvidia driver work around.
2017-12-08 10:36:35 +01:00
ChrisTerBeke
3c863fc388 Get default settings view to work as sidebar component 2017-12-04 16:28:35 +01:00
Andrew Donaldson
0d9f49413e Add Fedora to test for nvidia driver work around. 2017-12-04 21:16:30 +11:00
Diego Prado Gesto
e2edbd11b6 Changed Crash Report layout and new information included - CURA-4195 2017-10-09 11:50:30 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Lipu Fei
90240af80f Correct stdout and stderr redirect location on Mac 2017-09-05 07:54:20 +02:00
Lipu Fei
b70a89d0e1 Fix stdout and stderr redirecting file location 2017-09-04 14:08:03 +02:00
Arjen Hiemstra
fafb83c5c4 Enable the Python faulthandler
This will print a Python backtrace to stderr when SIGSEGV and similar
crashes happen. Hopefully it should help a bit when debugging those.
2017-05-24 15:47:40 +02:00
Arjen Hiemstra
1c620ac621 Always redirect stdout/stderr to file if application is frozen
This will make stdout/stderr also redirect to file if we are running a
build on OSX or Linux.
2017-05-24 15:47:40 +02:00
Thomas Karl Pietrowski
c75261a023 Removing multiple import
We only need to import UM.Platform once.
2017-03-18 09:57:09 +01:00
Simon Edwards
454a5969c2 Removed debug.
CURA-3418 Cura build on Win 64 fails due to $PYTHONPATH
2017-02-28 10:25:44 +01:00
Simon Edwards
f5f02ead88 Added some debug.
CURA-3418 Cura build on Win 64 fails due to $PYTHONPATH
2017-02-27 17:13:12 +01:00
Simon Edwards
8602d984a9 Stop $PYTHONPATH from messing up the search path for DLLs.
CURA-3418 Cura build on Win 64 fails due to $PYTHONPATH
2017-02-27 13:38:05 +01:00
Simon Edwards
92cee4a9d7 Merge branch 'master' into python_type_hinting 2017-02-13 16:31:31 +01:00
Simon Edwards
412e299f0c Cleaned up and bug fixed the command loop.
CURA-3335 Single instance Cura and model reloading
2017-02-07 13:33:37 +01:00
Simon Edwards
0e306df1bc Initial basic version of this feature.
CURA-3335
2017-02-02 15:59:09 +01:00
Simon Edwards
74e5798509 Lots of import fixes. Eliminated the import hacks such as those used inside UM/Settings/__init__.py.
CURA-2917
2016-12-12 16:05:35 +01:00
Simon Edwards
14afd9eab7 Heaps to changes to get the Cura code through the type checker (with minimal checking).
CURA-2917
2016-11-21 21:36:08 +01:00
Thomas Karl Pietrowski
31436cbdf5 Removing debug print in Nvidia fix 2016-08-07 08:49:51 +02:00
Thomas Karl Pietrowski
6b2935379f Adding "LinuxMint"
Moving the Nvidia fix just broke another PR here on GitHub. This is the original commit:
8b750cb27c
Thanks to @Nihlus

Why we are still listing all the distributions? - Still it isn't clear whether this problem is a "Debian"-specific bug or not.
2016-08-07 08:03:51 +02:00
Thomas Karl Pietrowski
35c520a787 Merge pull request #836 from Ultimaker/master-updates-for-Linux
Updating NVidia workaround
2016-08-07 07:59:34 +02:00
Jaime van Kessel
0e098e38eb More fixes for changed setting object location 2016-07-04 13:10:29 +02:00
Thomas Karl Pietrowski
7f5f22d472 Moving Nvidia workaround to cura_app.py
* also added "debian" into the list of distributions
2016-07-01 19:37:24 +02:00
Thomas Karl Pietrowski
536e0f489a Merge branch 'master' of https://github.com/Ultimaker/Cura into master-using-platform 2016-06-15 14:59:34 +02:00
Simon Edwards
175b5429b4 Refactor the profile and Cura specific import/export code, put the cura stuff in Cura itself.
Contributes to CURA-1667 Profile import/export
2016-06-14 11:44:38 +02:00
Thomas Karl Pietrowski
f11ef0c0c0 Using UM.Platform for Windows detection
The diff says everything.
2016-06-11 13:42:09 +02:00
Thomas Karl Pietrowski
0d8292df49 Using platform.system() for Windows detection
This is just cosmetics. It works the same as system.platform, but looks
better. Additionally "win32" might be misleading, as it sounds like we
are checking for Windows 32bit here.
2016-06-11 12:50:28 +02:00
Thomas Karl Pietrowski
b61b0a7ee2 Removing unneeded import of os' 2016-06-10 10:52:12 +02:00
Thomas-Karl Pietrowski
7d2b329e78 Just a stupid mistake
.reverse() does not return anything (None)
2016-04-21 20:23:07 +02:00