I hope my latest commit on gnuradio maint-3.7 fixes that; would someone
be as nice as to try that?
Sorry, this bug slipped my maintainer attention.
Best regards,
Marcus
On Wed, 2018-04-18 at 17:26 +0200, Sylvain Munaut wrote:
> 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(a)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/9d00bb83c1
> > 55c84ee8cf6918607e751760ce07e9
> > 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