discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Error in grid_plotter.py


From: Marcus D. Leech
Subject: [Discuss-gnuradio] Error in grid_plotter.py
Date: Wed, 05 Jun 2013 12:30:52 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

I have a user who is occasionally getting this:

raceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/common.py", line 106, in <lambda> self._plotter.Bind(wx.EVT_LEFT_DOWN, lambda evt: plotter.call_freq_callback(evt.GetPosition())) File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plotter/grid_plotter_base.py", line 90, in call_freq_callback
    x, y = self._point_label_coordinate
TypeError: 'NoneType' object is not iterable

In the "simple_ra" app, which does establish a call-back for left-clicky in the spectral window.

Is this perhaps because the callback is getting called at a time when the plotter isn't fully set up, and how can we detect that case properly?


--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org




reply via email to

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