Post Go back to editing

Pluto run time error with GRC 3.10

I have managed to build GRC 3.10 from source on a Raspberry Pi4 and the Bullseye release of Raspian.  The primary aim being to have a version with volk built specifically for the 64 bit arm platform.

Some flow graphs that I have used on 3.8 work with signifcantly better performance and GRC GUI is much more responsive.  But unfortunately some flow graphs do not.  In one case the flow graph initially runs and then dies when the tx_atten is changed (via a slider).  The error trace shows a call to set_attenuation() function call.  It seems the call is expecting prameters of  (iio_instance, port_number, atten_value) but is only getting (iio_instance, atten_value).  Also, there is no port number property on the Pluto block that is on the flowgraph.

My build is from GRC v3.10.2.0, and I did not seem to have to build libad9363-iio or gr-iio as I had done before.

I suspect that I have a library that is somehow incompatible, but no idea which one or how to fix it.  I enclose the python traceback, any help is appreciated.


Executing: /usr/bin/python3 -u /media/pi/..../

qt.qpa.xcb: QXcbConnection: XCB error: 148 (Unknown), sequence: 192, resource id: 0, major code: 140 (Unknown), minor code: 20
WARNING: Unknown parameter '0' in <context>
WARNING: Unknown parameter '23' in <context>
WARNING: Unknown parameter 'v0.23' in <context>
UUUTraceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/gnuradio/qtgui/", line 198, in changed
  File "/usr/local/lib/python3.9/dist-packages/gnuradio/qtgui/", line 302, in sliderChanged
  File "/media/pi/GREEN_MS/6_Receiving/", line 439, in set_tx_atten
TypeError: set_attenuation(): incompatible function arguments. The following argument types are supported:
    1. (self: gnuradio.iio.iio_python.fmcomms2_sink_fc32, chan: int, attenuation: float) -> None

Invoked with: <gnuradio.iio.iio_python.fmcomms2_sink_fc32 object at 0x7f8cc272f0>, 37.0

>>> Done (return code -6)