Hi Martin, and thank you for your help. The answer is gr-tutorial.
Thanks to the correction suggested by Sebastian I can go beyond this step, but then GRC fails to find the library compiled and installed following the instructions in the tutorial: File "/usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.py", line 24, in swig_import_helper _mod = imp.load_module('_tutorial_swig', fp, pathname, description) ImportError: libgnuradio-tutorial.so: cannot open shared object file: No such file or directory Note: the installer (sudo make install) put the library in: /usr/local/lib/ If you have a hint, thanks for letting me know. Best regards, Damien On 09. 01. 15 16:31, Martin Braun wrote: > Was this code you wrote, or is it from gr-tutorial? > > M > > On 01/09/2015 03:59 PM, PIGUET Damien wrote: >> Oh sorry I was looking at the wrong line. Now it works, thanks! >> >> Damien >> >> >> On 09. 01. 15 15:42, Koslowski, Sebastian (CEL) wrote: >>> * PGP Signed by an unknown key >>> >>> >>> On 01/09/2015 03:36 PM, PIGUET Damien wrote: >>>> Here is my block XML: >>>> >>>> <?xml version="1.0"?> >>>> <block> >>>> <name>My QPSK Demodulator</name> >>>> <key>tutorial_my_qpsk_demod_cb</key> >>>> <category>Tutorial</category> >>>> <import>import tutorial</import> >>>> <make>tutorial.my_qpsk_demod_cb($Gray_code)</make> >>>> <param> >>>> <name>Gray Code</name> >>>> <key>gray_code</key> >>>> ... >>>> </block> >>> GRC uses whatever you put in <make> to create the python code. Yours >>> still reads >>> >>> tutorial.my_qpsk_demod_cb($Gray_code) >>> >>> instead of >>> >>> tutorial.my_qpsk_demod_cb($gray_code) >>> >>> which is why GRC can't replace the template variable "$*G*ray_code". It >>> is undefined. >>> >>> >>> >>> * Unknown Key >>> * 0xF2664303 >>> >>> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio