discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Problem with gnuradio-companion


From: Mike Willis
Subject: Re: [Discuss-gnuradio] Problem with gnuradio-companion
Date: Wed, 3 Aug 2016 19:46:41 +0100

Oops - hit send before finishing.

So, eventually I discovered that there were some files in
/usr/lib/python2.7/dist-packages/gnuradio - not sure how they got
there but they were dated the same date I upgraded 14.04 to 16.04. I
moved them all to another place and that eliminated the error. But
these are not in the path so should not have been found - unless
python has a default path, but that would be stupid as it would cause
all sorts of issues, like this one.

But still, all my blocks are missing. How do I recompile my own block
so gnuradio running in a prefix that is not /usr/local can find it?
Presumably in a switch to cmake but there is nothing about this I can
find in the pybombs documentation.

Mike



On Wed, Aug 3, 2016 at 7:34 PM, Mike Willis <address@hidden> wrote:
> The file is there so its not that. Nor was the suggestion by Cinaed
> Simson successful. Gnuradio runs OK, but not gnuradio-companion. Hmm.
>
> address@hidden:~/gnuradio/lib/python2.7/dist-packages/gnuradio/grc$ ls -l
> total 52
> -rw-r--r-- 1 mike mike 2374 Aug  1 12:22 checks.py
> -rw-r--r-- 1 mike mike 2420 Aug  1 13:43 checks.pyc
> -rw-r--r-- 1 mike mike 2420 Aug  1 13:43 checks.pyo
> drwxrwxr-x 4 mike mike 4096 Aug  1 13:59 core
> drwxrwxr-x 2 mike mike 4096 Aug  1 13:59 gui
> -rw-r--r-- 1 mike mike    0 Aug  1 12:22 __init__.py
> -rw-r--r-- 1 mike mike  135 Aug  1 13:43 __init__.pyc
> -rw-r--r-- 1 mike mike  135 Aug  1 13:43 __init__.pyo
> -rw-r--r-- 1 mike mike  834 Aug  1 12:22 __main__.py
> -rw-r--r-- 1 mike mike 1742 Aug  1 12:22 main.py
> -rw-r--r-- 1 mike mike  184 Aug  1 13:43 __main__.pyc
> -rw-r--r-- 1 mike mike 1331 Aug  1 13:43 main.pyc
> -rw-r--r-- 1 mike mike  184 Aug  1 13:43 __main__.pyo
> -rw-r--r-- 1 mike mike 1331 Aug  1 13:43 main.pyo
>
> The paths are set up in setup_env.sh
>
> # WARNING: This file is auto-generated by pybombs, any manual changes
> to it may be overwritten!
> export PATH="/home/mike/gnuradio/bin:$PATH"
> export 
> PYTHONPATH="/home/mike/gnuradio/python:/home/mike/gnuradio/lib/python2.6/site-packages:/home/mike/gnuradio/lib64/python2.6/site-packages:/home/mike/gnuradio/lib/python2.6/dist-packages:/home/mike/gnuradio/lib64/python2.6/dist-packages:/home/mike/gnuradio/lib/python2.7/site-packages:/home/mike/gnuradio/lib64/python2.7/site-packages:/home/mike/gnuradio/lib/python2.7/dist-packages:/home/mike/gnuradio/lib64/python2.7/dist-packages:$PYTHONPATH"
> export 
> LD_LIBRARY_PATH="/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:$LD_LIBRARY_PATH"
> export 
> LIBRARY_PATH="/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:$LIBRARY_PATH"
> export 
> PKG_CONFIG_PATH="/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:$PKG_CONFIG_PATH"
> export PYBOMBS_PREFIX="/home/mike/gnuradio"
> # If we're in a Python virtualenv, activate that
> if [ -r /home/mike/gnuradio/bin/activate ]; then
>     source /home/mike/gnuradio/bin/activate



reply via email to

[Prev in Thread] Current Thread [Next in Thread]