# HF explorer

**URL:** <https://www.ruby-forum.com/t/hf-explorer/173490>\
**Category:** GNU Radio\
**Created:** [August 10, 2009, 2:03pm UTC](https://www.ruby-forum.com/t/hf-explorer/173490 "2009-08-10T14:03:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Gilbett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@Andrew\_Gilbett](https://www.ruby-forum.com/u/Andrew_Gilbett)\
**Post date:** [August 10, 2009, 2:03pm UTC](https://www.ruby-forum.com/t/hf-explorer/173490/1 "2009-08-10T14:03:26Z")

</div>

Hi All,  
I have been trying to run the HF explorer example that was provide  
with gnuradio with a basic RX board in the USRP, by I continually get  
this error.

/usr/share/gnuradio/examples/hf\_explorer$ ./hfx2.py -R B -c 3.697e6 \>\>\> gr\_fir\_ccc: using SSE Traceback (most recent call last): File "./hfx2.py", line 799, in app = MyApp(0) File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/\_core.py", line 7935, in \_\_init\_\_ self.\_BootstrapApp() File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/\_core.py", line 7509, in \_BootstrapApp return \_core\_.PyApp\_\_BootstrapApp(\*args, \*\*kwargs) File "./hfx2.py", line 794, in OnInit frame = MyFrame(None, -1, "HF Explorer 2") File "./hfx2.py", line 371, in \_\_init\_\_ em.eventManager.Register(self.Mouse, wx.EVT\_MOTION, self.fft.win) File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/evtmgr.py", line 103, in Register if not self.\_\_haveMessageAdapter(listener, topic): File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/evtmgr.py", line 290, in \_\_haveMessageAdapter return self.messageAdapterDict[topicPattern].has\_key(eventHandler) TypeError: unhashable type: 'fft\_window' aU

No gui comes up and I have to kill the program with ctl-C.

I am guessing from what is says that there is something wrong with the  
gui.

I have not been able to find any info on google as yet (am still  
looking though) if someone on this list has some more information that  
would be great!

Thanks 🙂  
Andrew Gilbett  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Andrew\_Gilbett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@Andrew\_Gilbett](https://www.ruby-forum.com/u/Andrew_Gilbett)\
**Post date:** [August 11, 2009, 12:50am UTC](https://www.ruby-forum.com/t/hf-explorer/173490/2 "2009-08-11T00:50:21Z")

</div>

Andrew

yes, I see the same thing running against svn head at the time of  
writing - rev 11564.

Just comment out lines 371 and 373 of hfx2.py and all seems to work.  
Guess we lose some functionality but at least it does run up. Suppose we  
should debug that really :-;

I’ve been having too much fun getting jack audio and griffin powermate  
usb thingy going over IP so I can run the USRP on a more powerful remote  
machine and access it from my laptop via nxclient over LAN. Just about  
works now. What’s really cool is it’s easy to hack gnu radio companion  
to include a jack audio sink. I have to say I’m impressed by GRC. Jack  
audio does a great job too.

# svn diff Index: hfx2.py

— hfx2.py (revision 11525)  
+++ hfx2.py (working copy)  
@@ -368,9 +368,9 @@  
self.tb.start()

```
      # for mouse position reporting on fft display

```

- 

```
   em.eventManager.Register(self.Mouse, wx.EVT_MOTION, 

```

self.fft.win)

- 

```
   #em.eventManager.Register(self.Mouse, wx.EVT_MOTION, 

```

self.fft.win)  
# and left click to re-tune

- 

```
   em.eventManager.Register(self.Click, wx.EVT_LEFT_DOWN,

```

self.fft.win)

- 

```
   #em.eventManager.Register(self.Click, wx.EVT_LEFT_DOWN,

```

self.fft.win)

```
      # start a timer to check for web commands
      if WEB_CONTROL:

```

cheers

John  
G4RDC, Reading, UK

---

<div class="post-metadata">

**Author:** ![Andrew\_Gilbett](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9bcb4/32.png) [@Andrew\_Gilbett](https://www.ruby-forum.com/u/Andrew_Gilbett)\
**Post date:** [August 12, 2009, 10:32am UTC](https://www.ruby-forum.com/t/hf-explorer/173490/3 "2009-08-12T10:32:51Z")

</div>

Thanks for that it started working immediately after removing those  
lines!

Thanks 🙂  
Andrew

2009/8/11 John G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
