[Kommander-devel] Plugins do not work with DCOP for me

Eric Laffoon eric at kdewebdev.org
Wed Nov 8 12:28:07 EST 2006


On Wednesday 08 November 2006 5:35 am, Fabian Franz wrote:
> Hi,
>
> I cannot get the HttpForm plugin (or my own specific plugin) to work.
>
> It fails with "Tried to perform DCOP query and failed."
>
> I just use a ExecButton with @HttpForm2.setURL("www.google.de").
>
> I've searched in the code and I can see why it fails. I can't see however
> how this has worked ever before ... :-(
>
> @HttpForm2.setURL runs localDCOPQuery("setUrl", "HttpForm2",
> "www.google.de"), which runs DCOPQuery("kmdr-executor-678", "KommanderIf",
> "setUrl", "HttpForm2", "www.google.de") [from kommanderfunctions.cpp]
>
> but KommanderIf does not know a function called setUrl as the list is
> created by dcopidl2cpp and so static at runtime.
>
> The parser might have used f_internalDcop before and then it might have
> worked or you are testing with the new parser?

Michal would have to answer this as I don't have time but now that you mention 
it I know it was tested with the new parser.
>
> I don't know.
>
> All I know is that plugins with DCOP do not work for me and as Kommander
> uses internally DCOP they do not work for me.
>
> And this sux ;-). Any help appreciated.
>
> cu
>
> Fabian
> --
> GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
> NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
Please post demo of what does not work. Attached is a demo that does.

What version of Kommander are you running? If you are developing you should 
probably be running 1.3.0 although plugins should work with kdewebdev from 
any KDE after 3.3.0.
-- 
Eric Laffoon
Project Lead - kdewebdev module
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpform.kmdr
Type: application/x-kommander
Size: 11417 bytes
Desc: not available
Url : http://mail01.fortunecookiestudios.com/pipermail/kommander-devel/attachments/20061108/79e183d8/httpform.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpget.kmdr
Type: application/x-kommander
Size: 3140 bytes
Desc: not available
Url : http://mail01.fortunecookiestudios.com/pipermail/kommander-devel/attachments/20061108/79e183d8/httpget.bin


More information about the Kommander-devel mailing list