Gnuradio >= 3.7.12.0 breaks gr-fosphor

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Ignatius Rivaldi minecraft2048 at gmail.com
Wed Apr 18 13:39:37 UTC 2018


Hi,

A QT API change in Gnuradio 3.17.12.0 :
https://github.com/gnuradio/gnuradio/pull/1418 breaks modules that
relies on QT windowing system, resulting in Template error on
generated python file, resulting in this error when I try to run the
generated python file:


Executing: /usr/sbin/python2 -u /home/feanor/Development/SDR/top_block.py

  File "/home/feanor/Development/SDR/top_block.py", line 69
    self.fosphor_qt_sink_c_2 = Template error: #set $win = 'self._%s_win'%$id
                                            ^
SyntaxError: invalid syntax

>>> Done (return code 1)


This also affects other modules that relies on QT:

gr-inspector: https://github.com/gnuradio/gr-inspector/issues/2

Following the fix in this pull request for gr-inspector:
https://github.com/gnuradio/gr-inspector/pull/21/commits/9d00bb83c155c84ee8cf6918607e751760ce07e9
by changing a line:

15c15
< $(gui_hint()($win))</make>
---
> $(gui_hint() % $win)</make>

fixes the problem for gr-fosphor and make the flowgraph runnable again



More information about the osmocom-sdr mailing list