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: Johnathan Corgan
Subject: Re: [Discuss-gnuradio] maximum recursion depth exceeded
Date: Tue, 1 Jun 2010 09:39:47 -0700

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



reply via email to

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