PyBOMBS installed gnuradio: uhd_usrp_sink not found

After installing gnuradio using PyBOMBS, the USRP Sink and Source blocks
are unavailable.
Below is the message:

1). To verify uhd has been installed:

[03:25pm] [email protected]: ~/download/gnuradio/pybombs $ ./pybombs 

install
uhd
Settled on prefix: /usr/local
Initializing environmental variables…

/usr/local/python/:/usr/local/lib/python2.6/site-packages/:/usr/local/lib64/python2.6/site-packages/:/usr/local/lib/python2.6/dist-packages/:/usr/local/lib64/python2.6/dist-packages/:/usr/local/lib/python2.7/site-packages/:/usr/local/lib64/python2.7/site-packages/:/usr/local/lib/python2.7/dist-packages/:/usr/local/lib64/python2.7/dist-packages/:/usr/local/python/:/usr/local/lib/python2.6/site-packages/:/usr/local/lib64/python2.6/site-packages/:/usr/local/lib/python2.6/dist-packages/:/usr/local/lib64/python2.6/dist-packages/:/usr/local/lib/python2.7/site-packages/:/usr/local/lib64/python2.7/site-packages/:/usr/local/lib/python2.7/dist-packages/:/usr/local/lib64/python2.7/dist-packages/
---------- loading recipes -------------------
Loading recipes …
Loading recipes … done
---------- loading recipes finished ----------

checking for uhd
True
uhd already installed

2). To execute GRC and load the flowgraph:

[email protected]: ~/download/gnuradio/pybombs $ gnuradio-companion
Warning: Block key "blocks_ctrlport_monitor_performance" not found 

when
loading category tree.
Warning: Block key “blocks_ctrlport_monitor_performance” not found
when
loading category tree.
<<< Welcome to GNU Radio Companion v3.7.4git-257-gcb0bc7f0 >>>

Preferences file: /home/activecat/.grc
Block paths:
    /usr/local/share/gnuradio/grc/blocks
    /home/activecat/.grc_gnuradio

Loading:

“/home/activecat/Dropbox/gr-activecat/examples/1002_quad_PLL.grc”
>>> Done

Showing:

“/home/activecat/Dropbox/gr-activecat/examples/1002_quad_PLL.grc”

Loading:

“/home/activecat/Dropbox/gr-activecat/examples/4001_tx_works.grc”
>>> Error: Block key “uhd_usrp_sink” not found in Platform - grc(GNU
Radio Companion)
None
>>> Done

Showing:

“/home/activecat/Dropbox/gr-activecat/examples/4001_tx_works.grc”

3). The error message (part of above message):

>>> Error: Block key "*uhd_usrp_sink*" not found in Platform - 

grc(GNU
Radio Companion)

4). System info:

[email protected]: ~ $ uname -a
Linux mmuDESKTOP 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3+deb7u1 i686

GNU/Linux

[email protected]: ~ $ gcc --version
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There 

is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

[email protected]: ~ $ cmake --version
cmake version 2.8.9

How to solve this?

Have you run:

./pybombs env

…and then run:

source …/target/setup_env.sh (alter file path to taste)

Mike


Mike J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://ettus.com

The “UHD Source” GRC block uses the file called “uhd_usrp_source.xml”.
Make sure that this is in your GRC path.

To set the GRC path you need to go into the ~/.gnuradio folder and
create a
config.conf file and add the following tweaked with your actual path to
the
“UHD source” block:

[grc]
global_blocks_path = /usr/local/share/gnuradio/grc/blocks

Mike


Mike J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://ettus.com

On Wed, May 21, 2014 at 7:31 PM, Mike J.
[email protected]wrote:

Mike

Unfortunately, the file “uhd_usrp_source.xml” doesn’t exist at all.
I’ve searched it in both “/usr/local” and “~/download/gnuradio/target”,
the
file simply does not exists!

On Wed, May 21, 2014 at 4:35 PM, Mike J.
[email protected]wrote:

Have you run:

./pybombs env

…and then run:

source …/target/setup_env.sh (alter file path to taste)

Mike

Yes, this has been performed.
During gnuradio installation, I configured the prefix to /usr/local due
to
a reason mentioned in
http://gnuradio.4.n7.nabble.com/PyBOMBS-install-gnuradio-3-7-4-td48343.html

Hence, I had performed these:
sudo ./pybombs install gnuradio —> install gnuradio to
/usr/local
sudo ./pybombs env —> refresh settings in
/usr/local/setup_env.sh

source /usr/local/setup_env.sh
gnuradio-companion

With these the uhd becomes not available in GRC.

This means that UHD was not installed correctly.

If running the following doesn’t find anything then hunt down and remove
any ghost version of UHD that makes Pybombs think that it is installed
and
then reinstall it using pybombs:

sudo find / -name uhd_usrp_source.xml

Mike


Mike J. M0MIK BSc MIET
Ettus R. Technical Support
Email: [email protected]
Web: http://ettus.com

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