Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT GUI Inspector Sink template error #20

Closed
karel opened this issue Apr 13, 2018 · 11 comments
Closed

QT GUI Inspector Sink template error #20

karel opened this issue Apr 13, 2018 · 11 comments

Comments

@karel
Copy link

karel commented Apr 13, 2018

QT GUI Inspector Sink is not working with GNURadio 3.7.12.0.

Generating: '/home/karel/build/gr-inspector/examples/signal_detection.py'

Executing: /usr/bin/python2 -u /home/karel/build/gr-inspector/examples/signal_detection.py

  File "/home/karel/build/gr-inspector/examples/signal_detection.py", line 77
    self.inspector_qtgui_sink_vf_0 = Template error: #set $win = 'self._%s_win'%$id
                                                  ^
SyntaxError: invalid syntax

>>> Done (return code 1)
@marcusmueller
Copy link
Member

does gnuradio/gnuradio@20ef863 help here?

@karel
Copy link
Author

karel commented Apr 18, 2018

@marcusmueller unfortunately it does not. Latest GNURadio built with gnuradio/gnuradio@d19965e applied and building gr-inspector without the proposed fix in #21 results in the exact same error as stated above.

@KiLLeR-R
Copy link

Tried #21...but unfortunately a new error popped up-

File "/usr/local/lib/python2.7/dist-packages/gnuradio/qtgui/qtgui_swig.py", line 24, in swig_import_helper
_mod = imp.load_module('_qtgui_swig', fp, pathname, description)
ImportError: libqwt-qt4.so.5: cannot open shared object file: No such file or directory

@marcusmueller
Copy link
Member

That's a linker error. There's something else wrong.

@KiLLeR-R
Copy link

cmake_output
cmake_output_2
make_output
Attaching output of my cmake and make...
make install ran without any error..
im kinda lost regarding my error.Any advice will b helpful :)

@KiLLeR-R
Copy link

KiLLeR-R commented May 3, 2018

Upgrading gnuradio to latest version and #21 solved all the mentioned problems.

@sbmueller
Copy link
Member

This should be solved since GNU Radio 3.7.13.3 (gnuradio/gnuradio@dbdd204)

@catalinalb
Copy link

I have the same error as described on top:
self.fosphor_qt_sink_c_0 = Template error: #set $win = 'self._%s_win'%$id
^
SyntaxError: invalid syntax

I still didn't understand how to fix it. Can someone explain in small steps?

Thank you

@sbmueller
Copy link
Member

@catalinalb Which OS are you running? Which version of GNU Radio are you running and how did you install it?

@catalinalb
Copy link

catalinalb commented Dec 27, 2019 via email

@sbmueller
Copy link
Member

Please make sure you have GNU Radio 3.7.13.3 or later installed. E.g. reinstalling the package gnuradio37 should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants