Bug 590866 - Please add python plasma scripting
Summary: Please add python plasma scripting
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kdebase-workspace
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Ngo Than
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-10 20:27 UTC by Henry Stilmack
Modified: 2010-05-12 18:47 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2010-05-12 10:08:01 UTC


Attachments (Terms of Use)

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].


Note You need to log in before you can comment on or make changes to this bug.