discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] usrp examples (ignore earlier)


From: KUNAL RAJANI
Subject: [Discuss-gnuradio] usrp examples (ignore earlier)
Date: Sat, 11 Jun 2005 17:23:10 +0530 (IST)
User-agent: SquirrelMail/1.4.2

having everything installed, and positive feedback according to
http://comsec.com/wiki?UsrpInstall,  i tried to run cpl of usrp egs... the
following was the error i encountered while running ./usrp_oscope:

>>> import oscope
RX d'board A: Basic Rx
RX d'board B: Basic Rx
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "oscope.py", line 79, in ?
    main ()
  File "oscope.py", line 76, in main
    app = stdgui.stdapp (app_flow_graph, "USRP O'scope")
  File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 35, in __init__
    wx.App.__init__ (self)
  File
"/home/kunal/projects/radio/softwares/wxPython-src-2.6.1.0/wxPython/wx/_core.py",
line 7473, in __init__
    self._BootstrapApp()
  File
"/home/kunal/projects/radio/softwares/wxPython-src-2.6.1.0/wxPython/wx/_core.py",
line 7125, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 38, in OnInit
    frame = stdframe (self.flow_graph_maker, self.title)
  File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 59, in __init__
    self.panel = stdpanel (self, self, flow_graph_maker)
  File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/stdgui.py",
line 80, in __init__
    self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
  File "oscope.py", line 70, in __init__
    self.connect (u,c2f_1)
  File
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py",
line 114, in connect
    self._connect (points[i-1], points[i])
  File
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py",
line 119, in _connect
    self._connect_prim (s, d)
  File
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py",
line 124, in _connect_prim
    self._check_valid_src_port (src_endpoint)
  File
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py",
line 218, in _check_valid_src_port
    self._check_port (src_endpoint.block.output_signature(),
src_endpoint.port)
  File
"/usr/local/lib/python2.3/site-packages/gnuradio/gr/basic_flow_graph.py",
line 226, in _check_port
    if signature.max_streams () == -1: # infinite
AttributeError: 'PyCObject' object has no attribute 'max_streams'
>>>
usb_control_msg failed: error sending control message: No such device
usrp_basic_rx: set_fpga_rx_enable failed
d_free_list.size () = 0, d_nblocks = 512
python2.3: fusb_linux.cc:405: virtual bool fusb_ephandle_linux::stop():
Assertion `d_free_list.size () == (unsigned) d_nblocks' failed.
Aborted


actually... i had to add:
>>> import sys
>>> sys.path.append("/home/kunal/projects/radio/softwares/wxPython-src-2.6.1.0/wxPython")
sys.path.append ("/usr/local/lib/python2.3/site-packages")

coz it couldnt find wx module (which i think shud hv been installed by
wxPython)

any help would be appreciated... thanks

-Kunal







reply via email to

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