[Kde-bindings] Ruby Plasmoid article

Richard Dale rdale at foton.es
Wed Aug 6 09:46:28 UTC 2008


On Wednesday 06 August 2008 03:33:39 Sebastian Sauer wrote:
> forwarded to kde-bindings at kde.org since probably someone there knows why
> Ruby Plasma Applets don't work any longer?! Looks as something essential
> was changed right after our bindings-sprint and before the 4.1.0 release
> (yay, I love feature-freezes).
>
> On Wednesday 06 August 2008, Sebastian Sauer wrote:
> > On Saturday 02 August 2008, Declan McGrath wrote:
> > > Hi Sebastian,
> >
> > and hi Declan,
> >
> > first sorry for the long time till I replied. I am atm quit busy with so
> > much things that it's hard to react on more complex things in realtime ;)
> >
> > > Loved your article on the Ruby Plasmoids at
> > > http://techbase.kde.org/Development/Tutorials/Plasma/RubyApplet.
> > > Thanks!
> >
> > Thank you too! Feedback is a rather useful thing since it shows that it's
> > really worth and needed(!!!) to write such tutorials.
> >
> > > I had a couple of difficulties whilst trying to get the tutorial to
> > > work though. I've put up a blog post on my site at
> > > http://www.theirishpenguin.com/2008/08/02/getting-ruby-plasmoids-up-and
> > >-r un ning-in-kde-41-on-kubuntu
> >
> > wow.
> >
> > > The main issue I had was around the CMakeLists.txt file initially. But
> > > now I'm stuck getting a 'findServiceByDesktopPath:  not found' error
> > > when trying to run the plasmoid? Everything seems to have installed
> > > correctly.
> > >
> > > Once I get it working I can tidy up my blog post or perhaps better
> > > still migrate some of the content into your Techbase wiki article to
> > > add a little more explananation to things like cmake and how to install
> > > the plasmoid.
> >
> > uhm, seems I get something similar now;
> >
> > plasmoidviewer(20804)/libplasma Plasma::isPluginVersionCompatible: plugin
> > is compiled against incompatible Plasma version   4294967295
> > plasmoidviewer(20804)/libplasma Plasma::ContainmentPrivate::addApplet:
> > Applet "plasma-ruby-web-applet" could not be loaded.
> > findServiceByDesktopPath:  not found
> >
> > The interesting part here is the "incompatible Plasma version" which was
> > not the case ~2 weeks ago :-/
> > hmmm... since I use trunk I try to recompile bindings right now what may
> > take a while. Else I would suggest to ask at the kde-bindings mailinglist
> > (http://www.kde.org/mailinglists/) where more developers hang around ;)
>
> I keep to get that error in trunk too :-/
The C++ clock .desktop file has this line in it:

X-KDE-PluginInfo-Version=pre0.1

Does adding that to the ruby applet's .desktop make it work? But we really 
should be switching to the ScriptEngine based api for Ruby applets. I haven't 
had time to convert some examples and generally try it out yet though.

-- Richard



More information about the Kde-bindings mailing list