You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crashes on launch: AttributeError: partially initialized module 'syncplay.vendor.Qt' has no attribute 'QtGui' (most likely due to a circular import)
#653
Closed
reboot-mk opened this issue
Jan 1, 2024
· 3 comments
% syncplay --no-gui -a syncplay.pl:8996 -n lise -r test --player-path /usr/bin/mpv
Traceback (most recent call last):
File "/usr/bin/syncplay", line 16, in <module>
from syncplay import ep_client
File "/usr/lib/syncplay/syncplay/ep_client.py", line 3, in <module>
from syncplay.clientManager import SyncplayClientManager
File "/usr/lib/syncplay/syncplay/clientManager.py", line 2, in <module>
from syncplay import ui
File "/usr/lib/syncplay/syncplay/ui/__init__.py", line 11, in <module>
from syncplay.ui.gui import MainWindow as GraphicalUI
File "/usr/lib/syncplay/syncplay/ui/gui.py", line 21, in <module>
from syncplay.vendor import Qt
File "/usr/lib/syncplay/syncplay/vendor/Qt.py", line 2029, in <module>
_install()
File "/usr/lib/syncplay/syncplay/vendor/Qt.py", line 2007, in _install
our_submodule = getattr(Qt, name)
^^^^^^^^^^^^^^^^^
AttributeError: partially initialized module 'syncplay.vendor.Qt' has no attribute 'QtGui' (most likely due to a circular import)
To Reproduce
Steps to reproduce the behavior:
Start syncplay.
Expected behavior
Syncplay starts normally.
Version and platform:
OS: Arch Linux 6.6.8-zen1-1-zen
Syncplay version and build type: 1.7.1-2
Media player and version: v0.37.0
Additional context
I'm a bit puzzled as to why I'm getting this error even when I'm not using the GUI... It even pops up when using -v or -h.
The text was updated successfully, but these errors were encountered:
I'm on Windows and have PySide installed so it's a bit hard for me to investigate, but I'll do my best to help figure it out...
On line 12 of /syncplay/ui/__init__.py try changing except ImportError: to except (ImportError, AttributeError) as e:
and let me know if that resolves the issue.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Syncplay starts normally.
Version and platform:
Additional context
I'm a bit puzzled as to why I'm getting this error even when I'm not using the GUI... It even pops up when using -v or -h.
The text was updated successfully, but these errors were encountered: