Forum: GNU Radio RuntimeError: Unable to find USRP #0

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B725aa2acb36e3789c0a754c539c497a?d=identicon&s=25 teka yemane (Guest)
on 2008-12-23 19:53
(Received via mailing list)
Hello guys,
I have already installed the gnuradio on Ubuntu 8.10 (interpid) and the
dial_tone.py is working fine. Then, I was trying to test the
usrp_wfm_rcv.py with my USRP which takes input from 10.7M scanner but I
came to the following error:

ubuntuvm@ubuntuvm:~/Desktop/gnuradio-3.1.3/gnuradio-examples/python/usrp$
./usrp_wfm_rcv.py -f 10.7M
Traceback (most recent call last):
  File "./usrp_wfm_rcv.py", line 290, in <module>
    app = stdgui2.stdapp (wfm_rx_block, "USRP WFM RX")
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line
36, in __init__
    wx.App.__init__ (self, redirect=False)
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7912, in __init__
    self._BootstrapApp()
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7487, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line
39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line
60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line
81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "./usrp_wfm_rcv.py", line 79, in __init__
    self.u = usrp.source_c()                    # usrp is 
data source
  File "/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py", line
247, in __init__
    _ensure_rev2(which)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py", line
85, in _ensure_rev2
    v = _look_for_usrp(which)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py", line
79, in _look_for_usrp
    raise RuntimeError, "Unable to find USRP #%d" % (which,)
RuntimeError: Unable to find USRP #0

Any help is appreciated!
Teka
   
45a1bbc742210950df5afa87895ff0ab?d=identicon&s=25 Igor Almeida (Guest)
on 2008-12-24 02:02
(Received via mailing list)
On Tue, Dec 23, 2008 at 3:53 PM, teka yemane <hi2tya@yahoo.com> wrote:
>     app = stdgui2.stdapp (wfm_rx_block, "USRP WFM RX")
> line 39, in OnInit
> in __init__
> Teka
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>

I have recently had this kind of problem, so maybe I can help.
Did you make sure udev is working correctly and you have read/write
permissions to the block device?



--
Igor Almeida
8609964d75de56552443da57880d4424?d=identicon&s=25 Bruh G. (bruh)
on 2008-12-24 21:40
teka yemane wrote:
> Hello guys,
> I have already installed the gnuradio on Ubuntu 8.10 (interpid) and the
> dial_tone.py is working fine. Then, I was trying to test the
> usrp_wfm_rcv.py with my USRP which takes input from 10.7M scanner but I
> came to the following error:
>

>     raise RuntimeError, "Unable to find USRP #%d" % (which,)
> RuntimeError: Unable to find USRP #0
>
> Any help is appreciated!
> Teka
>    

I usually face this error. and always it is when i didnot correctly plug
in the USB cable or the power cable to the USRP.

I don't know whether it is same problem for you. So, ignore it if not.
This topic is locked and can not be replied to.