Bug 590866

Summary: Please add python plasma scripting
Product: Red Hat Enterprise Linux 6 Reporter: Henry Stilmack <h.stilmack>
Component: kdebase-workspaceAssignee: Ngo Than <than>
Status: CLOSED WORKSFORME QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-12 10:08:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Henry Stilmack 2010-05-10 20:27:41 UTC
Description of problem:

Plasma scripting engine for KDE4 plasmoids missing

Version-Release number of selected component (if applicable):
RHEL6-beta, KDE 4.3 (kdebase-workspace-4.3.4-13.el6.i686)

How reproducible:
Installed Python plasmoid does not run

Steps to Reproduce:
1.Install a python plasmoid (I used easy-ssh-connection)
2.Run using plasmoidviewer or add it to desktop
3.
  
Actual results:

Message: This object could not be created for the following reason: Could not create a python ScriptEngine for the Easy SSH Connection widget.

Expected results:

Plasmoid runs

Additional info:

Comment 2 RHEL Product and Program Management 2010-05-10 21:42:49 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Ngo Than 2010-05-12 09:47:19 UTC
it seems kdebase-workspace-python-applet is not installed on your machine.
could you please install this package and try again?

thanks

Comment 4 Ngo Than 2010-05-12 10:08:01 UTC
i even tested the hello-python from
 http://techbase.kde.org/Development/Tutorials/Plasma/Python/GettingStarted
it works fine for me after kdebase-workspace-python-applet is installed

Comment 5 Henry Stilmack 2010-05-12 18:47:32 UTC
Still no joy after installing kdebase-workspace-python-applet. The hello-python applet gives this (I followed the tutorial exactly and installed the applet with plasmapkg:

plasmoidviewer hello-python

Unknown widget popup, with the following:
"This object could not be created for the following reason: Could not find requested component: hello-python"

kdebugdialog gives the following info:


plasmoidviewer(10373)/libplasma Plasma::CoronaPrivate::addContainment: loading of containment "null" failed.
plasmoidviewer(10373) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath:  not found"
plasmoidviewer(10373)/libplasma Plasma::AppletPrivate::init: Check your constructor!  You probably want to be passing in a Service::Ptr  or a QVariantList with a valid storageid as arg[0].
plasmoidviewer(10373)/libplasma Plasma::Applet::load: offers is empty for  "hello-python"
plasmoidviewer(10373)/libplasma Plasma::ContainmentPrivate::addApplet: Applet "hello-python" could not be loaded.
plasmoidviewer(10373) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath:  not found"
plasmoidviewer(10373)/libplasma Plasma::AppletPrivate::init: Check your constructor!  You probably want to be passing in a Service::Ptr  or a QVariantList with a valid storageid as arg[0].