[Bug 338996] Re: most simple plasma script does not run
Isma
Ismail_k at web.de
Sat Mar 7 12:06:45 UTC 2009
** Description changed:
In Jaunty (9.04):
When I try to run the most simple python plasmoid example from http://techbase.kde.org/Development/Tutorials/Plasma/Python/GettingStarted
I get following output in terminal:
---------------------------------------------------------------------------------------
plasmoidviewer hello-python
plasmoidviewer(7723) KServiceFactory::findServiceByDesktopPath: "findServiceByDesktopPath: not found"
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 21, in <module>
from PyKDE4.plasma import Plasma
ImportError: No module named PyKDE4.plasma
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 77, in apport_excepthook
pr['PythonArgs'] = '%r' % sys.argv
AttributeError: 'module' object has no attribute 'argv'
Original exception was:
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 21, in <module>
from PyKDE4.plasma import Plasma
ImportError: No module named PyKDE4.plasma
----------------------------------------------------------------------------------------------------
And the window which should show the plasmoid says: Could not create a python scriptengine for hello-python.
The needed files all seem to be installed.
Propably the Problem is that some Packages are compiled with python 2.5 like:
python-kde4
and some with python 2.6 libraries??? (like python-plasma)
+ I wrote the output to the troubleshooting section in the above mentioned wiki (techbase). Someone wrote as an answer:
+ ------------------------------------------------------------------
+ Solution: You have the Python ScriptEngine present on your system, but not the whole PyKDE4 installed, or your PyKDE4 was not installed with Plasma support. Install or compile PyKDE4 (python-kde4 on openSUSE) and the problem should be solved.
+ -----------------------------------------------------------------
+ So maybe the package python-kde4 is compiled without plasma support?
+
Version of python-plasma: 4.2.1a-0ubuntu2
Version of python-kde4: 4.2.1-0ubuntu2
Installed python versions: 2.6.1 , 2.5.4-1ubuntu2 and 3.0, I cold not remove 2.5 without breaking dependencies
** Tags added: python-kde4 python-plasma
--
most simple plasma script does not run
https://bugs.launchpad.net/bugs/338996
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in ubuntu.
More information about the kubuntu-bugs
mailing list