If you try to increase the timescale beyond what can be accomplished
given the window geometry and
  input frame rate, it provokes a floating-point divide error, near line
307 in ...waterfall_window.py

My naive attempt to fix it, by making sure the frame_rate counter never
dropped below 1, just seems
  to have moved the problem around, provoking a different problem:

 File
"/usr/local/lib/python2.6/site-packages/gnuradio/wxgui/waterfall_window.py",
line 159, in _on_incr_time_scale
    self.parent[FRAME_RATE_KEY] *= 0.75
  File
"/usr/local/lib/python2.6/site-packages/gnuradio/wxgui/pubsub.py", line
46, in __setitem__
    p[pkey] = val
  File
"/usr/local/lib/python2.6/site-packages/gnuradio/wxgui/pubsub.py", line
52, in __setitem__
    sub(val)
  File
"/usr/local/lib/python2.6/site-packages/gnuradio/blks2impl/logpwrfft.py", line
82, in set_vec_rate
    self._sd.set_vec_rate(vec_rate)
  File
"/usr/local/lib/python2.6/site-packages/gnuradio/blks2impl/stream_to_vector_decimator.py",
line 64, in set_vec_rate
    self._update_decimator()
  File
"/usr/local/lib/python2.6/site-packages/gnuradio/blks2impl/stream_to_vector_decimator.py",
line 75, in _update_decimator
    self.set_decimation(self._sample_rate/self._vec_len/self._vec_rate)
ZeroDivisionError: float division



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




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

Reply via email to