Forum: GNU Radio arbitrary or variable numbers of inputs or outputs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C0ba64b9e5a62ed77295b79b63ab87c0?d=identicon&s=25 Dimitris Symeonidis (Guest)
on 2009-04-01 17:58
(Received via mailing list)
Hi list,

Lately I've been getting a strange error message when running a python
graph that contains the wfm_rcv_pll block:

Exception RuntimeError: 'maximum recursion depth exceeded while
calling a Python object' in <type 'exceptions.AttributeError'> ignored
USRP Serial:  492605d9
Using d'board B: Basic Rx
>>> gr_fir_ccf: using SSE
Traceback (most recent call last):
  File "usrp_rds_rx.py", line 291, in <module>
    app = stdgui2.stdapp (rds_rx_graph, "USRP RDS RX")
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 36, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib/python2.6/dist-packages/wx/_core.py", line 7935, in
__init__
    self._BootstrapApp()
  File "/usr/lib/python2.6/dist-packages/wx/_core.py", line 7509, in
_BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "usrp_rds_rx.py", line 80, in __init__
    self.guts = blks2.wfm_rcv_pll (demod_rate, audio_decim)
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/blks2impl/wfm_rcv_pll.py",
line 41, in __init__
    gr.io_signature(1, 2, gr.sizeof_float))      # Output signature
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/gr/hier_block2.py",
line 42, in __init__
    self._hb = hier_block2_swig(name, input_signature, output_signature)
  File
"/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py",
line 971, in hier_block2_swig
    return _gnuradio_swig_py_runtime.hier_block2_swig(*args, **kwargs)
RuntimeError: Hierarchical blocks do not yet support arbitrary or
variable numbers of inputs or outputs (wfm_rcv_pll)

Any ideas?


Dimitris Symeonidis
"If you think you're too small to make a difference, try sleeping with
a mosquito!" - Amnesty International
This topic is locked and can not be replied to.