Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension cd failed during setup. This might have left the registry in a bad state. #21

Open
mutlucan96 opened this issue Aug 15, 2023 · 1 comment · May be fixed by #22
Open

Extension cd failed during setup. This might have left the registry in a bad state. #21

mutlucan96 opened this issue Aug 15, 2023 · 1 comment · May be fixed by #22

Comments

@mutlucan96
Copy link

Runinnig this on Fedora 38 and it doesn't work. Fresh install mopidy and mopidy-cd, no additional config.

ERROR    2023-08-15 21:08:53,093 [12362:MainThread] mopidy.__main__
  Extension cd failed during setup. This might have left the registry in a bad state.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mopidy/__main__.py", line 129, in main
    extension.setup(registry)
  File "/usr/local/lib/python3.11/site-packages/mopidy_cd/__init__.py", line 22, in setup
    from .backend import CdBackend
  File "/usr/local/lib/python3.11/site-packages/mopidy_cd/backend.py", line 11, in <module>
    from .cdrom import CD_PROTOCOL, UNKNOWN_DISC, CdRom
  File "/usr/local/lib/python3.11/site-packages/mopidy_cd/cdrom.py", line 8, in <module>
    from collections import Mapping, namedtuple
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib64/python3.11/collections/__init__.py)

Fubukimaru added a commit to Fubukimaru/mopidy-cd that referenced this issue Feb 4, 2024
@Fubukimaru Fubukimaru linked a pull request Feb 4, 2024 that will close this issue
@Fubukimaru
Copy link

This issue is caused by a change of the Mapping object inside the collections package. I have opened a pull request to fix this.

Meanwhile you con use my fork: https://github.com/Fubukimaru/mopidy-cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants