Bug 183955 - PyKDE4.plasma.Plasma.Theme.defaultTheme() produces a segfault
Summary: PyKDE4.plasma.Plasma.Theme.defaultTheme() produces a segfault
Status: RESOLVED NOT A BUG
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 23:11 UTC by DasIch
Modified: 2009-02-16 14:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DasIch 2009-02-10 23:11:45 UTC
Version:            (using KDE 4.2.0)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Unlisted Binary Package

Python 2.6.1 (r261:67515, Dec  7 2008, 18:56:39)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyKDE4.plasma import Plasma
>>> Plasma.Theme.defaultTheme()
Speicherzugriffsfehler

"Speicherzugriffsfehler" is german for Segmentation Fault. I think it's clear that this shouldn't happen. I've tried this on Arch Linux x86_64.
Comment 1 Simon Edwards 2009-02-16 08:33:52 UTC
defaultTheme() needs to be called in the context of a real plasma applet running inside plasma or the plasmaviewer, and not just in the shell with no program running around.
Comment 2 DasIch 2009-02-16 14:33:45 UTC
Oh, I'm sorry. I didn't expected that this wouldn't be possible in the shell. It would be nice to have this in the documentation.