Error in creating a block

Hi…
I created a block named ‘cost’. But it showing the error as in
screenshot attached what is the problem with this? thanks for your
advice.

Hi Vishwanatha,

you’ve forgot to modify your block’s XML description, which you can find
under /grc in your out of tree module.
I’d like to point you to the guided tutorials [1], which contain
information on that topic [2].

Best regards,
Marcus

[1] https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials
[2]
https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_GNU_Radio_in_Python#325-XML-Files

Hi Vishwanatha,

please stick to the list.

from gnuradio import project
ImportError: cannot import name project

indicates there is some line in your source code where you do that,
“from gnuradio import project”. Maybe you made a mistake in the
tag in your XML, maybe it’s in your source code.

I’d search for “from gnuradio import project” inside your source code,
and if that doesn’t yield where this happens, for “project”.

Greetings,
Marcus

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs