Summary: | PyKDE4.plasma.Plasma.Theme.defaultTheme() produces a segfault | ||
---|---|---|---|
Product: | [Developer tools] bindings | Reporter: | DasIch <dasdasich> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | simon |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
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. 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. |
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.