discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GR 3.8 ported OOT module available in GRC, yet generated code throws exc


From: James Wills
Subject: GR 3.8 ported OOT module available in GRC, yet generated code throws exceptions
Date: Tue, 9 Jun 2020 17:18:57 -0400

Attempting to update a GRC app previously generated under GR 3.7.6. Updated the Epiq maveriq source block to 3.8 standards following the porting guide. The generated python code now throws exceptions on method calls to set public object attributes, e.g. sample_rate:

[test@localhost default]$ ~/grc_apps/mav_specan_ch2.py
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
  File "/home/test/grc_apps/mav_specan_ch2.py", line 451, in <module>
    main()
  File "/home/test/grc_apps/mav_specan_ch2.py", line 429, in main
    tb = top_block_cls()
  File "/home/test/grc_apps/mav_specan_ch2.py", line 331, in __init__
    self.mav_rx.set_sample_rate(samp_rate)
AttributeError: 'maveriq_source_s_sptr' object has no attribute 'set_sample_rate'
Exception ignored in: <built-in function delete_freq_sink_c_sptr>
SystemError: <built-in function delete_freq_sink_c_sptr> returned a result with an error set

Has anyone had a similar experience and can share the fix?

Thanks,
- James

reply via email to

[Prev in Thread] Current Thread [Next in Thread]