FS#60207 - [cura] Savitar plugin is not loading

Attached to Project: Community Packages
Opened by Craig West (acwest) - Wednesday, 26 September 2018, 16:44 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 30 September 2022, 09:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Cura is unable to save projects, because the 3MFReader and 3MFWriter plugins are not initalising properly. It appears that Savitar is not loading properly, causing all of the plugins that depend on it to fail.

Additional info:
Package: community/libsavitar 3.4.1-2

The relevant lines of log appear to be:
2018-09-26 11:50:46,439 - ERROR - [MainThread] UM.Logger.logException [81]: Exception: Import error loading module 3MFReader
2018-09-26 11:50:46,452 - ERROR - [MainThread] UM.Logger.logException [85]: Traceback (most recent call last):
2018-09-26 11:50:46,453 - ERROR - [MainThread] UM.Logger.logException [85]: File "/usr/lib/python3.7/site-packages/UM/PluginRegistry.py", line 560, in _findPlugin
2018-09-26 11:50:46,453 - ERROR - [MainThread] UM.Logger.logException [85]: module = imp.load_module(plugin_id, file, path, desc) #type: ignore #MyPy gets the wrong output type from imp.find_module for some reason.
2018-09-26 11:50:46,454 - ERROR - [MainThread] UM.Logger.logException [85]: File "/usr/lib/python3.7/imp.py", line 244, in load_module
2018-09-26 11:50:46,454 - ERROR - [MainThread] UM.Logger.logException [85]: return load_package(name, filename)
2018-09-26 11:50:46,454 - ERROR - [MainThread] UM.Logger.logException [85]: File "/usr/lib/python3.7/imp.py", line 216, in load_package
2018-09-26 11:50:46,455 - ERROR - [MainThread] UM.Logger.logException [85]: return _load(spec)
2018-09-26 11:50:46,455 - ERROR - [MainThread] UM.Logger.logException [85]: File "<frozen importlib._bootstrap>", line 696, in _load
2018-09-26 11:50:46,455 - ERROR - [MainThread] UM.Logger.logException [85]: File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
2018-09-26 11:50:46,455 - ERROR - [MainThread] UM.Logger.logException [85]: File "<frozen importlib._bootstrap_external>", line 728, in exec_module
2018-09-26 11:50:46,456 - ERROR - [MainThread] UM.Logger.logException [85]: File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2018-09-26 11:50:46,456 - ERROR - [MainThread] UM.Logger.logException [85]: File "/usr/lib/cura/plugins/3MFReader/__init__.py", line 8, in <module>
2018-09-26 11:50:46,456 - ERROR - [MainThread] UM.Logger.logException [85]: from . import ThreeMFReader
2018-09-26 11:50:46,457 - ERROR - [MainThread] UM.Logger.logException [85]: File "/usr/lib/cura/plugins/3MFReader/ThreeMFReader.py", line 9, in <module>
2018-09-26 11:50:46,458 - ERROR - [MainThread] UM.Logger.logException [85]: import Savitar
2018-09-26 11:50:46,458 - ERROR - [MainThread] UM.Logger.logException [85]: ValueError: PyCapsule_GetPointer called with incorrect name
2018-09-26 11:50:46,459 - WARNING - [MainThread] UM.PluginRegistry._populateMetaData [600]: Could not find plugin 3MFReader

Steps to reproduce:
start Cura, then save project (actually, I believe just starting Cura will replicate the actual issue
   cura.log (466.9 KiB)
This task depends upon

Closed by  Jelle van der Waa (jelly)
Friday, 30 September 2022, 09:50 GMT
Reason for closing:  Deferred
Additional comments about closing:  Cura moved to the AUR
Comment by mattia (nTia89) - Saturday, 16 February 2019, 16:48 GMT
Cannot reproduce it! (version 3.6.0-1)
I don't have those errors too, in fact, I have:
[...]
2019-02-16 17:25:01,745 - INFO - [MainThread] UM.PluginRegistry.loadPlugin [422]: Loaded plugin 3MFReader
[...]
2019-02-16 17:25:01,772 - INFO - [MainThread] UM.PluginRegistry.loadPlugin [422]: Loaded plugin 3MFWriter
[...]

Have you tried delete cura's config folder? ($HOME/.config/cura)
Is your system entirely up-to-date?

Loading...