Re: Python plugins don't work



Am Sonntag, den 11.05.2008, 03:51 +1100 schrieb Константин Михайлов: 
> Hello
Hi!

> 
> But I got this
> 
> ========================================
> konstantin konstantin-desktop:~/.gnome2/eog/plugins$ eog
> 
> (eog:1919): EOG-WARNING **: Could not find 'Name' in
> /home/konstantin/.gnome2/eog/plugins/helloworld.eog-plugin
> ========================================
> 
> Ok. I replaced "_Name=Hellloooooooooo" with "Name=Hellloooooooooo".

Yes. The underscore is an indicator for intltool to translate the key.
So, as you probably don't want this for now (and it requires an extra
build step), what you did was correct.

> And now i got this:
> 
> ========================================
> konstantin konstantin-desktop:~/.gnome2/eog/plugins$ eog
> 
> (eog:1957): EOG-WARNING **:
> /home/konstantin/.gnome2/eog/plugins/libhello.so: cannot open shared
> object file: No such file or directory
> 
> (eog:1957): EOG-WARNING **: Cannot load plugin 'Hellloooooooooo' since
> file '/home/konstantin/.gnome2/eog/plugins/libhello' cannot be read.
> 
> (eog:1957): EOG-WARNING **: Error activating plugin 'Hellloooooooooo'
> ========================================
> 
> Any ideas?

You need to tell EOG that it should use the python loader. To do this
add the line
Loader=python
to the .eog-plugin file.

Felix

P.S.: We should probably update/correct the wiki page.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]