[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Signals and "RuntimeError: wrapped C/C++ object of type XXX has been deleted"
From:       Jeremy Sanders <jeremy () jeremysanders ! net>
Date:       2013-11-21 8:41:52
Message-ID: 528DC750.1010703 () jeremysanders ! net
[Download RAW message or body]

On 20/11/13 23:16, Phil Thompson wrote:

> I can see where there might be a problem, but only if the connect() is
> called after the widget has been deleted.

Thanks for looking, Phil. I don't think that is the case here, as the 
signal is connected to the widget's slot in the widget's __init__ 
method, after calling the parent class __init__. There are other users 
of the signal, however, but these objects don't give the exception.

It seems to be more frequently reported with newer PyQt/SIP releases. 
I'd suspect it is race condition, as it appears randomly, except in the 
reproducible case I have found.

Thanks

Jeremy

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic