Page MenuHomeAleph Objects Inc

Remove all crashes and unknown exception for initial Cura run
Closed, ResolvedPublic

Description

We are currently unable to generate and select a profile.

Load TAZ 6 v3 dual extruder -> Select polylite PLA for extruder 1 -> Change the temp to something different -> Create profile from current settings overrids -> Name arbitrarily -> Attempt to select profile from quality drop down settings.

The profile will not be there, and when select normal you cannot go back to your create profile.

Make sure that the logs look clean for the first run of Cura. With these dirs removed (for Linux)

rm -Rf .config/cura-lulzbot .cache/cura-lulzbot .local/share/cura-lulzbot

Related Objects

Mentioned In
rCT7a759a92f0a7: T1273: Another fix for correct handling of control undefined case.
Dev-release
rCTf9e12e1b9ea4: T1273: fixed QML TextInputWithHandles: Binding loop detected for property…
rCTc05f9b184bc9: T1273: fix for QML Rectangle: Binding loop detected for property "width".
rCTb9ac8890d564: T1273: Fixed logic for control check.
rCT38b34dbf4b45: T1273: Check for "control" not be null, otherwise this error is printed: - UM.
rCT2620208be135: T2066, T1273: now quality changes are selectable
T2066: Create Profile from Current Settings/Overrides
T2050: CuraLE 3.2.8 crashing when pre-heating 2nd extruder
rCTe99c640d966f: T1273: Fixed crash when adding new material
rCT0cb9628fb936: T1273: fixed crash while trying to set value to second extruder while printer…
rCTed16ee66af5d: Revert "T1273: Fixed crashes in QualityManager."
rCT772910e886b3: T1273: fixed bad material errors
rCT203c824a4428: T1273: fixed missing theme properties
rCT414434810a95: T1273: Changed "Hotend" to "Extruder" for extruder name in PrintMonitor QML
rCTdee236872d8b: T1273: Fixed crashes in QualityManager.
rCTb7e243511c12: T1273: Forgot to add import for logger.
rCT171ad09af2e9: T1273: Fixed crash in bad material in results of _fetchInstanceContainers().
T1734: Machine Settings in v3.1
rCT94ba04097c30: T1273: Fixed crash in SolidView plugin.
rCT3baf89c385fa: T1273: Fixed crash when currentPrintTime is not available (when there is no…
rCT33fdc5e8333f: T1273: Avoid binding loop in width property.
rCT42d5a18f0e1b: T1273: Removed wrong '}' char in MachineSettingsAction.qml
T1152: Sync with upstream v3.2
rCTc2f448cfe10e: T1273: Fixed determineAutoslicing() crash and disableTimer crash.
rCTcd25161f08a3: T1273: Fixed unhandled exception on first launch
rCTc2bd3a970fd6: T1273: fixed first launch crash
rCT1fe2f4d84b73: T1273: fixed quality name and discard button
rCTa4aa271ce890: T1273: fixed profile saving
T1270: Profiles lost after update
Mentioned Here
T2005: Pre-heat Crash

Event Timeline

karrad created this task.Nov 7 2017, 2:45 PM

@karrad, In which version it was broken?

karrad added a comment.Nov 8 2017, 7:58 AM

@victor_larchenko 2.6.45 it was noticed immediately.

I had a version of 2.6.44 that may have had the same issue. I was unable to select the profile and export it, but this was after my system was upgraded to 2.6.45. I am not sure if the update had any changes to the file paths, which may have caused the issue in 2.6.44. (I had not tried to export in 2.6.44)

victor_larchenko closed this task as Resolved.Nov 9 2017, 2:45 AM

@karrad, The bug was in profile saving, it should be fixed. But you need to manually correct quality settings in old profiles or clear cache and made it again.

karrad reopened this task as Open.Nov 13 2017, 1:29 PM
karrad raised the priority of this task from High to Unbreak Now!.

@victor_larchenko We were able to clear the cache on the profiles, but it appears to be broken for the v3 dual extruder only:

This does not appear to be an issue with the TAZ 6 single extruder, profiles can be created and exported w/o issue.

@karrad, Pease test, because I cant replicate the same issue, but I tried to fix possible reasons of it. Clear cache first.

karrad added a subscriber: alexei.Nov 14 2017, 7:57 AM

@victor_larchenko We were able to duplicate it, and fix it (kind of?) When first launching a new install of Cura with a clear cache, i needed to first select a Ultimaker 3 printer. I than restarted cura, selected a v3 TAZ 6 dual extruder and was able to export profiles as expected. @alexei is saying that the initial crash is what is causing profile corruption.

terminal log:

@karrad, there is no crashes in this log. Also I performed a clean install of cura on vm and there is no such bug.

@victor_larchenko : Initially when you run cura-lulzbot with

.local/share/cura-lulzbot
.config/cura-lulzbot
.cache/cura-lulzbot

cleared you get the following crash before addition of the printer

2017-11-15 05:51:26,440 - WARNING - cura.Settings.ContainerManager.getContainerMetaDataEntry [184]: Could not get metadata of container  because it was not found.
2017-11-15 05:51:26,526 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-15 05:51:26,527 - CRITICAL - cura.CrashHandler.show [42]: TypeError: unable to convert a Python 'NoneType' object to a C++ 'bool' instance
2017-11-15 05:51:26,529 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-15 05:51:26,531 - CRITICAL - cura.CrashHandler.show [42]: Traceback (most recent call last):
2017-11-15 05:51:26,531 - CRITICAL - cura.CrashHandler.show [42]:   File "/home/buildbot/slave/Cura2-debian-jessie-64/build/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 815, in currentToolheadHasInfo
2017-11-15 05:51:26,532 - CRITICAL - cura.CrashHandler.show [42]: AttributeError: 'NoneType' object has no attribute 'getBottom'
2017-11-15 05:51:26,534 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-15 05:51:26,535 - CRITICAL - cura.CrashHandler.show [42]: Traceback (most recent call last):
2017-11-15 05:51:26,536 - CRITICAL - cura.CrashHandler.show [42]:   File "/home/buildbot/slave/Cura2-debian-jessie-64/build/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 802, in currentPrinterHasInfo
2017-11-15 05:51:26,537 - CRITICAL - cura.CrashHandler.show [42]: AttributeError: 'NoneType' object has no attribute 'getBottom'

And then when you adding one of the Lulzbot printers the following crash happens:

2017-11-15 05:54:37,325 - WARNING - cura.Settings.ContainerManager.getContainerMetaDataEntry [184]: Could not get metadata of container  because it was not found.
2017-11-15 05:54:37,330 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-15 05:54:37,331 - CRITICAL - cura.CrashHandler.show [42]: TypeError: unable to convert a Python 'NoneType' object to a C++ 'bool' instance
2017-11-15 05:54:37,332 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-15 05:54:37,333 - CRITICAL - cura.CrashHandler.show [42]: Traceback (most recent call last):
2017-11-15 05:54:37,334 - CRITICAL - cura.CrashHandler.show [42]:   File "/home/buildbot/slave/Cura2-debian-jessie-64/build/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 815, in currentToolheadHasInfo
2017-11-15 05:54:37,335 - CRITICAL - cura.CrashHandler.show [42]: AttributeError: 'NoneType' object has no attribute 'getBottom'
2017-11-15 05:54:37,336 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-15 05:54:37,337 - CRITICAL - cura.CrashHandler.show [42]: Traceback (most recent call last):
2017-11-15 05:54:37,338 - CRITICAL - cura.CrashHandler.show [42]:   File "/home/buildbot/slave/Cura2-debian-jessie-64/build/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 802, in currentPrinterHasInfo
2017-11-15 05:54:37,339 - CRITICAL - cura.CrashHandler.show [42]: AttributeError: 'NoneType' object has no attribute 'getBottom'

This is what we think is causing current profiles for the printer that you first add to be corrupted.

@victor_larchenko: On the second run of the cura (when you have a printer defined) addition of any printer doesn't produce the crash.

@alexei, Added a check for none. Please, test.

@victor_larchenko : We still have uncaught exception (but not a crash) on a fresh start:

2017-11-16 07:08:17,990 - DEBUG - UM.Qt.Bindings.Theme.load [189]: Loaded theme /usr/share/cura-lulzbot/resources/themes/lulzbot
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
2017-11-16 07:08:18,334 - WARNING - cura.Settings.ContainerManager.getContainerMetaDataEntry [184]: Could not get metadata of container  because it was not found.
2017-11-16 07:08:18,415 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-16 07:08:18,416 - CRITICAL - cura.CrashHandler.show [42]: TypeError: unable to convert a Python 'NoneType' object to a C++ 'bool' instance
qml: TableViewSelection: index out of range
qml: TableViewSelection: index out of range
2017-11-16 07:08:18,856 - DEBUG - OctoPrintPlugin.DiscoverOctoPrintAction._createAdditionalComponentsView [142]: Creating additional ui components for OctoPrint-connected printers.

And then after adding printer another one:

2017-11-16 07:09:01,091 - WARNING - cura.Settings.ContainerManager.getContainerMetaDataEntry [184]: Could not get metadata of container  because it was not found.
2017-11-16 07:09:01,096 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-11-16 07:09:01,097 - CRITICAL - cura.CrashHandler.show [42]: TypeError: unable to convert a Python 'NoneType' object to a C++ 'bool' instance

These will be hard to figure out though...

I don't see it on the second launch of cura-lulzbot

alexei renamed this task from v3 Dual Extruder Profiles to Remove all crashes and unknown exception for initial Cura run.Nov 16 2017, 8:03 AM
alexei updated the task description. (Show Details)
alexei changed the edit policy from "Custom Policy" to "Cura LulzBot Edition (Project)".
alexei added subscribers: Steven, victor_larchenko, efilenko and 2 others.

@alexei, uncaught exception fixed

running 2.6.48 on stretch, i was able to change profiles and export without adding a second machine instance and restarting. I have attached the output from console for review:

@alexei Not sure if you would like to review this before closing

karrad closed this task as Resolved.Nov 17 2017, 12:57 PM
alexei reopened this task as Open.
alexei lowered the priority of this task from Unbreak Now! to High.

@victor_larchenko ,
So far the following crashes are happening:

file:///usr/share/cura-lulzbot/resources/qml/SidebarSimple.qml:837:9: QML ComboBox: Cannot anchor to an item that isn't a parent or sibling.
QObject::connect: Parentheses expected, signal MainWindow::
file:///usr/share/cura-lulzbot/resources/themes/lulzbot/styles.qml:266:17: QML Item: Binding loop detected for property "width"
file:///usr/share/cura-lulzbot/resources/qml/SidebarSimple.qml:843: ReferenceError: adhesionHelperLabel is not defined
file:///usr/share/cura-lulzbot/resources/qml/Topbar.qml:274: TypeError: Property 'showTooltip' of object Topbar_QMLTYPE_196(0x241663a0) is not a function
file:///usr/share/cura-lulzbot/resources/qml/Topbar.qml:276: TypeError: Property 'hideTooltip' of object Topbar_QMLTYPE_196(0x241663a0) is not a function
file:///usr/share/cura-lulzbot/resources/qml/Topbar.qml:249: TypeError: Property 'showTooltip' of object Topbar_QMLTYPE_196(0x241663a0) is not a function
file:///usr/share/cura-lulzbot/resources/qml/Topbar.qml:251: TypeError: Property 'hideTooltip' of object Topbar_QMLTYPE_196(0x241663a0) is not a function

The last one is when hovering over the printer/toolhead/filament info

@victor_larchenko

python crash:

2018-01-19 15:04:21,358 - WARNING - UM.OutputDevice.OutputDeviceManager.removeOutputDevice [126]: Could not find output device with id Autodetect to remove
2018-01-19 15:04:21,381 - ERROR - UM.Logger.logException [76]: Exception: Unable to find the required plugin.json file for plugin MultiExtrusionSettingsAction
2018-01-19 15:04:21,382 - ERROR - UM.Logger.logException [80]: Traceback (most recent call last):
2018-01-19 15:04:21,384 - ERROR - UM.Logger.logException [80]:   File "/home/buildbot/slave/CuraLEDevel-debian-jessie-64/build/build/inst/lib/python3/dist-packages/UM/PluginRegistry.py", line 435, in _populateMetaData
2018-01-19 15:04:21,385 - ERROR - UM.Logger.logException [80]: FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/cura-lulzbot/plugins/plugins/MultiExtrusionSettingsAction/plugin.json'
2018-01-19 15:04:21,386 - ERROR - UM.Qt.Bindings.PluginsModel._update [40]: Plugin is missing a plugin metadata entry

@alexei, which exceptions are still exist?

@victor_larchenko I had T2005 pop up today:

2018-02-23 10:06:23,716 - DEBUG - [(140067187852544)-MainThread] USBPrinting.USBPrinterOutputDevice._setTargetHotendTemperature [92]: Setting hotend 1 temperature to 210
2018-02-23 10:06:23,719 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [61]: An uncaught error has occurred!
2018-02-23 10:06:23,721 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: Traceback (most recent call last):
2018-02-23 10:06:23,722 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: File "/home/buildbot/slave/CuraLEDevel-debian-stretch-64/build/build/inst/lib/python3/dist-packages/cura/PrinterOutputDevice.py", line 498, in preheatHotend
2018-02-23 10:06:23,723 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: File "/home/buildbot/slave/CuraLEDevel-debian-stretch-64/build/build/inst/lib/python3/dist-packages/cura/PrinterOutputDevice.py", line 454, in setTargetHotendTemperature
2018-02-23 10:06:23,725 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: File "/home/buildbot/slave/CuraLEDevel-debian-stretch-64/build/build/inst/lib/python3/dist-packages/cura/PrinterOutputDevice.py", line 442, in _emitTargetHotendTemperatureChanged
2018-02-23 10:06:23,726 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: IndexError: list index out of range
aleph@spoonbill:~$

Full Log:

To duplicate:
1.) Start Cura
2.) Select/add a TAZ 6 v3 dual extruder
3.) Switch to monitor tab and select pre-heat hot end 2

Got a crash today while attempting to create a custom material, 3.2.8 Debian

To reproduce:

1.) Launch Cura LE
2.) Settings -> Materials -> Manage Materials
3.) Click "Create"

2018-02-26 12:04:00,717 - WARNING - [(140220569490880)-MainThread] UM.PluginRegistry._populateMetaData [414]: Could not find plugin extruder_stack
2018-02-26 12:04:00,718 - WARNING - [(140220569490880)-MainThread] UM.PluginRegistry._populateMetaData [414]: Could not find plugin global_stack
2018-02-26 12:04:02,604 - DEBUG - [(140220569490880)-MainThread] UM.Settings.InstanceContainer.getConfigurationTypeFromSerialized [464]: Could not get configuration type: File contains no section headers.
file: '<string>', line: 1
"<?xml version='1.0' encoding='utf-8'?>\n"
2018-02-26 12:04:02,604 - DEBUG - [(140220569490880)-MainThread] UM.Settings.InstanceContainer.getConfigurationTypeFromSerialized [464]: Could not get configuration type: File contains no section headers.
file: '<string>', line: 1
"<?xml version='1.0' encoding='utf-8'?>\n"
2018-02-26 12:04:02,606 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [61]: An uncaught error has occurred!
2018-02-26 12:04:02,607 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: Traceback (most recent call last):
2018-02-26 12:04:02,608 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/cura/Settings/ContainerManager.py", line 904, in createMaterial
2018-02-26 12:04:02,609 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     new_material.deserialize(base)
2018-02-26 12:04:02,609 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/UM/Settings/InstanceContainer.py", line 487, in deserialize
2018-02-26 12:04:02,610 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     parser = self._readAndValidateSerialized(serialized)
2018-02-26 12:04:02,610 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/UM/Settings/InstanceContainer.py", line 440, in _readAndValidateSerialized
2018-02-26 12:04:02,611 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     parser.read_string(serialized)
2018-02-26 12:04:02,612 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3.5/configparser.py", line 720, in read_string
2018-02-26 12:04:02,612 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     self.read_file(sfile, source)
2018-02-26 12:04:02,613 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3.5/configparser.py", line 715, in read_file
2018-02-26 12:04:02,614 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     self._read(f, source)
2018-02-26 12:04:02,614 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3.5/configparser.py", line 1077, in _read
2018-02-26 12:04:02,615 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     raise MissingSectionHeaderError(fpname, lineno, line)
2018-02-26 12:04:02,616 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: configparser.MissingSectionHeaderError: File contains no section headers.
2018-02-26 12:04:02,616 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: file: '<string>', line: 1
2018-02-26 12:04:02,617 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: "<?xml version='1.0' encoding='utf-8'?>\n"
aleph@spoonbill:~/Projects/cura-lulzbot/Cura2build-master/build/dist$

In T1273#34169, @karrad wrote:

@victor_larchenko I had T2005 pop up today:

2018-02-23 10:06:23,716 - DEBUG - [(140067187852544)-MainThread] USBPrinting.USBPrinterOutputDevice._setTargetHotendTemperature [92]: Setting hotend 1 temperature to 210
2018-02-23 10:06:23,719 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [61]: An uncaught error has occurred!
2018-02-23 10:06:23,721 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: Traceback (most recent call last):
2018-02-23 10:06:23,722 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: File "/home/buildbot/slave/CuraLEDevel-debian-stretch-64/build/build/inst/lib/python3/dist-packages/cura/PrinterOutputDevice.py", line 498, in preheatHotend
2018-02-23 10:06:23,723 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: File "/home/buildbot/slave/CuraLEDevel-debian-stretch-64/build/build/inst/lib/python3/dist-packages/cura/PrinterOutputDevice.py", line 454, in setTargetHotendTemperature
2018-02-23 10:06:23,725 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: File "/home/buildbot/slave/CuraLEDevel-debian-stretch-64/build/build/inst/lib/python3/dist-packages/cura/PrinterOutputDevice.py", line 442, in _emitTargetHotendTemperatureChanged
2018-02-23 10:06:23,726 - CRITICAL - [(140067187852544)-MainThread] cura.CrashHandler.init [64]: IndexError: list index out of range
aleph@spoonbill:~$

Full Log:

To duplicate:
1.) Start Cura
2.) Select/add a TAZ 6 v3 dual extruder
3.) Switch to monitor tab and select pre-heat hot end 2

fixed

In T1273#34303, @karrad wrote:

Got a crash today while attempting to create a custom material, 3.2.8 Debian

To reproduce:

1.) Launch Cura LE
2.) Settings -> Materials -> Manage Materials
3.) Click "Create"

2018-02-26 12:04:00,717 - WARNING - [(140220569490880)-MainThread] UM.PluginRegistry._populateMetaData [414]: Could not find plugin extruder_stack
2018-02-26 12:04:00,718 - WARNING - [(140220569490880)-MainThread] UM.PluginRegistry._populateMetaData [414]: Could not find plugin global_stack
2018-02-26 12:04:02,604 - DEBUG - [(140220569490880)-MainThread] UM.Settings.InstanceContainer.getConfigurationTypeFromSerialized [464]: Could not get configuration type: File contains no section headers.
file: '<string>', line: 1
"<?xml version='1.0' encoding='utf-8'?>\n"
2018-02-26 12:04:02,604 - DEBUG - [(140220569490880)-MainThread] UM.Settings.InstanceContainer.getConfigurationTypeFromSerialized [464]: Could not get configuration type: File contains no section headers.
file: '<string>', line: 1
"<?xml version='1.0' encoding='utf-8'?>\n"
2018-02-26 12:04:02,606 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [61]: An uncaught error has occurred!
2018-02-26 12:04:02,607 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: Traceback (most recent call last):
2018-02-26 12:04:02,608 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/cura/Settings/ContainerManager.py", line 904, in createMaterial
2018-02-26 12:04:02,609 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     new_material.deserialize(base)
2018-02-26 12:04:02,609 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/UM/Settings/InstanceContainer.py", line 487, in deserialize
2018-02-26 12:04:02,610 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     parser = self._readAndValidateSerialized(serialized)
2018-02-26 12:04:02,610 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/UM/Settings/InstanceContainer.py", line 440, in _readAndValidateSerialized
2018-02-26 12:04:02,611 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     parser.read_string(serialized)
2018-02-26 12:04:02,612 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3.5/configparser.py", line 720, in read_string
2018-02-26 12:04:02,612 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     self.read_file(sfile, source)
2018-02-26 12:04:02,613 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3.5/configparser.py", line 715, in read_file
2018-02-26 12:04:02,614 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     self._read(f, source)
2018-02-26 12:04:02,614 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3.5/configparser.py", line 1077, in _read
2018-02-26 12:04:02,615 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]:     raise MissingSectionHeaderError(fpname, lineno, line)
2018-02-26 12:04:02,616 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: configparser.MissingSectionHeaderError: File contains no section headers.
2018-02-26 12:04:02,616 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: file: '<string>', line: 1
2018-02-26 12:04:02,617 - CRITICAL - [(140220569490880)-MainThread] cura.CrashHandler.__init__ [64]: "<?xml version='1.0' encoding='utf-8'?>\n"
aleph@spoonbill:~/Projects/cura-lulzbot/Cura2build-master/build/dist$

fixed

victor_larchenko closed this task as Resolved.Mar 2 2018, 4:58 AM

@karrad, Re-open this task if you find more crashes

karrad reopened this task as Open.EditedMar 8 2018, 11:58 AM

I received a crash today on 3.2.10 Debian.

Steps to reproduce:

1.) Launch Cura LE
2.) Settings > Materials > Manage Materials
3.) Select profiles on the left hand side
4.) Duplicate a protected profile
5.) Attempt to select duplicated profile from quality dropdown in prepare tab

2018-03-08 11:56:45,742 - DEBUG - [(140170520778176)-MainThread] cura.Settings.ContainerManager._duplicateQualityOrQualityChangesForMachineType [727]: We found a quality to duplicate.
2018-03-08 11:56:51,479 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [61]: An uncaught error has occurred!
2018-03-08 11:56:51,480 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]: Traceback (most recent call last):
2018-03-08 11:56:51,481 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 1013, in setActiveQuality
2018-03-08 11:56:51,481 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:     new_quality_settings_list = self._determineQualityAndQualityChangesForQualityChanges(quality_name)
2018-03-08 11:56:51,482 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 1151, in _determineQualityAndQualityChangesForQualityChanges
2018-03-08 11:56:51,483 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:     material = global_container_stack.material.getMetadata()
2018-03-08 11:56:51,483 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]: AttributeError: '_EmptyInstanceContainer' object has no attribute 'getMetadata'
victor_larchenko closed this task as Resolved.Mar 12 2018, 11:11 PM
In T1273#35446, @karrad wrote:

I received a crash today on 3.2.10 Debian.

Steps to reproduce:

1.) Launch Cura LE
2.) Settings > Materials > Manage Materials
3.) Select profiles on the left hand side
4.) Duplicate a protected profile
5.) Attempt to select duplicated profile from quality dropdown in prepare tab

2018-03-08 11:56:45,742 - DEBUG - [(140170520778176)-MainThread] cura.Settings.ContainerManager._duplicateQualityOrQualityChangesForMachineType [727]: We found a quality to duplicate.
2018-03-08 11:56:51,479 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [61]: An uncaught error has occurred!
2018-03-08 11:56:51,480 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]: Traceback (most recent call last):
2018-03-08 11:56:51,481 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 1013, in setActiveQuality
2018-03-08 11:56:51,481 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:     new_quality_settings_list = self._determineQualityAndQualityChangesForQualityChanges(quality_name)
2018-03-08 11:56:51,482 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:   File "/home/aleph/Projects/cura-lulzbot/Cura2build-master/build/inst/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 1151, in _determineQualityAndQualityChangesForQualityChanges
2018-03-08 11:56:51,483 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]:     material = global_container_stack.material.getMetadata()
2018-03-08 11:56:51,483 - CRITICAL - [(140170520778176)-MainThread] cura.CrashHandler.__init__ [64]: AttributeError: '_EmptyInstanceContainer' object has no attribute 'getMetadata'

fixed