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/.

Sylvain Munaut 246tnt at gmail.com
Wed Apr 18 15:26:47 UTC 2018


Yeah I saw that this morning, but unfortunately that then breaks it
for anything < 3.7.12 ....

Not sure wtf the guy doing that API change was thinking ....  Still
looking for a solution to support everything.

On Wed, Apr 18, 2018 at 3:39 PM, Ignatius Rivaldi
<minecraft2048 at gmail.com> wrote:
> 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