Either the image file is corrupt, or the library is broken for loading png.
Two things you can check
1/ open "/usr/share/zim/pixmaps/attachment.png" with an image viewer, see
if it looks alright (small paperclip icon)
2/ run the following python code from a terminal:
$ python
>>> import gtk
>>> gtk.gdk.pixbuf_new_from_file("/usr/share/zim/pixmaps/attachment.png")
<gtk.gdk.Pixbuf object at 0xb743d66c (GdkPixbuf at 0xa3b3650)>
If you get the last line as output, library is fine loading the file.
If this code it gives the error as well, it shows in a easy reproducible
test the library is broken.
(Maybe verify with another png image to exclude some weirdness with this
particular image)
Regards,
Jaap
On Wed, Sep 11, 2013 at 5:08 PM, Charles Kroeger <[email protected]>wrote:
> Traceback (most recent call last):
> File "/usr/bin/zim", line 74, in <module>
> zim.main(argv)
> File "/usr/lib/python2.7/dist-packages/zim/__init__.py", line 438, in
> main
> import zim.gui.notebookdialog
> File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 230,
> in <module>
> load_zim_stock_icons()
> File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 222, in
> load_zim_stock_icons pixbuf = gtk.gdk.pixbuf_new_from_file(str(dir+file))
> glib.GError: Couldn't recognize the image file format for file
> '/usr/share/zim/pixmaps/attachment.png'
>
>
> System Information
> GTK+ 2.24.20 / GLib 2.36.4
> Locale: en_US.UTF-8 (charset: UTF-8)
> Operating System: Linux 3.10-1-amd64 (x86_64)
>
>
> Zim has been un-startable in sid for a long time now. Any chance of
> getting it
> back? I've got a lot of stuff on it. Having to resort to Gvim.
>
> --
> thanks,
>
> CK
>
>