falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.55k stars 144 forks source link

Carla doesn't start with python-pyqt5 5.15.8 #1735

Closed SnipeXandrej closed 1 year ago

SnipeXandrej commented 1 year ago

Carla with python-pyqt5 5.15.8 doesn't start and immediately prints a traceback in the terminal, but Carla does start after downgrading python-pyqt5 to 5.15.7

This is on Arch Linux.

snipex@Zephyrus ~                                                                                                                                                                                                                                                  [14:51:03]
> $ carla
Traceback (most recent call last):
  File "/usr/share/carla/carla", line 22, in <module>
    from carla_host import *
  File "/usr/share/carla/carla_host.py", line 53, in <module>
    import ui_carla_host
  File "/usr/share/carla/ui_carla_host.py", line 847, in <module>
    from widgets.draggablegraphicsview import DraggableGraphicsView
  File "/usr/share/carla/widgets/draggablegraphicsview.py", line 30, in <module>
    from carla_shared import MACOS, CustomMessageBox, gCarla
  File "/usr/share/carla/carla_shared.py", line 41, in <module>
    from PyQt5.Qt import PYQT_VERSION_STR
ImportError: cannot import name 'PYQT_VERSION_STR' from 'PyQt5.Qt' (/usr/lib/python3.10/site-packages/PyQt5/Qt.abi3.so)
falkTX commented 1 year ago

Should be fixed in 8c662a990f33e278a738dcc4f5b43c086c12166b, you can use the hotfix-2.5 branch for testing. Feedback is much appreciated, I dont personally have a way to test this myself for now

SnipeXandrej commented 1 year ago

That commit does indeed fix the issue.

As a side note, there seems to be a regression in sip 6.7.6 that's causing these issues. So at least on Arch they pushed an update 2 hours ago as a workaround, they basically rebuilt the pyqt5 package against the older sip 6.7.5 instead of the newer sip 6.7.6 and therefore fixing it on Arch.

https://bugs.archlinux.org/task/77315