[Top][All Lists]

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

Re: [Discuss-gnuradio] Bad address

From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Bad address
Date: Tue, 13 Aug 2013 19:50:33 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 08/13/2013 07:01 PM, sumitstop wrote:
Yesterday I made a VM with Ubuntu 10.04 and installed gnuradio (

*uhd_find_devices is working fine *

$ uhd_find_devices
linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.005.003-123-g1c391767

-- UHD Device 0
Device Address:
     type: usrp1
     name: node_4
     serial: 4d9e2cab

*lsusb gave this *

$ lsusb
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID fffe:0002
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

*While uhd_fft is throwing this error*

$ uhd_fft
linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.005.003-123-g1c391767

-- Opening a USRP1 device...
-- Using FPGA clock rate of 64.000000MHz...
Bad address
Traceback (most recent call last):
   File "/usr/local/bin/uhd_fft", line 345, in<module>
     main ()
   File "/usr/local/bin/uhd_fft", line 341, in main
     app = stdgui2.stdapp(app_top_block, "UHD FFT", nstatus=1)
   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 38, in __init__
     wx.App.__init__ (self, redirect=False)
   File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7978, in __init__
   File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7552, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 42, in OnInit
   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 64, in __init__
     self.panel = stdpanel (self, self, top_block_maker, max_nouts)
   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 86, in __init__
     self.top_block = top_block_maker (frame, self, vbox, sys.argv)
   File "/usr/local/bin/uhd_fft", line 95, in __init__
     self.sink = gr.file_sink(gr.sizeof_gr_complex, options.to_file)  #
creating file sink
line 457, in file_sink
     return _gnuradio_core_io.file_sink(*args, **kwargs)
RuntimeError: can't open file

What does it mean by "Bad Address"

Yesterday it was running fine. Any pointers ?

I tried resetting usb port with a custom script but that dint help.

Rest other scripts are working fine. bencmark_tx, benchmark_rx everything
working. Only uhd_fft is painful.

Strange thing is that when I made a grc for viewing fft with QT, it is
working well without any errors.

View this message in context: 
Sent from the GnuRadio mailing list archive at Nabble.com.

Discuss-gnuradio mailing list

Why does uhd_fft have a file_sink in it?

Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

reply via email to

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