You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed mopidy-cd with sudo python3 -m pip install --break-system-packages Mopidy-Cd
on raspbian OS on RPi4 with Mopidy 3.4.1
Received errors "ImportError: cannot import name 'Mapping' from 'collections'"
changed /usr/local/lib/python3.11/dist-packages/mopidy_cd/cdrom.py line 8 from from collections import Mapping, namedtuple
to
from collections.abc import Mapping
from collections import namedtuple
New Icon "CD" appears in menu "Browse" of iris. No errors in log so far.
When clicking on icon CD, CD-drive starts reading, CD-titles appear for 1 second in iris, then disappear again. 23 errors are added to log, each reading as follows:
May 19 15:30:12 audioserver mopidy[1225]: ERROR [Core-10 (_actor_loop)] mopidy.core.library CdBackend backend caused an exception.
May 19 15:30:12 audioserver mopidy[1225]: Traceback (most recent call last):
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/lib/python3/dist-packages/mopidy/core/library.py", line 17, in _backend_error_handling
May 19 15:30:12 audioserver mopidy[1225]: yield
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/lib/python3/dist-packages/mopidy/core/library.py", line 230, in lookup
May 19 15:30:12 audioserver mopidy[1225]: result = future.get()
May 19 15:30:12 audioserver mopidy[1225]: ^^^^^^^^^^^^
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/lib/python3/dist-packages/pykka/_threading.py", line 55, in get
May 19 15:30:12 audioserver mopidy[1225]: raise exc_value
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 186, in _actor_loop
May 19 15:30:12 audioserver mopidy[1225]: response = self._handle_receive(envelope.message)
May 19 15:30:12 audioserver mopidy[1225]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 286, in _handle_receive
May 19 15:30:12 audioserver mopidy[1225]: return callee(*message.args, **message.kwargs)
May 19 15:30:12 audioserver mopidy[1225]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/local/lib/python3.11/dist-packages/mopidy_cd/backend.py", line 44, in lookup
May 19 15:30:12 audioserver mopidy[1225]: album = CdLibrary._make_album(disc)
May 19 15:30:12 audioserver mopidy[1225]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/local/lib/python3.11/dist-packages/mopidy_cd/backend.py", line 114, in _make_album
May 19 15:30:12 audioserver mopidy[1225]: return Album(
May 19 15:30:12 audioserver mopidy[1225]: ^^^^^^
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 159, in __call__
May 19 15:30:12 audioserver mopidy[1225]: instance = super().__call__(*args, **kwargs)
May 19 15:30:12 audioserver mopidy[1225]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 19 15:30:12 audioserver mopidy[1225]: File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 32, in __init__
May 19 15:30:12 audioserver mopidy[1225]: raise TypeError(
May 19 15:30:12 audioserver mopidy[1225]: TypeError: __init__() got an unexpected keyword argument 'images'
RPi is perfectly playing CD's with mplayer, so the CD-drive seems to be ok.
I would appreciate of anybody could help. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Installed mopidy-cd with
sudo python3 -m pip install --break-system-packages Mopidy-Cd
on raspbian OS on RPi4 with Mopidy 3.4.1
Received errors "ImportError: cannot import name 'Mapping' from 'collections'"
changed /usr/local/lib/python3.11/dist-packages/mopidy_cd/cdrom.py line 8 from
from collections import Mapping, namedtuple
to
New Icon "CD" appears in menu "Browse" of iris. No errors in log so far.
When clicking on icon CD, CD-drive starts reading, CD-titles appear for 1 second in iris, then disappear again. 23 errors are added to log, each reading as follows:
RPi is perfectly playing CD's with mplayer, so the CD-drive seems to be ok.
I would appreciate of anybody could help. Thanks in advance.
The text was updated successfully, but these errors were encountered: