discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] maximum recursion depth exceeded


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] maximum recursion depth exceeded
Date: Tue, 1 Jun 2010 09:57:14 -0700
User-agent: Mutt/1.5.20 (2009-08-17)

On Tue, Jun 01, 2010 at 09:39:47AM -0700, Johnathan Corgan wrote:
> On Tue, Jun 1, 2010 at 07:52, Yan Nie <address@hidden> wrote:
> 
> > An runtime error came out when I run my python prgram:
> > File "/home/john/gnuradio/gr-iono/usrp_source_c.py", line 16, in __init__
> >     gr.io_signature(1,1,gr.sizeof_gr_complex))    #output signiture
> >   File "/usr/local/lib/python2.5/site-packages/gnuradio/gr/hier_block2.py",
> > line 42, in __init__
> >     self._hb = hier_block2_swig(name, input_signature, output_signature)
> > RuntimeError: maximum recursion depth exceeded
> 
> This can happen if you create a hierarchical block in Python, but
> forget to call the parent Python class __init__ function in your own
> __init__ function, or if the arguments to the parent Python class
> __init__ function are malformed.
> 
> Johnathan

Also, what version of GNU Radio are you using?
(I seem to remember we made a change that produced a more informative
message in this case.)

Eric



reply via email to

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