Usrp2 block error in gnuradio 3.6.2

hello All,
dose any one have idea about this error?
i install USRP block in gnuradio 3.6.2 for this file but still have an
error.
[email protected]:/home/muhammadjunaid/airprobe/gsm-receiver/src/python#
./gsm_receive_usrp2.py
Traceback (most recent call last):
File “./gsm_receive_usrp2.py”, line 6, in
from gnuradio import gr, gru, blks2
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/init.py”,
line 37, in
exec “from gnuradio.blks2impl.%s import *” % (f,)
File “”, line 1, in
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/cvsd.py”,
line 24, in
from gnuradio.vocoder import cvsd_vocoder
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/vocoder/cvsd_vocoder.py”,
line 26, in
_cvsd_vocoder = swig_import_helper()
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/vocoder/cvsd_vocoder.py”,
line 22, in swig_import_helper
_mod = imp.load_module(’_cvsd_vocoder’, fp, pathname, description)
ImportError: libgnuradio-cvsd-vocoder-3.4.2.so.0: cannot open shared
object file: No such file or directory

Thanks
Regards
Muhammad Junaid
[email protected]

On Tue, Sep 4, 2012 at 3:17 AM, Muhammad JUNAID [email protected]
wrote:

line 37, in
“/usr/local/lib/python2.7/dist-packages/gnuradio/vocoder/cvsd_vocoder.py”,
line 22, in swig_import_helper
_mod = imp.load_module(’_cvsd_vocoder’, fp, pathname, description)
ImportError: libgnuradio-cvsd-vocoder-3.4.2.so.0: cannot open shared object
file: No such file or directory

Thanks
Regards
Muhammad Junaid
[email protected]
http://junaidmuhammad.webs.com/

Muhammad,

It looks like there’s a version issue with your installation. You’re
trying to install and run 3.6.2 (from git, I assume), but something is
looking for libgnuradio-cvsd-vocoder, which a) is from 3.4.2 here and
b) doesn’t exist any longer. All vocoders are now in
libgnuradio-vocoder.

I suggest uninstalling and removing any old GNU Radio install files
from your system (there is information on the webpage and in the
mailing list about how to do this) and reinstall 3.6.2.

Tom

On 09/04/2012 12:17 AM, Muhammad JUNAID wrote:

File “/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/cvsd.py”, line
24, in
from gnuradio.vocoder import cvsd_vocoder
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/vocoder/cvsd_vocoder.py”, line
26, in
_cvsd_vocoder = swig_import_helper()
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/vocoder/cvsd_vocoder.py”, line
22, in swig_import_helper
_mod = imp.load_module(’_cvsd_vocoder’, fp, pathname, description)
ImportError: libgnuradio-cvsd-vocoder-3.4.2.so.0: cannot open shared object
file: No such file or directory

If this is a debian based machine, its often necessary to run sudo
ldconfig to fix these kind of issues.

-josh

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