[PyKDE] KConfigDialog woes

Paul Waldo pwaldo at waldoware.com
Fri Apr 21 19:03:18 BST 2006

Hi all,

I'm trying to figure out how to make KConfigDialog work under PyKDE.  When I 
run the attached file, I get this error:
Traceback (most recent call last):
  File "src/kconfigdialogtest.py", line 63, in ?
  File "src/kconfigdialogtest.py", line 49, in main
    widget = KdeApp()
  File "src/kconfigdialogtest.py", line 20, in __init__
    self.configDialog = KConfigDialog(self, "name", self.prefs)
RuntimeError: underlying C/C++ object has been deleted

I also get this error if lines 13 and 14 are uncommented.  Can anyone help a 
PyKDE newbie?  Thanks in advance!


Python 2.4.2
pykdeextensions         0.3.1-0ubuntu2
Kubuntu breezy
KDE 3.5.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kconfigdialogtest.py
Type: application/x-python
Size: 1853 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060421/437c5904/kconfigdialogtest.bin

More information about the PyQt mailing list