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

GUI Does not appear on Arch #688

Open
LeKite opened this issue Jul 9, 2024 · 6 comments
Open

GUI Does not appear on Arch #688

LeKite opened this issue Jul 9, 2024 · 6 comments
Assignees
Labels
External bug Problem lies outside of Syncplay code. Linux

Comments

@LeKite
Copy link

LeKite commented Jul 9, 2024

Version and platform:

  • OS: Arch Linux
  • Syncplay version and build type: latest from arch repo
  • Media player and version: latest mpv from arch repo

Additional info
I've read here and there that it is an issue with python.. but it should be fixed already. Syncplay worked fine for months for me, some day probably due to pyside2 it stopped opening the GUI. What should I do? I expected it to work since I have latest syncplay version...
I've already tried removing it and reinstalling with no success.

@daniel-123
Copy link
Contributor

I'm looking at package from official Arch repo - this is what you installed?

I would have three main questions:

  • Does it say anything in the standard output when you try to run it from command line?
  • Does it work normally with --no-gui switch? This will tell you whether there is something broken with the GUI and associated libraries or if it's something more fundamental.
  • Do you have pyside6 installed along with other optional dependencies? Not sure how those are treated by default on Arch.

@LeKite
Copy link
Author

LeKite commented Jul 9, 2024

I'm looking at package from official Arch repo - this is what you installed?

I would have three main questions:

  • Does it say anything in the standard output when you try to run it from command line?

  • Does it work normally with --no-gui switch? This will tell you whether there is something broken with the GUI and associated libraries or if it's something more fundamental.

  • Do you have pyside6 installed along with other optional dependencies? Not sure how those are treated by default on Arch.

Actually, thanks for answering, I realized I missed pyside6. Why doesn't it get shipped with dependencies?

@daniel-123
Copy link
Contributor

daniel-123 commented Jul 9, 2024

Why doesn't it get shipped with dependencies?

That's a question purely to the maintainer of the Arch package - they have decided that it's an optional dependency. Packages that are in repositories of various distributions aren't really controlled directly by Syncplay devs.

From Syncplay side - technically GUI is optional, even though it's basically the default.

As a reference - on Debian and its derivatives, the Syncplay package does straight up require GUI components. Though given respective philosophies of Debian and Arch - their respective approaches to Syncplay dependencies make perfect sense IMHO.

@daniel-123 daniel-123 added Linux External bug Problem lies outside of Syncplay code. and removed bug / problem labels Jul 9, 2024
@LeKite
Copy link
Author

LeKite commented Jul 10, 2024

I can see what you're saying, but every application that has a gui ships it, so why not do it for Syncplay? I understand that it's up to the package maintainer and yeah well I wish they added the dependency to the package. Like it was! Because when I first put syncplay on my system I had 0 issues with the GUI.

@FichteFoll
Copy link
Contributor

FichteFoll commented Jul 10, 2024

pyside6 itself has several dependencies, notably qt6, which you wouldn't need to install if you were just interested in using syncplay as a standalone without a GUI. Thus, having this as an optional dependency certainly makes sense.

Besides, there is also software with multiple separate GUIs, such as trackma providing an interface for qt, gtk, ncurses and a CLI and you'd rarely use both qt and gtk.

This wasn't a recent change, however, since pyside2 has also been an optional dependency 2 years ago. Maybe something else on your system required it and thus the switch to pyside6 (still an optdep) caused the problem since it's not required by something else anymore (because I ran into it as well).

@sarahzrf
Copy link

sarahzrf commented Aug 11, 2024

I had this same issue just now and I discovered by attempting to launch syncplay from a terminal that the failure to open a GUI is in fact a segfault. That seems like a bug to me. At a minimum, I would expect software run in a mode that requires missing optional dependencies to display some kind of legible error message about the absent dependencies, not simply close without warning. Even if there were a short message on stdout instead of a segfault, though, I still think this is terrible UX; many syncplay users probably wouldn't even think to launch software that they think of as GUI-based from a terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External bug Problem lies outside of Syncplay code. Linux
Projects
None yet
Development

No branches or pull requests

4 participants