[op25-dev] Re: "NameError: global name 'msgq' is not defined" in audio_p25_rx.py

ikjtel ikj1234i at yahoo.com
Fri Aug 24 19:29:52 UTC 2012


in line number 303 try editing the .py file and changing the value that's inside the parentheses - try changing it from 'msgq' to 'self.msgq'

Max



________________________________
 From: rajani_38 <ramkumar.ramaswamy at gmail.com>
To: op25-dev at yahoogroups.com 
Sent: Friday, August 24, 2012 10:39 AM
Subject: [op25-dev] Re: "NameError: global name 'msgq' is not defined" in audio_p25_rx.py
 

  
Here you go Max - thanks for offering to look at it.

************************
rr at Pinky:~/SoftwareAndApps/op25/python$ ./audio_p25_rx.py -a
Using Volk machine: ssse3_32
Traceback (most recent call last):
File "./audio_p25_rx.py", line 1044, in <module>
app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
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__
self._BootstrapApp()
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
self._max_noutput_items)
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 "./audio_p25_rx.py", line 97, in __init__
self.__init_gui(frame, panel, vbox)
File "./audio_p25_rx.py", line 303, in __init_gui
self.p25_decoder.set_msgq(msgq)
NameError: global name 'msgq' is not defined
rr at Pinky:~/SoftwareAndApps/op25/python$ ^C
rr at Pinky:~/SoftwareAndApps/op25/python$ 

***************************************

--- In op25-dev at yahoogroups.com, ikjtel <ikj1234i at ...> wrote:
>
> could you please paste the entire backtrace
> 
> Max
> 


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20120824/fe1694fe/attachment.html>


More information about the op25-dev mailing list