mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Added some debug.
CURA-3418 Cura build on Win 64 fails due to $PYTHONPATH
This commit is contained in:
parent
8602d984a9
commit
f5f02ead88
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ if Platform.isWindows() and hasattr(sys, "frozen"):
|
||||||
sys.stdout = open(os.path.join(dirpath, "stdout.log"), "w")
|
sys.stdout = open(os.path.join(dirpath, "stdout.log"), "w")
|
||||||
sys.stderr = open(os.path.join(dirpath, "stderr.log"), "w")
|
sys.stderr = open(os.path.join(dirpath, "stderr.log"), "w")
|
||||||
|
|
||||||
|
if Platform.isWindows():
|
||||||
|
print("sys.path: " + repr(sys.path))
|
||||||
|
print("has sys.frozen: " + str(hasattr(sys, "frozen")))
|
||||||
|
|
||||||
# Force an instance of CuraContainerRegistry to be created and reused later.
|
# Force an instance of CuraContainerRegistry to be created and reused later.
|
||||||
cura.Settings.CuraContainerRegistry.CuraContainerRegistry.getInstance()
|
cura.Settings.CuraContainerRegistry.CuraContainerRegistry.getInstance()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue