[PyQt] PyKDE segfaults when calling group() on KSharedConfig object

Simon Edwards simon at simonzone.com
Thu Feb 5 21:13:11 GMT 2009


Hello,

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.

cheers,

-- 
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."


More information about the PyQt mailing list