[op25-dev] op25 scope.py issue

lists@lazygranch.com [op25-dev] op25-dev at yahoogroups.com
Tue Mar 14 06:53:39 UTC 2017

I built gnuradio from source. It passes the "make test". 

uname -a
Linux linux.suse 4.4.49-16-default #1 SMP Sun Feb 19 17:40:35 UTC 2017 (70e9954) x86_64 x86_64 x86_64 GNU/Linux

I'm using the KDE Plasma desktop. I can set the gtk2 theme to whatever the developers prefer.

When run as root:

linux:/usr/local/src/op25/op25/gr-op25_repeater/apps # ./scope.py
osmosdr source_c creation failure
Traceback (most recent call last):
  File "./scope.py", line 2751, in <module>
    app = stdgui2.stdapp(p25_rx_block, "APCO P25 Receiver", 3)
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File "/usr/local/lib64/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 98, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "./scope.py", line 156, in __init__
    gain_names = self.src.get_gain_names()
AttributeError: 'NoneType' object has no attribute 'get_gain_names'

When run as a user:

g at linux:~> /usr/local/src/op25/op25/gr-op25_repeater/apps/scope.py
Traceback (most recent call last):
  File "/usr/local/src/op25/op25/gr-op25_repeater/apps/scope.py", line 59, in <module>
    import trunking
  File "/usr/local/src/op25/op25/gr-op25_repeater/apps/trunking.py", line 26, in <module>
    import lfsr
ImportError: No module named lfsr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170314/75fe2733/attachment.html>

More information about the op25-dev mailing list