[PyQt] PyKDE segfaults when calling group() on KSharedConfig
lists at benno-dielmann.de
Fri Feb 6 08:33:10 GMT 2009
thanks, Simon, for looking into this and in general for your great work on
I'm using KGlobal.config() in my application now. What is the difference between
this and KSharedConfig.openConfig()? What is the preferred way of getting access
to the configuration system? From the api docs this isn't clear to me...
On Thursday 05 February 2009 22:13:11 Simon Edwards wrote:
> Benno Dielmann wrote:
> > config = KSharedConfig.openConfig()
> > group = config.group('General')
> > The second line results in a segfault. Interestingly, it doesn't if the
> > config object is returned by KGlobal.config(). Documentation tells us
> > KGlobal.config() returns a KSharedConfig object as does
> > KSharedConfig.openConfig(). Strange.
> > See the attached minimal.py example.
> thanks. I'll have a look at it soon.
> > This bug occurs since the update from KDE 4.1.4 to 4.2.
> mmmm... interesting.
> > Actually, where do bug reports on PyKDE go? bugs.kde.org? Should I file
> > one for this?
> Here or to me is fine. If that system breaks down then we should make
> proper use of bugs.kde.org.
More information about the PyQt