Skip to content

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

Open
@drjaska

Description

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions