Blocks missing when trying examples in Gnuradio Companion

Hi there.

I am trying to run some of the examples that are located
at /usr/local/share/gnuradio/examples/grc/simple

Problem: when trying to open dpsk_loopback.grc i get these errors →

[

Loading:
“/usr/local/share/gnuradio/examples/grc/simple/dpsk_loopback.grc”

Error: Block key “blks2_dxpsk_mod” not found in Platform - grc(GNU
Radio Companion)

Error: Block key “blks2_dxpsk_demod” not found in Platform - grc(GNU
Radio Companion)

Error: Connection between blks2_dxpsk_mod_0(0) and
blks2_dxpsk_demod_0(0) could not be made.
source block id “blks2_dxpsk_mod_0” not in block ids

Error: Connection between blks2_dxpsk_demod_0(0) and
blks2_packet_decoder_0(0) could not be made.
source block id “blks2_dxpsk_demod_0” not in block ids

Error: Connection between blks2_packet_encoder_0(0) and
blks2_dxpsk_mod_0(0) could not be made.
sink block id “blks2_dxpsk_mod_0” not in block ids

Done

]

Also, I tried some of the examples that Alex Csete has provided. For
instance when I try the am_rx.grc example downloaded from here

I get these errors →

[
Loading:
“/home/user1/mine_gnuradio_filer/csete-gnuradio-grc-examples-d7f8024/receiver/am_rx.grc”

Error: Block key “usrp_simple_source_x” not found in Platform -
grc(GNU Radio Companion)

Error: Connection between usrp_src(0) and xlating_fir_filter(0)
could not be made.
source block id “usrp_src” not in block ids

Done

Showing:
“/home/user1/mine_gnuradio_filer/csete-gnuradio-grc-examples-d7f8024/receiver/am_rx.grc”
]

It looks like I have something similar installed here

/usr/local/share/gnuradio/grc/blocks/gr_freq_xlating_fir_filter_xxx.xml

It also complains about not finfing usrp_simple_source_x
When i do a locate with an updated db on that I cannot find this xml on
the system at all.

About my setup:

*I run Ubuntu 10.04 LTS on an Intel box with 3GB RAM and a 128GB SSD
disk. Ubuntu is updated via update manager. The install is stable.

*I have no gnuradio packages installed via Synaptic Package Manager

*To install the newest version of gnuradio from GIT I ran the script
located here http://www.sbrac.org/files/build-gnuradio
The process went fine with no errors or warnings

*NOTE: I do not have an USRP connected. I run the Funcube dongle.

*My GRC blocks are installed here
→ /usr/local/share/gnuradio/grc/blocks/

Questions:

It looks like I may miss one or several components. Do you have any
hints about what might have gone wrong?

I see there are two versions. One non UHD and one UHD. I dont know what
that means since I am a newcomer to Gnuradio.

Hope you can help-

On 01/18/2012 04:17 PM, radius wrote:

Hi there.

I am trying to run some of the examples that are located
at /usr/local/share/gnuradio/examples/grc/simple
This looks like GRC can’t find its XML blocks.

How do you invoke “grc” ??

What happens when you type:

which grc

which gnuradio-companion

??

Did you follow the advice given by build-gnuradio about your PYTHONPATH
variable setting?


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

On Wed, Jan 18, 2012 at 4:17 PM, radius [email protected] wrote:

“/usr/local/share/gnuradio/examples/grc/simple/dpsk_loopback.grc”

]

“/home/user1/mine_gnuradio_filer/csete-gnuradio-grc-examples-d7f8024/receiver/am_rx.grc”

Showing:
the system at all.

===========

It looks like I may miss one or several components. Do you have any
hints about what might have gone wrong?

I see there are two versions. One non UHD and one UHD. I dont know what
that means since I am a newcomer to Gnuradio.

Hope you can help-

It looks like you might have a version mismatch between two programs. As
of
3.5, we moved all digital modulation-related blocks into gr-digital,
see:
http://gnuradio.org/redmine/projects/gnuradio/wiki/ChangeLogV3_5

You’ll import these using “from gnuradio import digital” and follow your
nose from there. There may be a few constructor argument changes, but
they
should be pretty obvious.