[op25-dev] Re: problem running usrp_p25_rx.py

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/op25-dev@lists.osmocom.org/.

markop25 cottrell.m.a at gmail.com
Mon May 28 20:58:17 UTC 2012


I think it is something to do with opengl sinks being the default now.  You could try usrp_p25_rx_gl.py, but it won't work with any gnuradio version later than 3.4.2 as it uses the gnuradio usrp module, which is now deprecated and has been replaced by uhd.

--- In op25-dev at yahoogroups.com, "homernighthawk" <ctx50026 at ...> wrote:
>
> 
> Hi,
> 
> I'm having a problem running usrp_p25_rx.py. I've never done anything with op25 before. I followed the build instructions on the wiki at op25.osmocom.org/wiki. I had the same issue that I saw a couple other people post about with adding an include of stddef.h to op25.cc. After that everything built as far as I can tell. 
> 
> I'm using ubuntu 12.04 x64 and gnuradio 3.6
> 
> If anyone has any idea what to look at it would be appreciated.
> thanks,
> 
> 
> When I try to run usrp_p25_rx.py I get the following error:
> 
> Traceback (most recent call last):
>   File "./usrp_p25_rx.py", line 727, in <module>
>     app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
>   File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 38, in __init__
>     wx.App.__init__ (self, redirect=False)
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 42, in OnInit
>     self._max_noutput_items)
>   File "/usr/local/lib/python2.7/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.7/dist-packages/gnuradio/wxgui/stdgui2.py", line 86, in __init__
>     self.top_block = top_block_maker (frame, self, vbox, sys.argv)
>   File "./usrp_p25_rx.py", line 75, in __init__
>     self.__init_gui(frame, panel, vbox)
>   File "./usrp_p25_rx.py", line 252, in __init_gui
>     self.spectrum_plotter = self.spectrum.win.plot
> AttributeError: 'fft_window' object has no attribute 'plot'
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20120528/6470ef08/attachment.htm>


More information about the op25-dev mailing list