-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Plex-mpv-shim can't find libmpv1, python virtual environment to blame? #115
Comments
aur/plex-mpx-shim should be working now that extra/python-mpv is updated. If you have anything under /usr/lib/python3.11, that probably means you need to rebuild the corresponding AUR packages. |
Hey, I saw your post on the AUR plex-mpv-shim, thanks for responding. I've rebuilt from the AUR before, just tried it again, installed fine but still get the same error messages. By "anything under /usr/lib/python3.11" do you mean anything related to plex-mpv-shim or just in general? Because I have a ton of stuff in there including two folders related to plex-mpv-shim (plex_mpv_shim & plex_mpv_shim-1.11.0.dist-info). Should i just delete those two folders? |
Those are leftovers from before we updated to Python 3.12. You should not have to manually delete them. If you installed stuff there using pip, you should be able to remove them using pip. Anything from the AUR just rebuild and install the new package. |
Alright I removed the two leftover folders and then pulled down the latest from the AUR, ran makepkg -sic which appeared to build correctly and then tried running plex-mpv-shim and got the same error as before. Apologies for the wall of text but here's everything I did: git clone https://aur.archlinux.org/plex-mpv-shim.git
!! Packages (1) plex-mpv-shim-1.11.0-1 Total Installed Size: 0.58 MiB :: Proceed with installation? [Y/n] y
|
Maybe try rebuilding and reinstalling aur/python-mpv-jsonipc |
Well that certainly did something! It appears plex-mpv-shim actually starts at least, I get a Started HTTP server message. Haven't gotten it to show up as a player in my browser like I used to but getting closer: plex-mpv-shim |
Alright then it seems this can be closed in favor of #109 |
I've been trying to fix plex-mpv-shim for weeks now on Arch Linux. Had it working months ago but it's been broken on my system for a long time now.
I've installed it via pipx and that completes successfully:
But when trying to run it I get this error:
My best guess is that because it's installed in a python virtual environment that's causing it trouble loading up shared libraries but i'm no python expert so I don't know. The warnings about Cannot load GUI and pystray never bothered me since I never used them in the past when I did have plex-mpv-shim working. Any help or pointers in the right direction would be greatly appreciated!
The text was updated successfully, but these errors were encountered: