This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED]Trouble with python plasma tutorial

Tags: None
(comma "," separated)
admoore
Registered Member
Posts
103
Karma
0
OS
Hi; I'm trying to follow the development tutorial from techbase for writing a plasmoid in python (http://techbase.kde.org/Development/Tut ... ingStarted).

I thought I followed the instructions closely, but when I launch my plasmoid in plasmoidviewer I get these errors:
Code: Select all
$ plasmoidviewer hello-python                                                                                               
findServiceByDesktopPath:  not found                                                                                                               
Traceback (most recent call last):                                                                                                                 
  File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 53, in init                                                       
    self.pyapplet = self.module.main.CreateApplet(None)                                                                                           
AttributeError: 'module' object has no attribute 'CreateApplet'                                                                                   
TypeError: invalid result type from PythonAppletScript.shape()                                                                                     
TypeError: invalid result type from PythonAppletScript.shape()                                                                                     
TypeError: invalid result type from PythonAppletScript.shape()                                                                                     
TypeError: invalid result type from PythonAppletScript.shape()                                                                                     
TypeError: invalid result type from PythonAppletScript.shape() 


I'm running KDE 4.3 on Kubuntu Jaunty. Thanks for any help.

Last edited by admoore on Thu Aug 13, 2009 8:37 pm, edited 1 time in total.


admoore, proud to be a member of KDE forums since 2008-Oct.
admoore
Registered Member
Posts
103
Karma
0
OS
Nevermind, indentation problem in my script. Details, details...

:-) Thanks for looking, though!


admoore, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]