-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Issue Description
The first time this module is installed, and run_MUSIC_calib_lin_array_simulation.grc is compiled and run, it will complain that PyQt4 is missing. Once the python-qt4 package is installed, it will then complain that Qwt5 is missing. Once python-qwt5-qt4 is installed, the following error results:
RuntimeError: the PyQt4.QtCore module failed to register with the sip module
This seems to result from a conflict in the GUI loading both Qt5 and Qt4 at the same time. GRC compiles into a script that uses PyQt5, but the compass widget inside gr-doa is coded to use Qt4.
The problem is that many people have moved to Qt5, and GRC is fine building Python flowgraphs in Qt mode that use PyQt5 when it's installed and available. The gr-doa compass module presumes PyQt4 is installed, which may not be true.
Setup Details
Ubuntu Bionic (19.04) 64-bit, desktop version.
Initial condition: python-pyqt5 package is installed.
Expected Behavior
The simulation runs and the GUI is shown.
Actual Behaviour
PyQt5 and PyQt4 conflict and the GUI cannot start.
Steps to reproduce the problem
- Install
python-pyqt5viaapt-get. - Install
gr-doaper instructions - Run
run_MUSIC_calib_lin_array_simulation.grc - Observe errors
- Install
python-qt4andpython-qwt5-qt4viaapt-get. - Run
run_MUSIC_calib_lin_array_simulation.grcagain - Observe different error