On Friday 21 April 2006 11:03, Paul Waldo wrote:
> 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 ?
>     main()
>   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!

It works for me if I add:

    KConfigSkeleton.__init__ (self)

to Prefs.__init__()

Jim

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to