Uhd_fft and other wx stuff does not work

Hi,

I installed gnuradio master from source on a Kubuntu 14.04 64 bit
system,
and it appears that all wxgui stuff does not work. What may be the issue
here? Gnuradio and uhd build without error, without missing features,
but
for example uhd_fft gives this output:

ras@ubuntu:~/gnuradio/build$ uhd_fft

linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.001-42-g8c87a524

– Operating over USB 3.

– Initialize CODEC control…

– Initialize Radio control…

– Performing register loopback test… pass

– Performing register loopback test… pass

– Performing CODEC loopback test… pass

– Performing CODEC loopback test… pass

– Asking for clock rate 32.000000 MHz…

– Actually got clock rate 32.000000 MHz.

– Performing timer loopback test… pass

– Performing timer loopback test… pass

– Setting master clock rate selection to ‘automatic’.

Using Volk machine: avx_64_mmx_orc

Traceback (most recent call last):

File “/usr/local/bin/uhd_fft”, line 349, in

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.7/dist-packages/gnuradio/wxgui/stdgui2.py”,
line 46, 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 49, in OnInit

frame = stdframe (self.top_block_maker, self.title, self._nstatus)

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py”,
line 76, in init

self.panel = stdpanel (self, self, top_block_maker)

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py”,
line 98, in init

self.top_block = top_block_maker (frame, self, vbox, sys.argv)

File “/usr/local/bin/uhd_fft”, line 121, in init

fft_rate=options.fft_rate)

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/fftsink_gl.py”,
line
132, in init

self.wxgui_connect(self, fft, sink)

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/common.py”,
line 51, in wxgui_connect

copy = blocks.copy(self._hb.input_signature().sizeof_stream_item(0))

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py”,
line 93, in getattr

return getattr(self._impl, name)

AttributeError: ‘hier_block2_sptr’ object has no attribute ‘_hb’

^C

ras@ubuntu:~/gnuradio/build$

I am not a coder, so at the moment I am somehow out of business. Doing
this
all new from scratch made no difference, all prereqs seem fulfilled, and
after two hours of fiddling and poking around the only consequence is to
ask
here J

Thank you for any hint!

Ralph.


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Waaah - and I was so sure that the problem sits in front of the PC :slight_smile:
Well,
at least I had a task during a longer and boring trip by train…

OK, so I will wait for the next commit. Thank you for all the efforts!!

Ralph.

The fix worked out :slight_smile: Thanks a lot!

Ralph.