Thanks for your answer. I edited config.conf to:

[grc]
local_blocks_path=/home/gnuradio/gnuradio-uhd/gnuradio/grc/blocks:/home/gnuradio/gnuradio-uhd/gnuradio/gr-uhd/grc

Now I can start grc and see the uhd blocks. The next problem is, that
I can't execute any flow graphs out of grc, even if I run sudo grc I
get:

Executing: "/home/gnuradio/top_block.py"
[Errno 13] Permission denied


thats weird, what are the permissions on top_block.py?

My workaround was to execute the flowgraph from shell which works as
long as I have no uhd blocks in my graph. With uhd blocks I get:

gnura...@nb-gnuradio:~$ ./top_block.py
Traceback (most recent call last):
   File "./top_block.py", line 10, in<module>
     from gnuradio import uhd
ImportError: cannot import name uhd

What can I do to solve this problem?

When I install my gnuradio/uhd stuff into a non-standard prefix, I setup the paths in .bashrc like so:

derp_prefix=/home/jblum/usr
export PKG_CONFIG_PATH=${derp_prefix}/lib/pkgconfig:${PKG_CONFIG_PATH}
export PATH=${derp_prefix}/bin:$PATH
export PYTHONPATH=${derp_prefix}/lib64/python2.6/site-packages:$PYTHONPATH
export GRC_BLOCKS_PATH=${derp_prefix}/share/gnuradio/grc/blocks
export LD_LIBRARY_PATH=${derp_prefix}/lib

Hope that helps,
-Josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to