[Tutor] Trouble with "RuntimeError: underlying C/C++ object has been deleted".
detroit371 at gmail.com
Thu May 3 14:46:43 CEST 2007
I am just learning Python/PyQt4, and have a problem I cannot figure out.
Here's what happens.
Traceback (most recent call last):
File "iac.py", line 124, in on_actionOpen_triggered
File "iac.py", line 66, in open
if self.isUntitled and self.textBrowser.document().isEmpty() and not
RuntimeError: underlying C/C++ object has been deleted
I have copied several parts of other programs, so that's probably where
this is coming from. All I want is to load a .txt file into
self.textBrowser, so some of the functionality is unneeded at this time,
except for filter saving and loading. If someone understands what is
going on, that would be great!
The source can be downloaded from here
More information about the Tutor