Package: cura
Version: 3.1.0-1
Severity: important

fdm-materials is currently a Recommended dependency of Cura.
If the package is missing and a previous printer definition is loaded, Cura
will immediately crash instead of handling the error gracefully.

This is an upstream bug, but until it gets fixed, it will make sense to make
fdm-materials a Required dependency.


Original bug report by Nathael Pajani:

Hi,

I just installed cura on a Debian SID, and I was unable to launch it till I had
installed
fdm-materials and python3-zeroconf

These are referenced as "Recommends" by cura, but should be in "Depends"
Section.

Thanks.


For info :

2018-03-23 22:55:13,075 - WARNING -
cura.Settings.CuraContainerStack.findDefaultMaterial
[482]: The preferred material "*generic_pla*" could not be found for stack
DrzUltimaker
2018-03-23 22:55:13,077 - WARNING -
cura.Settings.CuraContainerStack.findDefaultMaterial
[493]: Could not find a valid material for stack DrzUltimaker
2018-03-23 22:55:13,084 - CRITICAL - cura.CrashHandler.__init__ [62]: An
uncaught
exception has occurred!
2018-03-23 22:55:13,085 - CRITICAL - cura.CrashHandler.__init__ [65]: Traceback
(most
recent call last):
2018-03-23 22:55:13,086 - CRITICAL - cura.CrashHandler.__init__ [65]:   File
"/usr/lib/python3/dist-packages/cura/Settings/MachineManager.py", line 363, in
addMachine
2018-03-23 22:55:13,086 - CRITICAL - cura.CrashHandler.__init__ [65]:
new_stack =
CuraStackBuilder.createMachine(name, definition_id)
2018-03-23 22:55:13,086 - CRITICAL - cura.CrashHandler.__init__ [65]:   File
"/usr/lib/python3/dist-packages/cura/Settings/CuraStackBuilder.py", line 45, in
createMachine
2018-03-23 22:55:13,087 - CRITICAL - cura.CrashHandler.__init__ [65]:
variant = "default",
2018-03-23 22:55:13,087 - CRITICAL - cura.CrashHandler.__init__ [65]:   File
"/usr/lib/python3/dist-packages/cura/Settings/CuraStackBuilder.py", line 178,
in
createGlobalStack
2018-03-23 22:55:13,087 - CRITICAL - cura.CrashHandler.__init__ [65]:
stack.setQualityById(kwargs["quality"])
2018-03-23 22:55:13,088 - CRITICAL - cura.CrashHandler.__init__ [65]:   File
"/usr/lib/python3/dist-packages/cura/Settings/CuraContainerStack.py", line 126,
in
setQualityById
2018-03-23 22:55:13,088 - CRITICAL - cura.CrashHandler.__init__ [65]:
new_quality =
self.findDefaultQuality()
2018-03-23 22:55:13,088 - CRITICAL - cura.CrashHandler.__init__ [65]:   File
"/usr/lib/python3/dist-packages/cura/Settings/CuraContainerStack.py", line 549,
in
findDefaultQuality
2018-03-23 22:55:13,089 - CRITICAL - cura.CrashHandler.__init__ [65]:
material_search_criteria["definition"] = material_container.getDefinition().id
2018-03-23 22:55:13,089 - CRITICAL - cura.CrashHandler.__init__ [65]:
AttributeError:
'NoneType' object has no attribute 'id'

[.... Definitively blocked here, after selecting the printer model, the model
choice
window going empty ...]



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (500, 'unstable-debug'), (500, 
'testing-debug'), (300, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to