jellespijker / elevated_beats_n_slices

Cura plugin which will play elevator music while you wait for slice to finish
6 stars 0 forks source link

Cura 5.7.0: Plugin could not be loaded #15

Open NuclearPhoenixx opened 5 months ago

NuclearPhoenixx commented 5 months ago

Hi there,

for some reason the plugin does not work anymore for me in Cura 5.7.0. On startup it just states the following:

msg

No idea if that's a problem specific to my Cura install or something with the plugin unfortunately 😕 I know this is a really bare issue with not much info, but I have no idea where to grab some logs as it doesn't even mention anything like that. It just throws the error at me.

StrandedSoftwareDeveloper commented 5 months ago

I'm having the same error and I found this in stderr.log:

[35m2024-04-20 02:20:50,939[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]: Traceback (most recent call last):[0m
[35m2024-04-20 02:20:50,939[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:   File "UM/PluginRegistry.py", line 793, in _findPlugin[0m
[35m2024-04-20 02:20:50,939[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:     spec.loader.exec_module(module)[0m
[35m2024-04-20 02:20:50,940[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:   File "<frozen importlib._bootstrap_external>", line 883, in exec_module[0m
[35m2024-04-20 02:20:50,940[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
[35m2024-04-20 02:20:50,940[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:   File "/home/ssd/.local/share/cura/5.7/plugins/ElevatedBeatsnSlices/ElevatedBeatsnSlices/__init__.py", line 7, in <module>[0m
[35m2024-04-20 02:20:50,941[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:     from . import ElevatedBeatsNSlicesPlugin[0m
[35m2024-04-20 02:20:50,941[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:   File "/home/ssd/.local/share/cura/5.7/plugins/ElevatedBeatsnSlices/ElevatedBeatsnSlices/ElevatedBeatsNSlicesPlugin.py", line 11, in <module>[0m
[35m2024-04-20 02:20:50,941[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]:     from PyQt6.QtMultimedia import QAudioOutput, QMediaPlayer[0m
[35m2024-04-20 02:20:50,942[0m - [31mERROR[0m - [37m[MainThread] UM.PluginRegistry._findPlugin [795]: ModuleNotFoundError: No module named 'PyQt6.QtMultimedia'[0m
[35m2024-04-20 02:20:50,942[0m - [33mWARNING[0m - [37m[MainThread] UM.PluginRegistry._populateMetaData [892]: Could not find plugin ElevatedBeatsnSlices[0m

I tried installing python3-pyqt6-multimedia, but the error didn't change. I'm using the AppImage version of Cura on Void Linux if that's relevant.

jellespijker commented 5 months ago

thx, I will put in on the backlog, this probably happens because PyQt6 used by Cura 5.7.x has been upgraded.

I'm unfortunately rather busy atm, so it might take a while before I get to it. If someone in the community feels up to taking a look and opening a PR you would make me very happy