iamkroot / trakt-scrobbler

Scrobbler for trakt.tv that supports VLC, Plex, MPC-HC, and MPV.
https://github.com/iamkroot/trakt-scrobbler/wiki
GNU General Public License v2.0
466 stars 30 forks source link

[BUG] Does not start with python-cleo 1.0.0a5 #210

Closed wazabees closed 2 years ago

wazabees commented 2 years ago

Describe the bug cannot import name 'Application' from 'cleo' (/usr/lib/python3.10/site-packages/cleo/__init__.py)

A clear and concise description of what the bug/error is. trakt-scrobbler does not work if python-cleo 1.0.0a5-2 is installed.

Desktop (please complete the following information): Arch linux, 5.19.7-arch1-1 Python 3.10.6 mpv 0.34.1 trakt-scrobbler 1.5.0-1 from the AUR

To Reproduce Install latest python-cleo and try to run trakt-scrobbled.

Log file Unable to run "trakts log open" or "trakts log path" now.

iamkroot commented 2 years ago

Sorry, this is not a scrobbler bug. We explicitly state that we depend on cleo v0.8 in our pyproject.toml file. Installing other versions could cause breakage.

In this case, I would ask why is Arch Linux upgrading their package to an alpha version. Till cleo maintainers release a stable version, it would not be worthwhile to make the effort of migrating.

For a solution, I suggest using the venv approach instead of the AUR package. You can find the installation instructions in the github wiki.

wazabees commented 2 years ago

Thank you for the explanation! ;)

ahmubashshir commented 2 years ago

@wazabees test #216 please.

wazabees commented 2 years ago

@wazabees test #216 please.

Hey @ahmubashshir - thanks for the ping! I went a different route and decided to use pipx instead. My hope is that I'll experience less breakage that way. ;)