Help with python plasmoid

Cristo Bolaños cristo at foton.es
Mon Jan 12 19:55:17 CET 2009


Hello,

I'm trying to do a very simple python plasmoid in order to show a
Plasma.Label, but when I try to run it, I get an error:

Traceback (most recent call last):
  File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py",
line 54, in init
    self.pyapplet.init()
  File
"/usr/share/kde4/apps/plasma/plasmoids/plasma-foo/contents/code/main.py",
line 16, in init
    _label = Plasma.Label(self)

Any suggestion ? I have googled and looked source code, but didnt' get any
success :/

Thanks a lot!.

-- 
"El Mundo está en las manos de aquellos que tienen el coraje de soñar y
correr el riesgo de vivir sus sueños."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20090112/4911897d/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 529 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090112/4911897d/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plasmascript.py
Type: text/x-python
Size: 3595 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090112/4911897d/attachment-0001.py 


More information about the Plasma-devel mailing list