[Tutor] PyQt Signal

Daniel Sarmiento dsarmientos at gmail.com
Fri Jun 12 03:49:43 CEST 2009


Hello

I am starting to use PyQt, and I'm trying to send a signal across threads,
but I get the following error:

Traceback (most recent call last):
  File "/home/daniel/NetBeansProjects/aeropuerto/main.py", line 34, in
<module>
    form = AeropuertoDlg()
  File "/home/daniel/NetBeansProjects/aeropuerto/main.py", line 18, in
__init__
    self.connect(self.aeropuerto, SIGNAL("fin()"), self.fin)
RuntimeError: underlying C/C++ object has been deleted

The code is at pastebin:

http://pastebin.com/m2aa3fbf9      // main.py Main QDialog Class

http://pastebin.com/m7aea48a5   // aeropuerto.py (signal is emited here)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090611/29a18d7b/attachment.htm>


More information about the Tutor mailing list