-
-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Install Octoprint on Debian Trixie. Python version is 3.13.5. In UI the message appears "Installed Unknown". Restart Octoprint, plugin not installed (in fact, it is, but not shown in UI). Repetition results always in same behaviour.
The log displays:
octoprint.plugins.pluginmanager - WARNING - The plugin was installed successfully, but couldn't be found afterwards to initialize properly during runtime. Please restart OctoPrint.
Reason is:
octoprint.plugin.core - ERROR - Error loading plugin prusaslicerthumbnails
Traceback (most recent call last):
File "/home/pi/OctoPrint/lib/python3.13/site-packages/octoprint/plugin/core.py", line 1339, in _import_plugin
module = _load_module(spec)
File "/home/pi/OctoPrint/lib/python3.13/site-packages/octoprint/plugin/core.py", line 74, in _load_module
spec.loader.exec_module(sys.modules[spec.name])
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/home/pi/OctoPrint/lib/python3.13/site-packages/octoprint_prusaslicerthumbnails/init.py", line 16, in
import imghdr
ModuleNotFoundError: No module named 'imghdr'
imghdr is not included anymore and deprecated. See https://stackoverflow.com/questions/79144437/how-to-resolve-no-module-named-imghdr-error-in-python-3-13-with-tweepy
Solution for me was:
bin/pip3 install standard-imghdr
I don't know if there is a general solution that works for older and newer versions at the same time, at least this should be noted in the installation steps