can it be a permission problem?
I tried added a print before the error and discovered this file it
located
succesfully many times when I use grc:
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xd8ae288>
(’.so’, ‘rb’, 3)
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xd94a910>
(’.so’, ‘rb’, 3)
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xdfb1390>
(’.so’, ‘rb’, 3)
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xd94a860>
(’.so’, ‘rb’, 3)
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xd8d7288>
(’.so’, ‘rb’, 3)
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xd2970d0>
(’.so’, ‘rb’, 3)
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xdcef1d8>
(’.so’, ‘rb’, 3)
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0xd297440>
(’.so’, ‘rb’, 3)
Generating: “/home/guy/.grc_gnuradio/tdma_hier.py”
Executing: “/home/guy/.grc_gnuradio/tdma_hier.py”
linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.003-78-g49a4929b
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0x95b1078>
(’.so’, ‘rb’, 3)
Traceback (most recent call last):
File “/home/guy/.grc_gnuradio/tdma_hier.py”, line 14, in
import gnuradio.extras as gr_extras
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/extras/init.py”,
line
20, in
from extras_swig import *
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py”,
line 31, in
_extras_swig = swig_import_helper()
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py”,
line 27, in swig_import_helper
_mod = imp.load_module(’_extras_swig’, fp, pathname, description)
ImportError: libgnuradio-extras.so: cannot open shared object file: No
such
file or directory
Done
Showing: “/home/guy/Documents/tdma_radio.grc”
Generating: “/home/guy/Documents/tdma_radio.py”
Warning: This flow graph may not have flow control: no audio or usrp
blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU
congestion.
Executing: “/home/guy/Documents/tdma_radio.py”
linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.003-78-g49a4929b
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.pyc
/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so
<open file
‘/usr/local/lib/python2.7/dist-packages/gnuradio/extras/_extras_swig.so’,
mode ‘rb’ at 0x9450078>
(’.so’, ‘rb’, 3)
Traceback (most recent call last):
File “/home/guy/Documents/tdma_radio.py”, line 8, in
execfile("/home/guy/.grc_gnuradio/tdma_hier.py")
File “/home/guy/.grc_gnuradio/tdma_hier.py”, line 14, in
import gnuradio.extras as gr_extras
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/extras/init.py”,
line
20, in
from extras_swig import *
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py”,
line 31, in
_extras_swig = swig_import_helper()
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py”,
line 27, in swig_import_helper
_mod = imp.load_module(’_extras_swig’, fp, pathname, description)
ImportError: libgnuradio-extras.so: cannot open shared object file: No
such
file or directory
as you can see, when it does not work, file pointer is at a completely
different address (0x9######) and when it works the file pointer is at
address of 0xd######
also, I use tried to use sudo command, but it did not work.
any ideas?
Thanks for all the advice
Guy