mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-20 21:14:25 +08:00
Added some debug.
CURA-3418 Cura build on Win 64 fails due to $PYTHONPATH
This commit is contained in:
parent
8602d984a9
commit
f5f02ead88
@ -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…
x
Reference in New Issue
Block a user