Hi

Assuming this is the GTK2 hardwiring of loader locations.

Can you locate your gdk-pixbuf.loaders file (mine is under $COOT/etc/ gtk-2.0) and check that the loaders for png and svg are defined, then confirm that they are where this file would indicate them to be.

If all looks correct then you can force that these file be used using thus (relocation can cause problems), the GDK pixmap module file location can be overriden by the GDK_PIXBUF_MODULE_FILE environment variable (what I use is below)

GDK_PIXBUF_MODULE_FILE=$COOT_PREFIX/etc/gtk-2.0/gdk-pixbuf.loaders

although version numbers may have to change, as may location of libraries.

If the locations are not as in the loader file then you will have to regenerate the loader using

gdk-pixbuf-query-loaders

piping the output to a file and replacing gdk-pixbuf.loaders with it. Before doing this you have to set (use a hardwired path) to point to the loaders themselves

GDK_PIXBUF_MODULEDIR=$COOT_PREFIX/lib/gtk-2.0/2.10.0/loaders

Charles

On 7 May 2009, at 22:40, Alejandro Buschiazzo wrote:

Hi,

I just upgraded coot to 0.6 (pre-1 revision 1941) on my Intel MacOS X (10.4.11).

It launches, but gives a long list of errors, couldn't find any workaround following Bill
Scott's page, coot's FAQ, etc.

The errors start right away starting with :

" ** (coot-real:2487): WARNING **: Error loading pixmap file: /usr/ local/xtal/coot
/share/coot/pixmaps/display-manager.png "

...and then a bunch of

" Error loading icon: Couldn't recognize the image file format for file '/usr/loca
l/xtal/coot/share/coot/pixmaps/add-alt-conf.svg' ... "

Also a few of these at the end :

" (coot-real:2487): Gtk-WARNING **: Error loading icon: Couldn't recognize the ima ge file format for file '/usr/local/xtal/coot/share/themes/Glossy_P/ gtk-2.0/stoc
k_zoom_fit_width.png ..."

It still works, but the windows, buttons and general appearance are really looking quite bad (or even absent); annoyingly enough, each molecule being loaded again triggers a
long list of warnings of the kind:

" ** (coot-real:2487): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/loca l/xtal/coot/share/themes/Glossy_P/gtk-2.0/button_round.png: Couldn't recognize t he image file format for file '/usr/local/xtal/coot/share/themes/ Glossy_P/gtk-2.
0/button_round.png'


** (coot-real:2487): WARNING **: Invalid borders specified for theme pixmap: /usr/local/xtal/coot/share/themes/Glossy_P/gtk-2.0/ button_round.png,
borders don't fit within the image "

Any help will be very much appreciated!!

Reply via email to