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

python script engine not working 4.4 RC 2

Tags: None
(comma "," separated)
nerdy_kid
Registered Member
Posts
54
Karma
0
OS
hi everyone, i just upgraded to RC 2 today, and the python script engine for plasma ceased working. I use the gmail-plasmoid heavily, so this sucks.
When i run the plasmoid from terminal i get:
Code: Select all
plasmoidviewer(3940)/plasma main: setting FormFactor to "planar"
plasmoidviewer(3940)/plasma main: setting Location to "floating"
plasmoidviewer(3940)/plasma main: setting containment to "null"
plasmoidviewer(3940)/plasma main: setting auth policy
plasmoidviewer(3940)/plasma main: just load applet
plasmoidviewer(3940)/plasma FullView::addApplet: adding applet "gmail-plasmoid" in "null"
plasmoidviewer(3940)/libplasma Plasma::CoronaPrivate::addContainment: loading of containment "null" failed.
plasmoidviewer(3940)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-jesse/ksycoca4"
findServiceByDesktopPath:  not found
plasmoidviewer(3940)/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(3940)/libplasma Plasma::Applet::load: we have a script using the "python" API
plasmoidviewer(3940)/python (plugin) KPythonPluginFactory::KPythonPluginFactory: KPythonPluginFactory::KPythonPluginFactory()
plasmoidviewer(3940)/python (plugin) KPythonPluginFactory::initialize: Initializing Python interpreter.
plasmoidviewer(3940)/python (plugin) KPythonPluginFactory::initialize: Succesfully initialized Python interpreter.
plasmoidviewer(3940)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface:  Plasma::AppletScript
plasmoidviewer(3940)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code:  "plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(3940)/python (plugin) KPythonPluginFactory::create: Path to plugin code is:  "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(3940)/python (plugin): Failed to import module
Traceback (most recent call last):
  File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 21, in <module>
    from PyKDE4.plasma import Plasma
RuntimeError: the sip module implements API v7.0 but the PyKDE4.plasma module requires API v6.0
plasmoidviewer(3940)/libplasma Plasma::loadEngine: Couldn't load script engine for language  "python" ! error reported:  "The service 'Python Widget' does not provide an interface 'Plasma::AppletScript' with keyword 'plasma_scriptengine_python/pyappletscript.py'"
plasmoidviewer(3940)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
plasmoidviewer(3940)/python (plugin) KPythonPluginFactory::~KPythonPluginFactory: KPythonPluginFactory::~KPythonPluginFactory()


is there any workarounds i can implement? i tried downgrading the python script engine and restarting plasma to no avail. (using Ubuntu karmic) thank you all for the help.
User avatar
sebas
KDE Developer
Posts
88
Karma
2
OS
KDE SC 4.4 RC2 has not yet been released, we're having problems with the kdebindings module.

This might very well be a symptom.


-- sebas
nerdy_kid
Registered Member
Posts
54
Karma
0
OS
sebas wrote:KDE SC 4.4 RC2 has not yet been released, we're having problems with the kdebindings module.

This might very well be a symptom.


ummmm i just got like 120 kde updates.....and about/KDE says 4.4 RC2, but i should just wait for more updates?
wrohdewald
Registered Member
Posts
6
Karma
0
you need to downgrade the packets python-qt4* and python-sip4 or - of course - wait for an update of python-kde4
nerdy_kid
Registered Member
Posts
54
Karma
0
OS
wrohdewald wrote:you need to downgrade the packets python-qt4* and python-sip4 or - of course - wait for an update of python-kde4

thanks! aptitude wont let me downgrade them without removing a ton of KDE so ill wait for an update. Thanks again for all your help!
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
Don't works with openSUSE packages from KDE 4.4 Beta 1 but I just updated to RC2 and works again.

At last, I miss a lot "Magic Folder" :(.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
In the openSUSE packages prior to RC2, Plasma bindings were disabled to make python-kde4 build (and thus not remove everything that depended on PyKDE4). Now that a newer SIP and PyQt versions are out, there is no more need for that.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
einar wrote:In the openSUSE packages prior to RC2, Plasma bindings were disabled to make python-kde4 build (and thus not remove everything that depended on PyKDE4). Now that a newer SIP and PyQt versions are out, there is no more need for that.
Sadly I don't see any warning about this because if I read it I don't test KDE 4.4. Python plasmoids are the most useful to me.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Well, the KDE:KDE4:Factory:Desktop repository is not officially supported and tracks a development version, so breakage (although rare, and that was upstream) can happen.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS
The bug is also here with 4.4 RC 2 on Kubuntu 9.10 :(
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS
Vistaus wrote:The bug is also here with 4.4 RC 2 on Kubuntu 9.10 :(
Update to RC 3, the problem is solved.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
Vistaus
Registered Member
Posts
109
Karma
0
OS
But RC3 is not in the repos yet.

Btw, will it also solve the bug of the KCM Module for Printer configuration not working?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar