Since recently, on my Xfce system when I run Cura (now v.4.13.1) it loads all of its components but at last it shows errors with plugins
first I tried to remove the suggested plugins by clicking on ‘remove’, but after that other errors follow
and finally Cura crashes
Error traceback
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/UM/PluginRegistry.py", line 505, in <lambda>
unable_to_load_plugin_message.pyQtActionTriggered.connect(lambda message, action: self._acceptedRemoveCorruptedPluginMessage(plugin_id, message))
File "/usr/lib/python3.10/site-packages/UM/PluginRegistry.py", line 481, in _acceptedRemoveCorruptedPluginMessage
message_data = self.uninstallPlugin(plugin_id)
File "/usr/lib/python3.10/site-packages/UM/PluginRegistry.py", line 537, in uninstallPlugin
"message": message_text,
UnboundLocalError: local variable 'message_text' referenced before assignment
Logs
Thread 0x00007f93273fe640 (most recent call first):
File "/usr/lib/cura/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py", line 61 in _updateThread
File "/usr/lib/python3.10/threading.py", line 946 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Thread 0x00007f9327bff640 (most recent call first):
File "/usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 87 in _updateThread
File "/usr/lib/python3.10/threading.py", line 946 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Thread 0x00007f933995f640 (most recent call first):
File "/usr/lib/python3.10/site-packages/UM/Backend/Backend.py", line 165 in _storeStderrToLogThread
File "/usr/lib/python3.10/threading.py", line 946 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Thread 0x00007f933a160640 (most recent call first):
File "/usr/lib/python3.10/site-packages/UM/Backend/Backend.py", line 153 in _storeOutputToLogThread
File "/usr/lib/python3.10/threading.py", line 946 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Thread 0x00007f93577fe640 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 320 in wait
File "/usr/lib/python3.10/threading.py", line 460 in acquire
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 124 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Thread 0x00007f9357fff640 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 320 in wait
File "/usr/lib/python3.10/threading.py", line 460 in acquire
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 124 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Thread 0x00007f9364985640 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 320 in wait
File "/usr/lib/python3.10/threading.py", line 460 in acquire
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 124 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Thread 0x00007f9365186640 (most recent call first):
File "/usr/lib/python3.10/threading.py", line 320 in wait
File "/usr/lib/python3.10/threading.py", line 460 in acquire
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 124 in run
File "/usr/lib/python3.10/threading.py", line 1009 in _bootstrap_inner
File "/usr/lib/python3.10/threading.py", line 966 in _bootstrap
Current thread 0x00007f93817c3740 (most recent call first):
File "/usr/lib/python3.10/site-packages/cura/CrashHandler.py", line 396 in _logInfoWidget
File "/usr/lib/python3.10/site-packages/cura/CrashHandler.py", line 182 in _createDialog
File "/usr/lib/python3.10/site-packages/cura/CrashHandler.py", line 86 in __init__
File "/usr/bin/cura", line 162 in exceptHook
File "/usr/lib/python3.10/site-packages/UM/Message.py", line 109 in _onActionTriggered
File "/usr/lib/python3.10/site-packages/UM/Signal.py", line 332 in __performEmit
File "/usr/lib/python3.10/site-packages/UM/Signal.py", line 219 in emit
File "/usr/lib/python3.10/site-packages/UM/Qt/Bindings/VisibleMessagesModel.py", line 105 in actionTriggered
File "/usr/lib/python3.10/site-packages/UM/Qt/Bindings/MainWindow.py", line 203 in mouseReleaseEvent
File "/usr/lib/python3.10/site-packages/UM/Qt/QtApplication.py", line 396 in exec_
File "/usr/lib/python3.10/site-packages/cura/CuraApplication.py", line 877 in run
File "/usr/bin/cura", line 236 in <module>
Tried to uninstall and reinstall it twice, but the errors stick
(first uninstalled only the package)
$ sudo pacman -R cura
checking dependencies...
Packages (1) cura-4.13.1-1
Total Removed Size: 97,68 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
(1/1) removing cura [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the MIME type database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
$ sudo pacman -S cura
resolving dependencies...
looking for conflicting packages...
Packages (1) cura-4.13.1-1
Total Installed Size: 97,68 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) installing cura [######################] 100%
Optional dependencies for cura
python-zeroconf: network printing support
python-trimesh: Reading AMF files [installed]
python-libcharon: UFPWriter/UFPReader
cura-binary-data: Binary data (firmwares and such) for cura [installed]
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the MIME type database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
$
(then uninstalled the package with its dependencies)
$ sudo pacman -Rns cura
checking dependencies...
:: pyside2 optionally requires qt5-quickcontrols2: QtQuickControls2 bindings
Packages (22) arcus-4.13.1-1 cura-resources-materials-4.13.0-1
curaengine-4.13.1-1 geos-3.9.1-1 libsavitar-4.13.0-1
nlopt-2.7.1-1 polyclipping-6.4.2-4 python-entrypoints-0.4-1
python-jeepney-0.7.1-3 python-keyring-23.4.0-1
python-pynest2d-4.12.0-1 python-pyserial-3.5-4
python-scipy-1.8.0-1 python-secretstorage-3.3.1-3
python-shapely-1.8.0-1 python-sip4-4.19.25-3
python-trimesh-3.9.31-3 qt5-graphicaleffects-5.15.2-2
qt5-quickcontrols-5.15.2-2 qt5-quickcontrols2-5.15.2+kde+r11-2
uranium-4.13.1-1 cura-4.13.1-1
Total Removed Size: 198,92 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
( 1/22) removing cura [######################] 100%
( 2/22) removing uranium [######################] 100%
( 3/22) removing qt5-quickcontrols2 [######################] 100%
( 4/22) removing qt5-quickcontrols [######################] 100%
( 5/22) removing python-shapely [######################] 100%
( 6/22) removing geos [######################] 100%
( 7/22) removing qt5-graphicaleffects [######################] 100%
( 8/22) removing python-trimesh [######################] 100%
( 9/22) removing python-scipy [######################] 100%
(10/22) removing python-pyserial [######################] 100%
(11/22) removing python-pynest2d [######################] 100%
(12/22) removing nlopt [######################] 100%
(13/22) removing python-keyring [######################] 100%
(14/22) removing python-secretstorage [######################] 100%
(15/22) removing python-jeepney [######################] 100%
(16/22) removing python-entrypoints [######################] 100%
(17/22) removing libsavitar [######################] 100%
(18/22) removing curaengine [######################] 100%
(19/22) removing polyclipping [######################] 100%
(20/22) removing arcus [######################] 100%
(21/22) removing python-sip4 [######################] 100%
(22/22) removing cura-resources-materials [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the MIME type database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
$ sudo pacman -S cura
resolving dependencies...
looking for conflicting packages...
Packages (22) arcus-4.13.1-1 cura-resources-materials-4.13.0-1
curaengine-4.13.1-1 geos-3.9.1-1 libsavitar-4.13.0-1
nlopt-2.7.1-1 polyclipping-6.4.2-4 python-entrypoints-0.4-1
python-jeepney-0.7.1-3 python-keyring-23.4.0-1
python-pynest2d-4.12.0-1 python-pyserial-3.5-4
python-scipy-1.8.0-1 python-secretstorage-3.3.1-3
python-shapely-1.8.0-1 python-sip4-4.19.25-3
python-trimesh-3.9.31-3 qt5-graphicaleffects-5.15.2-2
qt5-quickcontrols-5.15.2-2 qt5-quickcontrols2-5.15.2+kde+r11-2
uranium-4.13.1-1 cura-4.13.1-1
Total Installed Size: 198,92 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
geos-3.9.1-1-x86_64 is up to date
polyclipping-6.4.2-4-x86_64 is up to date
(22/22) checking keys in keyring [######################] 100%
(22/22) checking package integrity [######################] 100%
(22/22) loading package files [######################] 100%
(22/22) checking for file conflicts [######################] 100%
(22/22) checking available disk space [######################] 100%
:: Processing package changes...
( 1/22) installing python-scipy [######################] 100%
Optional dependencies for python-scipy
python-pillow: for image saving module [installed]
( 2/22) installing python-pyserial [######################] 100%
( 3/22) installing qt5-quickcontrols [######################] 100%
( 4/22) installing qt5-quickcontrols2 [######################] 100%
Optional dependencies for qt5-quickcontrols2
qt5-graphicaleffects: for the Material style [pending]
( 5/22) installing python-sip4 [######################] 100%
( 6/22) installing arcus [######################] 100%
( 7/22) installing geos [######################] 100%
( 8/22) installing python-shapely [######################] 100%
Optional dependencies for python-shapely
python-numpy: for shapely.vectorized submodule [installed]
( 9/22) installing uranium [######################] 100%
(10/22) installing polyclipping [######################] 100%
(11/22) installing curaengine [######################] 100%
(12/22) installing libsavitar [######################] 100%
(13/22) installing qt5-graphicaleffects [######################] 100%
(14/22) installing nlopt [######################] 100%
Optional dependencies for nlopt
python-numpy: to use with python [installed]
(15/22) installing python-pynest2d [######################] 100%
(16/22) installing python-entrypoints [######################] 100%
(17/22) installing python-jeepney [######################] 100%
(18/22) installing python-secretstorage [######################] 100%
(19/22) installing python-keyring [######################] 100%
Optional dependencies for python-keyring
python-keyrings-alt: Alternative backends
python-dbus: kwallet backend [installed]
(20/22) installing python-trimesh [######################] 100%
Optional dependencies for python-trimesh
python-networkx: graph operations
python-pyglet: preview windows
python-rtree: vector path handling
python-scipy: convex hulls [installed]
python-shapely: vector path handling [installed]
python-pillow: load images [installed]
python-jsonschema: validate JSON schemas like GLTF
python-requests: network requests [installed]
python-msgpack: serialize into msgpack [installed]
python-lxml: handle XML better and faster than built- in XML
python-sympy: do analytical math
python-svg.path: handle SVG format path strings
python-xxhash: hash ndarrays faster than built-in MD5/CRC
python-collada: parse collada/dae/zae files
(21/22) installing cura-resources-materials [######################] 100%
(22/22) installing cura [######################] 100%
Optional dependencies for cura
python-zeroconf: network printing support
python-trimesh: Reading AMF files [installed]
python-libcharon: UFPWriter/UFPReader
cura-binary-data: Binary data (firmwares and such) for cura [installed]
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating the MIME type database...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
$
Each time I run Cura it shows the same errors, but if I don’t click on remove buttons it is possible to normally exit Cura (File → Quit)
I’ve seen that at least another user had problems with the latest version of Cura - is it due to that and the solution is to downgrade?