-
Notifications
You must be signed in to change notification settings - Fork 214
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
Syncplay dependency issue #673
Comments
I'm not a Linux user so will mostly rely on others to provide support on this, but I do have some questions that will hopefully move things forwards:
According to #199 Flatpak "seems to be incompatible with current model of integration with media players Syncplay uses". As per #643 we tried AppImages and Snap and it ended up causing more compatibility issues than it solved. That issue does however include a potential option in terms of using pipx but nobody has tried it yet to see if it works. |
@ChunkyPanda03 All of the problems you described aside - Syncplay is just in the Debian repositories. So unless you really need the latest version, you can just I'll second the question of @Et0h what version of pyside do you have and how it is installed? The message you are getting is basically a simple wrapper on failed import of pyside. Regarding flatpak, as well as snaps and appimages - between Syncplay being Python application that also uses Qt and the need to control external media player, it turned out in our experience that packaging it into any of those is very difficult. For flatpak we never figured where to even start and AppImage as well as Snap that we managed to build at some point were either unreliable or straight up broken. |
@daniel-123 running it through the downloaded deb apt repo gets me this however I know my current set up is messy and slightly unorthodox so I don't know if this is a me issue. @Et0h Syncplay was running whatever the latest "release" build was on the git repo and what command should I run to find the pyside version I know there are deb packages and pip installs. And on the terms of flatpak and other runners is there any provided venv configurations you all use? Also it does work fine in "--no-gui" mode I think it is a pyside issue. running the old apt image works fine however. this is when running the apt install version
|
I have now updated Syncplay to hopefully provide more detail in the error messages when loading PySide fails. See GIT HEAD / https://github.com/Syncplay/syncplay/actions/runs/7978410389 My understanding is that if you are using Python >=3.12 then you will need to have PySide6 installed as earlier versions of PySide only support up to 3.11. A quick look on packages.debian.org seems to indicate that there is no PySide6 packages for Debian yet. I assume this means you would either need to install PySide6 via |
ok I have it, I first off purged and fixed some of my python packages and installs I think that my installed old python 3.4 build was messing with me. then after some on and off tinkering I have a method for getting it to run
tada edit: this is using python 13 |
going to keep this open to test the odd folder permission issue will close later |
If you use flatpak vlc you can add the extension by creating a directory |
Describe the bug
syncplay is not work currently working on Debian while I have not tried a fresh install i.e. vm following the build instructions yields dependency issues
To Reproduce
Steps to reproduce the behavior:
follow
Expected behavior
syncplay gui should start
output
running syncplay using
$syncplay -g
yeilds:
syncplay -g /usr/lib/syncplay/syncplay/utils.py:304: SyntaxWarning: invalid escape sequence '\g' return re.sub(constants.ROOM_NAME_STRIP_REGEX, "\g<roomnamebase>", RoomName) /usr/lib/syncplay/syncplay/utils.py:482: SyntaxWarning: invalid escape sequence '\+' CONTROLLED_ROOM_REGEX = re.compile("^\+(.*):(\w{12})$") /usr/lib/syncplay/syncplay/utils.py:483: SyntaxWarning: invalid escape sequence '\d' PASSWORD_REGEX = re.compile("[A-Z]{2}-\d{3}-\d{3}") /usr/lib/syncplay/syncplay/constants.py:115: SyntaxWarning: invalid escape sequence '\.' FILENAME_STRIP_REGEX = "[-~_\.\[\](): ]" /usr/lib/syncplay/syncplay/constants.py:116: SyntaxWarning: invalid escape sequence '\-' CONTROL_PASSWORD_STRIP_REGEX = "[^a-zA-Z0-9\-]" /usr/lib/syncplay/syncplay/constants.py:117: SyntaxWarning: invalid escape sequence '\+' ROOM_NAME_STRIP_REGEX = "^(\+)(?P<roomnamebase>.*)(:)(\w{12})$" /usr/lib/syncplay/syncplay/constants.py:165: SyntaxWarning: invalid escape sequence '\m' MPC64_EXECUTABLES = ["mpc-hc64.exe", "mpc-hc64_nvo.exe", "x64\mpc-hc\shoukaku.exe"] /usr/lib/syncplay/syncplay/constants.py:303: SyntaxWarning: invalid escape sequence '\.' MPLAYER_ANSWER_REGEX = "^ANS_([a-zA-Z_-]+)=(.+)$|^(Exiting)\.\.\. \((.+)\)$" Could not import GUI libraries. If you do not have PySide installed then you will need to install it for the GUI to work. Hostname can't be empty! Some necessary arguments are missing, refer to --help
I think this is an issue with python version (i have messed around with older version) so i run from the release tarball
$ python3.12 syncplayClient.py
python3.12 syncplayClient.py -g Could not import GUI libraries. If you do not have PySide installed then you will need to install it for the GUI to work. Hostname can't be empty! Some necessary arguments are missing, refer to --help
Version and platform:
-Debian 12
side note I do not know if this is a me issue however I have also run from a venv and received the same result I would recommend making a flatpak of the app to fix future dependency issues.
The text was updated successfully, but these errors were encountered: