On Sun, 12 Apr 2009 18:47:23 +0200, Detlev Offenbach
<[email protected]> wrote:
> Hi,
> 
> I am observing an unlimited recursion problem in some eric4 code. In the 
> ViewManager I am connecting to a signal sent by the editor with this code
> 
>     self.connect(editor, SIGNAL('bookmarkToggled'),
self.__bookmarkToggled)
> 
> In the method __bookmarkToggled I am doing some things and reemit the
> signal 
> with this line
> 
>     self.emit(SIGNAL('bookmarkToggled'), editor)

That's not the same signal - one is a signal of editor, the other is a
signal of ViewManager.

> This seems to go into an infinite recursion because I get this error
> 
> RuntimeError: maximum recursion depth exceeded

Can you trace the recursion path?

Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to