Tag Archives: plasmoid

[SOLVED] Could not create a python ScriptEngine for the [name-of-plasmoid] widget

I recently installed Fedora 14 KDE Live Spin and am trying to get my hands into plasmoid development. I picked python as a language of choice but was getting the following error while trying to run plasmoids:

The object could not be created for the following reason:
Could not create a python ScriptEngine for the [name-of-plasmoid] widget.

I checked if PyQT4, PyKDE4 and kdebase-workspace-python-applet were installed and they were but I was still getting the errors. I had almost given up but then I realized that I had just upgraded a lot of packages. So, I just rebooted and I was able to add plasmoids without problems.
If you are getting this error, you must check if you can run the plasmoid with plasmoidviewer from the terminal and check for errors in the terminal.
Hope this helps.

[SOLVED] cmake error when compiling plasmoid on Ubuntu

[ad#ad-1] I have recently installed kubuntu-desktop (KDE4) on my Karmic Koala installation and tried to install a very cool weather plasmoid called Yet Another Weather Plasmoid but I was unable to do so as I got this error:

CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/pravin/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)

CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
Compilation failed, sorry :-(

I installed kdelibs5-dev and I was able to compile it.

Hope this helps.