[Top][All Lists]

[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


I have created My QPSK Demodulator following tutorial 4: 

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 

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:


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
GNU Radio

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,

Attachment: mpsk_stage6.grc
Description: mpsk_stage6.grc

Attachment: GRC_screenshot.png
Description: GRC_screenshot.png

reply via email to

[Prev in Thread] Current Thread [Next in Thread]