[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Error in Python file generated by GnuRadio Companion
From: |
PIGUET Damien |
Subject: |
[Discuss-gnuradio] Error in Python file generated by GnuRadio Companion |
Date: |
Fri, 9 Jan 2015 13:31:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
Hello,
I have created My QPSK Demodulator following tutorial 4:
https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_GNU_Radio_in_C++
My source files (C++, XML) look exactly like those in the repository and
the build and installation produced the same output as shown in the
tutorial.
I have created a .gnuradio/config.conf file in my home directory so that
I could add the XML installation file to GRC search path:
[grc]
local_blocks_path=/usr/local/share/gnuradio/grc/blocks
My QPSK Demodulator appears correctly in GRC and I could connect the
block in the attached GRC application (source and screenshot attached).
However, when I click on the "Generate the flow graph" button, the
Python file generated has the following lines:
self.tutorial_my_qpsk_demod_cb_0 = -------->
cannot find 'Gray_code': tutorial.my_qpsk_demod_cb($Gray_code)
<--------
And if I execute the graph, the following error happens, unsurprisingly:
Executing: "/home/dpi/projects/seethroughwalls/CHa/mpsk_stage6.py"
File "/home/dpi/projects/seethroughwalls/CHa/mpsk_stage6.py", line 197
self.tutorial_my_qpsk_demod_cb_0 = -------->
^
SyntaxError: invalid syntax
My configuration:
Ubuntu 14.04
GNU Radio Companion 3.7.2.1
GNU Radio 3.7.2.1
All installed via Ubuntu packages.
I am sure this is a simple thing, but unfortunately my investigations so
far have been unsuccessful. Any help would be appreciated.
Best regards,
Damien
mpsk_stage6.grc
Description: mpsk_stage6.grc
GRC_screenshot.png
Description: GRC_screenshot.png
- [Discuss-gnuradio] Error in Python file generated by GnuRadio Companion,
PIGUET Damien <=