[Hackrf-dev] problem with osmocom_fft

Cinaed Simson cinaed.simson at gmail.com
Sun Jun 19 01:29:45 EDT 2016


Hi - I'm running Debian Jessie and the osmocom_fft script barfs the
enclosed text.

gnuradio-companion, gqrx, and inspectrum work under Jessie.

osmocom_fft works on Debian Wheezy.

Me thinks it's the version of wx.

Maybe someone else could confirm this?

Assuming it is the version of wx, should I file a bug report - somewhere?

The machine running Jessie is a odroid-c2 - armv8 2 GHz quad - which has
a maximum sampling rate of 22 MHz. I'm running the software using X and
SSH over 1 GHz Ethernet.


Jessie:
------
cinaed at hertz:~$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.verion()
>>> wx.version()
'3.0.2.0 gtk2 (classic)'
>>>

Wheezy:
------
cinaed at lenz:~$ python
Python 2.7.3 (default, Mar 14 2014, 17:55:54)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'2.8.12.1 (gtk2-unicode)'
>>>

Jessie:
------
cinaed at hertz:~$ osmocom_fft -a hackrf -v
Gtk-Message: Failed to load module "pk-gtk-module"
gr-osmosdr v0.1.4-72-g164a09fc (0.1.5git) gnuradio 3.7.9.2
built-in source types: file osmosdr fcd rtl rtl_tcp hackrf rfspace
redpitaya
Using HackRF One with firmware 2015.07.2
RF gain range: start 0 stop 14 step 14
IF gain range: start 0 stop 40 step 8
BB gain range: start 0 stop 62 step 2
Supported sample rates 8000000-20000000 step 2000000.
Using Volk machine: generic_orc
Traceback (most recent call last):
  File "/opt/gnuradio/bin/osmocom_fft", line 850, in <module>
    main ()
  File "/opt/gnuradio/bin/osmocom_fft", line 846, in main
    app = stdgui2.stdapp(app_top_block, "osmocom Spectrum Browser",
nstatus=1)
  File
"/opt/gnuradio/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", li
ne 46, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line
8628, in
 __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line
8196, in
 _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/opt/gnuradio/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", li
ne 49, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File
"/opt/gnuradio/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", li
ne 76, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File
"/opt/gnuradio/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", li
ne 98, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "/opt/gnuradio/bin/osmocom_fft", line 255, in __init__
    fft_rate=options.fft_rate)
  File
"/opt/gnuradio/lib/python2.7/dist-packages/gnuradio/wxgui/fftsink_nongl.p
y", line 198, in __init__
    self.win = fft_window(self, parent, size=size)
  File
"/opt/gnuradio/lib/python2.7/dist-packages/gnuradio/wxgui/fftsink_nongl.p
y", line 331, in __init__
    self.control_panel = control_panel(self)
  File
"/opt/gnuradio/lib/python2.7/dist-packages/gnuradio/wxgui/fftsink_nongl.p
y", line 256, in __init__
    wx.Panel.__init__(self, parent, -1, style=wx.SIMPLE_BORDER)
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_windows.py",
line 68, i
n __init__
    _windows_.Panel_swiginit(self,_windows_.new_Panel(*args, **kwargs))
wx._core.PyAssertionError: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
OOOOcinaed at hertz:~$


More information about the HackRF-dev mailing list