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
When i first run a sample rate demo, i got the following error:
self._snr_win = RangeWidget(self._snr_range, self.set_snr, 'snr', "counter_slider", float, QtCore.Qt.Horizontal)
TypeError: __init__() takes from 5 to 6 positional arguments but 7 were given
I solve the error by manually removing the latest parameter QtCore.Qt.Horizontal. Some guys said that results from my previous installed GNU Radio (master branch, version 3.9 ). But i have removed the old gnu radio by
Did same update to 3.8 using PPA and got same problem
Seems to be a missing line to import QtCore in file:
/usr/share/gnuradio/grc/blocks/qtgui_range.block.yml
open file (eg sudo gedit <location/filename>) and edit imports to:
imports: |-
from gnuradio.qtgui import Range, RangeWidget
from PyQt5 import QtCore
Did same update to 3.8 using PPA and got same problem
Seems to be a missing line to import QtCore in file:
/usr/share/gnuradio/grc/blocks/qtgui_range.block.yml
open file (eg sudo gedit <location/filename>) and edit imports to:
imports: |-
from gnuradio.qtgui import Range, RangeWidget
from PyQt5 import QtCore
Hi,
My GNU Radio version is 3.8. My python version is 3.8.2. My OS is Ubuntu 20.04.
I installed GNU Radio by:
When i first run a sample rate demo, i got the following error:
I solve the error by manually removing the latest parameter QtCore.Qt.Horizontal. Some guys said that results from my previous installed GNU Radio (master branch, version 3.9 ). But i have removed the old gnu radio by
It doesn't help.
Any idea about how to solve the problem?
The text was updated successfully, but these errors were encountered: