Re: Python plugins don't work

Felix Riemann <[email protected]>
Newsgroups gmane.comp.gnome.apps.Eog
Message-ID <1211028884.3136.4.camel@kirschsaft>
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.

_______________________________________________
Eog-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/eog-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.