Re: [Discuss-gnuradio] GRC Template Error

2018-04-17 Thread Sylvain Munaut
Hi all,


It's due to commit b5396df5547a5c29218a18a469454f5db03e6ab5 in GNURadio.

Now my question to the author / commiter of this : How is one supposed
to write a OOT that works with both 3.7.12 and previous versions ?!?


Cheers,

Sylvain

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] GRC Template Error

2018-04-14 Thread Ernest Fardin
Hi,

I installed GNU Radio v3.7.12.0-4-g67a2427 from source on Ubuntu 16.04.3
LTS. When I try to run blocks from some OOT modules, for example gr-pyqt, I
get a template error when running the gr-pyqt table example:

  File ".../gr-pyqt/examples/table_test.py", line 75
self.my_table = Template error: #set $win = 'self._%s_win'%$id
 ^
SyntaxError: invalid syntax

Looking into this a bit further, the line

$(gui_hint()($win))

in pyqt_table.xml [1] seems to be the cause. If I change the line to:

$(gui_hint()%($win))

everthing works as expected. It this something that needs to be addressed
upstream (in GRC) or is it better to make changes to the block XML code?

Cheers,

Ernest

[1] https://github.com/osh/gr-pyqt/blob/master/grc/pyqt_table.xml
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio