Lipu Fei
280ddea1ae
Do not redirect stdout and stderr for CLI
...
CURA-6549
2019-06-06 11:43:14 +02:00
Ghostkeeper
a4924d2695
Fix for weird home directories on Windows
...
The expanduser function will expand to a combination of HOMEDRIVE and HOMEPATH which might not be the same as APPDATA if your configuration is very weird (e.g. you've changed your APPDATA location).
Contributes to CURA-6418.
2019-03-26 12:04:46 +01:00
fieldOfView
9d02086585
Get app name from ApplicationMetaData
2019-01-18 12:22:07 +01:00
fieldOfView
056655e584
Merge branch 'master' into feature_curaversion_appname
...
# Conflicts:
# cura/CuraApplication.py
2019-01-18 12:12:36 +01:00
Aleksei S
84c85439ff
The trigger_early_crash did not trigger early crash for testing purposes
...
CURA-5939
2018-12-06 12:00:26 +01:00
fieldOfView
e66875865f
Make Cura app name configurable in CuraVersion
2018-11-13 16:08:29 +01:00
Ghostkeeper
e509078943
Fix bug with libSavitar not loading due to SIP
...
The same crash as libArcus actually.
2018-07-26 20:12:42 +02:00
Ghostkeeper
afd3ce205a
Use double quotes
...
As per our code style.
2018-07-05 20:19:40 +02:00
Ghostkeeper
2b83af2497
Move initialization into Uranium's run() function
...
This makes it possible to start a Uranium-based application without needing to know the magic incantation of starting the application.
2018-06-28 21:41:16 +02:00
Ghostkeeper
4b581d09e7
Merge branch '3.4'
2018-06-06 10:59:14 +02:00
Ghostkeeper
e152fd641b
Remove trailing slash in Windows configuration path
...
It shouldn't matter, but we're getting crash reports from this path so let's try this.
2018-06-06 09:57:44 +02:00
Diego Prado Gesto
42ecb12614
CURA-5164 Fix typo in the method signature
2018-05-08 11:16:00 +02:00
Lipu Fei
051dd7a6e9
WIP: Make application initialization and start up more clear
...
- Create SingleInstance class to handling single instance stuff.
- Instead of calling getInstance() everywhere, initialize each object
explicitly in order when application starts and getInstance()s do not
create instances any more and they merely return the created
instances.
- Only set initial values in construtor functions __init__(). Move the
initialization of context-aware (i.e. things that depend on other
things) to separate functions.
- Split application creation and initialziation into several steps and
them should be called explicitly in the correct order.
2018-05-04 09:57:02 +02:00
Lipu Fei
f836cdf3f4
Fix indent
...
CURA-5289
2018-05-02 10:18:52 +02:00
Jörg Walter
7f5fb5813b
make Linux+NVidia fix fail gracefully
2018-03-29 21:06:49 +02: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
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