Version: (using KDE 4.3.0) OS: Linux Installed from: Ubuntu Packages I've been developing a Plasma Runner with Python. Once I have installed it and krunner is restarted the debug info show: ... krunner(27828)/libplasma Plasma::engineOffers: No offers for " "python" " krunner(27828)/libplasma Plasma::engineOffers: No offers for " "python" " krunner(27828)/libplasma Plasma::AbstractRunnerPrivate::AbstractRunnerPrivate: Could not create a(n) "python" ScriptEngine for the "MyRunner" Runner. ... I've been trying to follow the calls backtrace and I've arrived at "abstractrunner.cpp:69" and noticed that it's looking up for a ScriptEngine with api=" "python" " (as shown in the error message), instead of api="python". I've gotten the expected behaviour in Python, which means (I think) that the full machinery is ready. from PyKDE4.kdecore import KServiceTypeTrader KServiceTypeTrader.self().query("Plasma/ScriptEngine", "[X-Plasma-API] == 'python'") The value for api is taken from the metadata file and it is: X-Plasma-API=python (I've tried many other values and yes, it's taken from here) Any ideas?
I don't completely agree with the Product change (from plasma to krunner) because runners are a part of Plasma and KRunner uses them.
that is true, but you will probably have more chances that the people that are really concerned about the runners see it. But if you really disagrea i can change it back, it's sometimes hard to pick the right product for a bug
Good point! :)
is this still the case on recent kde versions? thanks
Yes, checked on kde 4.3.4 (In reply to comment #4) > is this still the case on recent kde versions? > thanks
I've been taking a look and I've found that in version 4.3.80 the "pyrunner.py" (which I suppose that will fix my problem) file has been included, hasn't it? (In reply to comment #4) > is this still the case on recent kde versions? > thanks
It works!!! I've checked out the trunk version of the python scriptengine and it works!!! :DD Thank you for the hint!! (In reply to comment #4) > is this still the case on recent kde versions? > thanks