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

Issues with running after installing (mpris_server import error) #28

Open
drjaska opened this issue Aug 3, 2024 · 0 comments
Open

Issues with running after installing (mpris_server import error) #28

drjaska opened this issue Aug 3, 2024 · 0 comments

Comments

@drjaska
Copy link

drjaska commented Aug 3, 2024

Hi, I attempted to install and run the software with the following commands on a Debian Testing (13 pre-release) system:

sudo apt-get install -y \
	python3-gi \
	gobject-introspection \
	libgirepository-1.0-dev

mkdir -p "$HOME/programs/cast-control"

python3 -m venv "$HOME/programs/cast-control/.venv"

source "$HOME/programs/cast-control/.venv/bin/activate"

python3 -m pip install -U cast-control

"$HOME/programs/cast-control/.venv/bin/cast_control"

But I get the following traceback:

Traceback (most recent call last):
  File "/home/drjaska/programs/cast-control/.venv/bin/cast_control", line 5, in <module>
    from cast_control.app.cli import cli
  File "/home/drjaska/programs/cast-control/.venv/lib/python3.12/site-packages/cast_control/app/cli.py", line 9, in <module>
    from .run import run_safe
  File "/home/drjaska/programs/cast-control/.venv/lib/python3.12/site-packages/cast_control/app/run.py", line 8, in <module>
    from mpris_server import Server
ImportError: cannot import name 'Server' from 'mpris_server' (/home/drjaska/programs/cast-control/.venv/lib/python3.12/site-packages/mpris_server/__init__.py)

Seeing as mpris_server pip package is fairly global I would assume that this project needs to update how it uses it and that this problem isn't a personal one. Anyways any kind of help with this would be appreciated!

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

No branches or pull requests

1 participant