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
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-pyqt5 via apt-get.
Install gr-doa per instructions
Run run_MUSIC_calib_lin_array_simulation.grc
Observe errors
Install python-qt4 and python-qwt5-qt4 via apt-get.
Run run_MUSIC_calib_lin_array_simulation.grc again
Observe different error
The text was updated successfully, but these errors were encountered:
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 thepython-qt4
package is installed, it will then complain that Qwt5 is missing. Oncepython-qwt5-qt4
is installed, the following error results: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 insidegr-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. Thegr-doa
compass module presumesPyQt4
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
python-pyqt5
viaapt-get
.gr-doa
per instructionsrun_MUSIC_calib_lin_array_simulation.grc
python-qt4
andpython-qwt5-qt4
viaapt-get
.run_MUSIC_calib_lin_array_simulation.grc
againThe text was updated successfully, but these errors were encountered: