Mailinglist Archive: opensuse-kde (199 mails)

< Previous Next >
Re: [opensuse-kde] python engine
  • From: Stephan Kulow <coolo@xxxxxxx>
  • Date: Fri, 6 Mar 2009 11:40:37 +0100
  • Message-id: <200903061140.38841.coolo@xxxxxxx>
Am Freitag 06 März 2009 schrieb Michal Seben:
Stephan Kulow wrote:
I added another spec file to kdebase4-workspace to build the python
engine for plasma: python-kdebase4-4.2.1

hello Stephan

i try attached python-plasmoid example :
plasmapkg - i hallo-plasma.zip
plasmoidviewer hallo-plasma

it works only if I have installed python-devel package, otherwise i get :
"Could not create a python ScriptEngine for the Hello Plasma widget"

I am just wandering why is needed devel package to run plasmoid

plasmoidviewer(16514)/python (plugin): Failed to import module
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py",
line 19, in <module>
from PyQt4.QtCore import *
ImportError: /usr/lib64/python2.6/site-packages/PyQt4/QtCore.so: undefined
symbol: PyExc_ValueError

export LD_PRELOAD=/usr/lib64/libpython2.6.so.1.0 -> works

The bug is in python-qt4

Greetings, Stephan

--
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx

< Previous Next >