discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] HF explorer


From: John Gumb
Subject: Re: [Discuss-gnuradio] HF explorer
Date: Mon, 10 Aug 2009 23:46:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2

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

On 10/08/09 12:58, Andrew Gilbett wrote:
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.

<output>
/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<module>
     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
</output>

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
address@hidden


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

[Prev in Thread] Current Thread [Next in Thread]