Hi
After updating my server to Debian trixie, mopidy-local has an error. Mopidy is still working. Am I too early for an update?
This command: sudo journalctl -u mopidy
has related to the problem the same output like: sudo mopidyctl config
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config" as user mopidy
ERROR [MainThread] mopidy.ext Setup of extension from entry point local failed, ignoring extension.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 250, in load_extensions
command=extension.get_command(),
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/mopidy_local/__init__.py", line 45, in get_command
from .commands import LocalCommand
File "/usr/lib/python3/dist-packages/mopidy_local/commands.py", line 8, in <module>
from mopidy_local import mtimes, storage, translator
File "/usr/lib/python3/dist-packages/mopidy_local/storage.py", line 2, in <module>
import imghdr
ModuleNotFoundError: No module named 'imghdr'
WARNING [MainThread] mopidy.config Ignoring config section 'local' because no matching extension was found
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false
[logging]
verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =
[audio]
mixer = software
mixer_volume = 50
output = autoaudiosink
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[file]
enabled = true
media_dirs =
/media/server1/FreedomBox/shares/group_share/Musik (Mopidy)
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[http]
enabled = true
hostname = ::
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =
[softwaremixer]
enabled = true
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
[mpd]
enabled = true
hostname = ::
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u
- Installed dependencies:
sudo mopidyctl deps
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps" as user mopidy
ERROR [MainThread] mopidy.ext Setup of extension from entry point local failed, ignoring extension.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/ext.py", line 250, in load_extensions
command=extension.get_command(),
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/mopidy_local/__init__.py", line 45, in get_command
from .commands import LocalCommand
File "/usr/lib/python3/dist-packages/mopidy_local/commands.py", line 8, in <module>
from mopidy_local import mtimes, storage, translator
File "/usr/lib/python3/dist-packages/mopidy_local/storage.py", line 2, in <module>
import imghdr
ModuleNotFoundError: No module named 'imghdr'
WARNING [MainThread] mopidy.config Ignoring config section 'local' because no matching extension was found
Executable: /usr/bin/mopidy
Platform: Linux-6.1.0-37-armmp-lpae-armv7l-with-glibc2.41
Python: CPython 3.13.3 from /usr/lib/python3.13
Mopidy: 3.4.2 from /usr/lib/python3/dist-packages
Mopidy-Local: 3.2.1 from /usr/lib/python3/dist-packages
Mopidy-MPD: 3.3.0 from /usr/lib/python3/dist-packages
GStreamer: 1.26.2.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.50.0
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad`
- Information about your computer’s hardware and software
Hardware: Olimex Lime2
Software: Debian armhf bookworm → trixie
If I am to early, no problem. I did the test with a dd copy of my root file system. So there is nothing lost…
Greetings from Switzerland