# Uhd\_fft and other wx stuff does not work

**URL:** <https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641>\
**Category:** GNU Radio\
**Created:** [December 30, 2014, 3:39pm UTC](https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641 "2014-12-30T15:39:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [December 30, 2014, 3:39pm UTC](https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641/1 "2014-12-30T15:39:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [December 30, 2014, 4:27pm UTC](https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641/2 "2014-12-30T16:27:07Z")

</div>

* * *

Discuss-gnuradio mailing list  
removed\_email\_address@domain.invalid  
[https://lists.gnu.org/mailman/listinfo/discuss-gnuradio](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [December 30, 2014, 5:02pm UTC](https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641/3 "2014-12-30T17:02:23Z")

</div>

Waaah - and I was so sure that the problem sits in front of the PC 🙂  
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.

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [December 31, 2014, 3:45pm UTC](https://www.ruby-forum.com/t/uhd-fft-and-other-wx-stuff-does-not-work/233641/4 "2014-12-31T15:45:00Z")

</div>

The fix worked out 🙂 Thanks a lot!

Ralph.
