Open TheAdminFrmoHell opened 3 years ago
The error traceback:
Traceback (most recent call last): File "/Users/ultimaker/build/4.8/build/inst/lib/python3.5/site-packages/cura/Settings/MachineManager.py", line 405, in addMachine File "/Users/ultimaker/build/4.8/build/inst/lib/python3.5/site-packages/cura/Settings/CuraStackBuilder.py", line 62, in createMachine TypeError: 'NoneType' object is not iterable
Which is this line:
https://github.com/Ultimaker/Cura/blob/master/cura/Settings/CuraStackBuilder.py#L62
# Create ExtruderStacks
extruder_dict = machine_definition.getMetaDataEntry("machine_extruder_trains")
for position in extruder_dict:
try:
cls.createExtruderStackWithDefaultSetup(new_global_stack, position)
except IndexError as e:
Logger.logException("e", "Failed to create an extruder stack for position {pos}: {err}".format(pos = position, err = str(e)))
return None
I'm not sure why it doesn't find machine_extruder_trains, since it does seem to be defined in the definitions file.
2020-12-22 08:55:26,408 - INFO - [MainThread] cura.Settings.MachineManager.addMachine [397]: Trying to add a machine with the definition id [flashforgeadventurer3] 2020-12-22 08:55:26,612 - DEBUG - [MainThread] cura.Machines.ContainerTree.getitem [120]: Adding container tree for flashforgeadventurer3 took 0.1991260051727295 seconds. 2020-12-22 08:55:26,665 - CRITICAL - [MainThread] cura.CrashHandler.init [66]: An uncaught error has occurred! 2020-12-22 08:55:26,668 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: Traceback (most recent call last): 2020-12-22 08:55:26,670 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: File "/Users/ultimaker/build/4.8/build/inst/lib/python3.5/site-packages/cura/Settings/MachineManager.py", line 405, in addMachine 2020-12-22 08:55:26,673 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: File "/Users/ultimaker/build/4.8/build/inst/lib/python3.5/site-packages/cura/Settings/CuraStackBuilder.py", line 62, in createMachine 2020-12-22 08:55:26,675 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: TypeError: 'NoneType' object is not iterable
I verified the exact same resource files work in 4.7.1.
Crash dump from Cura 4.8 hope it has any useful info
Error Trackback Traceback (most recent call last): File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\cura\Settings\MachineManager.py", line 405, in addMachine File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\cura\Settings\CuraStackBuilder.py", line 62, in createMachine TypeError: 'NoneType' object is not iterable
Crash dump/logs? Thread 0x00005360 (most recent call first): File "threading.py", line 297 in wait File "zeroconf__init.py", line 2117 in wait File "zeroconf\init__.py", line 1434 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x000057a8 (most recent call first): File "threading.py", line 297 in wait File "threading.py", line 549 in wait File "C:\Program Files\Ultimaker Cura 4.8.0\plugins\UM3NetworkPrinting\src\Network\ZeroConfClient.py", line 81 in _handleOnServiceChangedRequests File "threading.py", line 862 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x000057a0 (most recent call first): File "threading.py", line 297 in wait File "zeroconf__init.py", line 2117 in wait File "zeroconf\init__.py", line 1262 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x000043e0 (most recent call first): File "zeroconf__init__.py", line 1183 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x000020ec (most recent call first): File "C:\Program Files\Ultimaker Cura 4.8.0\plugins\RemovableDriveOutputDevice\RemovableDrivePlugin.py", line 61 in _updateThread File "threading.py", line 862 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00004998 (most recent call first): File "C:\Program Files\Ultimaker Cura 4.8.0\plugins\USBPrinting\USBPrinterOutputDeviceManager.py", line 87 in _updateThread File "threading.py", line 862 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x000019fc (most recent call first): File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\Backend\Backend.py", line 165 in _storeStderrToLogThread File "threading.py", line 862 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00004ff4 (most recent call first): File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\Backend\Backend.py", line 153 in _storeOutputToLogThread File "threading.py", line 862 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00005788 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00004ba4 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00002d58 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00002554 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00002ecc (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x000044bc (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00000860 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00001b10 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00003508 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00001610 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00001c78 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00004ca4 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00002384 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x0000262c (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x00005370 (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Thread 0x0000070c (most recent call first): File "threading.py", line 293 in wait File "threading.py", line 424 in acquire File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 98 in _nextJob File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 123 in run File "threading.py", line 914 in _bootstrap_inner File "threading.py", line 882 in _bootstrap
Current thread 0x000024a4 (most recent call first): File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 396 in _logInfoWidget File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 182 in _createDialog File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 86 in init File "X:\4.8-exe\build\inst\bin\curaapp.py", line 167 in exceptHook File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\UM\Qt\QtApplication.py", line 378 in exec File "X:\4.8-exe\build\inst\lib\python3.5\site-packages\cura\CuraApplication.py", line 847 in run File "X:\4.8-exe\build\inst\bin\cura_app.py", line 235 in
File "Console.py", line 24 in
File "", line 634 in _load_backward_compatible
File "", line 664 in _load_unlocked
File "", line 957 in _find_and_load_unlocked
File "", line 968 in _find_and_load
File "startup.py", line 12 in
File "", line 634 in _load_backward_compatible
File "", line 664 in _load_unlocked
File "", line 957 in _find_and_load_unlocked
File "", line 968 in _find_and_load