[3dprinter-general] Bug#985585: cura: TypeError when saving materials or printing

Gregor Riepl onitake at gmail.com
Sat Mar 20 13:15:17 GMT 2021


Package: cura
Version: 4.8-3
Severity: normal
Tags: upstream
Forwarded: https://github.com/Ultimaker/Cura/issues/9049
X-Debbugs-Cc: onitake at gmail.com

Dear Maintainer,

When starting a print or saving a material, Cura crashes with the following
error:

  File "/usr/lib/cura/plugins/XmlMaterialProfile/XmlMaterialProfile.py", line
154, in serialize
    builder.start("metadata") # type: ignore
TypeError: start expected 2 arguments, got 1

This issue has been reported upstream and a fix is available here:
https://github.com/Ultimaker/Cura/pull/9105

Please apply this patch as soon as possible.

Thank you.

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

Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_USER, TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /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.1-1
ii  python3-certifi                     2020.6.20-1
ii  python3-charon                      4.8-1
ii  python3-cryptography                3.3.2-1
ii  python3-pynest2d                    4.8.0-2
ii  python3-pyqt5                       5.15.2+dfsg-3
ii  python3-pyqt5.qtopengl              5.15.2+dfsg-3
ii  python3-requests                    2.25.1+dfsg-2
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-4
ii  qml-module-qt-labs-settings         5.15.2+dfsg-4
ii  qml-module-qtqml-models2            5.15.2+dfsg-4
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.



More information about the 3dprinter-general mailing list