[3dprinter-general] Bug#979070: cura: Manage Materials and create or duplicate after some seconds it crashes in AutoSave.py

RA forenbuddy at gmail.com
Sat Jan 2 13:38:07 GMT 2021


Package: cura
Version: 4.8-1
Severity: important

I would need to enter my material into Cura. Otherwise I will not be able to
print.


It opens then a crash report with two fields:

Error traceback
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cura/AutoSave.py", line 61, in
_onTimeout
    self._application.saveSettings()
  File "/usr/lib/python3/dist-packages/cura/CuraApplication.py", line 723, in
saveSettings
    ContainerRegistry.getInstance().saveDirtyContainers()
  File "/usr/lib/python3/dist-packages/cura/Settings/CuraContainerRegistry.py",
line 487, in saveDirtyContainers
    self.saveContainer(instance)
  File "/usr/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line
604, in saveContainer
    container.setDirty(False)
  File "/usr/lib/cura/plugins/XmlMaterialProfile/XmlMaterialProfile.py", line
126, in setDirty
    if base_file is not None and base_file != self.getId() and not
registry.isReadOnly(base_file):
  File "/usr/lib/python3/dist-packages/UM/Settings/ContainerRegistry.py", line
321, in isReadOnly
    return provider.isReadOnly(container_id)
  File
"/usr/lib/uranium/plugins/LocalContainerProvider/LocalContainerProvider.py",
line 188, in isReadOnly
    file_path = self._id_to_path[container_id]  # If KeyError: We don't know
this ID.
KeyError: 'custom_material'



Logs
Thread 0x00007f1281ffb700 (most recent call first):
  File "/usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py",
line 87 in _updateThread
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12827fc700 (most recent call first):
  File
"/usr/lib/cura/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py",
line 61 in _updateThread
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12837fe700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 316 in wait
  File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 2232 in wait
  File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 1539 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f1283fff700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 316 in wait
  File "/usr/lib/python3.9/threading.py", line 574 in wait
  File
"/usr/lib/cura/plugins/UM3NetworkPrinting/src/Network/ZeroConfClient.py", line
81 in _handleOnServiceChangedRequests
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12a0ad5700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 316 in wait
  File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 2232 in wait
  File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 1317 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12a12d6700 (most recent call first):
  File "/usr/lib/python3/dist-packages/zeroconf/__init__.py", line 1223 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12a2c7d700 (most recent call first):
  File "/usr/lib/python3/dist-packages/UM/Backend/Backend.py", line 165 in
_storeStderrToLogThread
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12a347e700 (most recent call first):
  File "/usr/lib/python3/dist-packages/UM/Backend/Backend.py", line 153 in
_storeOutputToLogThread
  File "/usr/lib/python3.9/threading.py", line 892 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12bbfff700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12dcef9700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12dd6fa700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12ddefb700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12de6fc700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12deefd700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12df6fe700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Thread 0x00007f12dfeff700 (most recent call first):
  File "/usr/lib/python3.9/threading.py", line 312 in wait
  File "/usr/lib/python3.9/threading.py", line 443 in acquire
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 98 in _nextJob
  File "/usr/lib/python3/dist-packages/UM/JobQueue.py", line 123 in run
  File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
  File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap

Current thread 0x00007f133c213740 (most recent call first):
  File "/usr/lib/python3/dist-packages/cura/CrashHandler.py", line 396 in
_logInfoWidget
  File "/usr/lib/python3/dist-packages/cura/CrashHandler.py", line 182 in
_createDialog
  File "/usr/lib/python3/dist-packages/cura/CrashHandler.py", line 86 in
__init__
  File "/usr/bin/cura", line 167 in exceptHook
  File "/usr/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 378 in
exec_
  File "/usr/lib/python3/dist-packages/cura/CuraApplication.py", line 847 in
run
  File "/usr/bin/cura", line 235 in <module>




I would need to enter my material into Cura. Otherwise I will not be able to
print.





-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cura depends on:
ii  cura-engine                         1:4.8-1
ii  fdm-materials                       4.8-1
ii  fonts-open-sans                     1.11-1.1
ii  python3                             3.9.0-4
ii  python3-certifi                     2020.6.20-1
ii  python3-charon                      4.8-1
ii  python3-cryptography                3.2.1-1
ii  python3-pynest2d                    4.8.0-2
ii  python3-pyqt5                       5.15.2+dfsg-1+b1
ii  python3-pyqt5.qtopengl              5.15.2+dfsg-1+b1
ii  python3-requests                    2.24.0+dfsg-1
ii  python3-savitar                     4.8-1+b1
ii  python3-serial                      3.5~b0-1
ii  python3-shapely                     1.7.1-2
ii  python3-uranium                     4.8-1
ii  qml-module-qt-labs-folderlistmodel  5.15.2+dfsg-2
ii  qml-module-qt-labs-settings         5.15.2+dfsg-2
ii  qml-module-qtqml-models2            5.15.2+dfsg-2
ii  qml-module-qtquick-controls         5.15.2-2
ii  qml-module-qtquick-controls2        5.15.2+dfsg-2
ii  qml-module-qtquick-dialogs          5.15.2-2
ii  uranium-plugins                     4.8-1

Versions of packages cura recommends:
ii  python3-zeroconf  0.26.1-1

cura suggests no packages.

-- debconf-show failed



More information about the 3dprinter-general mailing list