On Mon 07 of Jan 2013 9:47:22 Daniel Vrátil wrote:
> On Saturday 05 of January 2013 22:57:43 Colin J Thomson wrote:
> > On Saturday 05 Jan 2013 16:49:11 Rex Dieter wrote:
> > > On 01/05/2013 03:16 PM, Colin J Thomson wrote:
> > > > Hi Rex,
> > > >
> > > > On Saturday 05 Jan 2013 15:02:47 Rex Dieter wrote:
> > > >> f18 kde-4.9.97 builds pushed to kde-unstable last night.
> > > >
> > > > The usual flawless upgrade..
> > > > One thing I have noticed some of my plasmoids have stopped working..
> > > > "could
> > > > not create python ScriptEngine"
> > > >
> > > > I have all the required files and I'll dig a little deeper later. The
> > > > Plasmoids are third party ones but worked fine in 4.9.95. Fan Speed is
> > > > one
> > > > for example..
> > >
> > > I heard some grumbling upstream about related issues, can you give me a
> > > specific plasmoid (preferably with links) so I can test/reproduce this?
> >
> > Sure..
> >
> > http://kde-look.org/content/show.php/FanSpeed?content=111753
> >
> > This is Fan Speed, you can also add it via the "add widgets" option.
>
> I can confirm this problem with Fan Speed. Running plasma-desktop from
> console shows this error when adding the applet:
>
> plasma-desktop(5810)/python (plugin) KPythonPluginFactory::create: Path to
> plugin code is:
> "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py"
> plasma-desktop(5810)/python (plugin): Failed to import module
> Traceback (most recent call last):
> File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py",
> line 20, in <module>
> from PyQt4.QtCore import *
> ImportError: /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so: undefined
> symbol: PyExc_ValueError
> plasma-desktop(5810)/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'"
>
I have the same problem with running Python Runner example from docs[1].
This error is weird, I can run "from PyQt4.QtCore import *" from Python interactive shell just fine, but it fails when runned from KRunner.
Rebuilding PyQt4 doesn't fix the issue for me.
Radek Novacek
[1] http://techbase.kde.org/Development/Tutorials/Plasma/PythonRunner
> Which looks like ABI break in PyQt4 to me (?).
>
> Dan
>
> > Colin
> > --
> > Fedora 18 (Spherical Cow)
> > Registered Linux user number #342953
> >
> >
> > _______________________________________________
> > kde mailing list
> > kde@lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/kde
> > New to KDE4? - get help from http://userbase.kde.org