Re: [COOT] problem in loading icons

2008-11-17 Thread Debreczeni, Judit
 I was wondering if anybody observed this before. When I start coot I  
 get this messages (a long list of errors for the whole 
 content of the  
 folder /sw/share/coot/pixmaps/):
 
 Error loading icon: Couldn't recognize the image file format 
 for file  
 '/sw/share/coot/pixmaps/add-alt-conf.svg'


Well, it is probably not more than a shallow consolation to know that it does 
happen on certain RHEL4 machines using centos builds as well... so you are not 
alone asking this question.

JED


--
AstraZeneca UK Limited is a company incorporated in England and Wales with 
registered number: 03674842 and a registered office at 15 Stanhope Gate, London 
W1K 1LN.
Confidentiality Notice: This message is private and confidential and may 
contain confidential, proprietary and legally privileged information. If you 
have received this message in error, please notify us and remove it from your 
system and note that you must not copy, distribute or take any action in 
reliance on it. Any unauthorised use or disclosure of the contents of this 
message is not permitted and may be unlawful.
Disclaimer: Email messages may be subject to delays, interception, non-delivery 
and unauthorised alterations. Therefore, information expressed in this message 
is not given or endorsed by AstraZeneca UK Limited unless otherwise notified by 
an authorised representative independent of this message. No contractual 
relationship is created by this message by any person unless specifically 
indicated by agreement in writing other than email.
Monitoring: AstraZeneca UK Limited may monitor email traffic data and content 
for the purposes of the prevention and detection of crime, ensuring the 
security of our computer systems and checking Compliance with our Code of 
Conduct and Policies.


Re: [COOT] problem in loading icons

2008-11-17 Thread William G. Scott

Hi Enrico:

I have this:

% dpkg -S svg_loader.so
librsvg2-gtk: /sw/lib/gtk-2.0/2.10.0/loaders/svg_loader.so

The package that provides this is librsvg2-gtk, which should be a coot  
dependency.


Could you please check, and maybe try reinstalling it, ie.

fink reinstall librsvg2-gtk

and let me know what happens?

Many thanks in advance, and also many thanks to Charles Ballard for  
pointing this out.


Bill




On Nov 17, 2008, at 12:49 PM, Ballard, CC (Charles) wrote:


Hi Enrico

For some reason the pixbuf.loaders file does not contain the  
information

about the svg_loader.  This is normally achieved by running
gdk-pixbuf-query-loaders and piping the output to the pixbuf.loaders
file (use find to locate it).  To confirm that you have the svg  
library

setup in gdk in the first place try and locate the svg_loader.la file
(in my case - none fink - it is in lib/gtk-2.0/2.10.0/loaders ).
gdk-pixbuf-query-loaders will have a manual page if more info is
required.

If all else fails, there is a bundle of coot 0.5 at
http://www.ccp4.ac.uk/download/downloadman.php

Charles

-Original Message-
From: Mailing list for users of COOT Crystallographic Software
[mailto:[EMAIL PROTECTED] On Behalf Of Enrico Malito
Sent: 17 November 2008 16:09
To: COOT@JISCMAIL.AC.UK
Subject: [COOT] problem in loading icons

Hello,

I was wondering if anybody observed this before. When I start coot I  
get
this messages (a long list of errors for the whole content of the  
folder

/sw/share/coot/pixmaps/):

Error loading icon: Couldn't recognize the image file format for file
'/sw/share/coot/pixmaps/add-alt-conf.svg'
Error loading icon: Couldn't recognize the image file format for file
'/sw/share/coot/pixmaps/add-peptide-1.svg'
...
...
Error loading icon: Couldn't recognize the image file format for file
'/sw/share/coot/pixmaps/undo-1.png'
Error loading icon: Couldn't recognize the image file format for file
'/sw/share/coot/pixmaps/unknown-blob.png'
initalize graphics molecules...done.

and no icons are loaded in the right bar of coot, only grey boxes (see
attach).
This is 0.5.1-pre-1 installed through fink on OSX 10.5.5, and those
icons files are actually there (in /sw/share/coot/pixmaps/) and seem  
oK.


Thanks much in advance for any hints.
EM


Re: [COOT] problem in loading icons

2008-11-17 Thread William G. Scott

Another idea:

If you have $DYLD_LIBRARY_PATH assigned, try unsetting it before  
invoking coot, i.e., issue


DYLD_LIBRARY_PATH=  ; coot


On Nov 17, 2008, at 8:09 AM, Enrico Malito wrote:


Hello,

I was wondering if anybody observed this before. When I start coot I  
get this messages (a long list of errors for the whole content of  
the folder /sw/share/coot/pixmaps/):


Error loading icon: Couldn't recognize the image file format for  
file '/sw/share/coot/pixmaps/add-alt-conf.svg'
Error loading icon: Couldn't recognize the image file format for  
file '/sw/share/coot/pixmaps/add-peptide-1.svg'

...
...
Error loading icon: Couldn't recognize the image file format for  
file '/sw/share/coot/pixmaps/undo-1.png'
Error loading icon: Couldn't recognize the image file format for  
file '/sw/share/coot/pixmaps/unknown-blob.png'

initalize graphics molecules...done.

and no icons are loaded in the right bar of coot, only grey boxes  
(see attach).
This is 0.5.1-pre-1 installed through fink on OSX 10.5.5, and those  
icons files are actually there (in /sw/share/coot/pixmaps/) and seem  
oK.


Thanks much in advance for any hints.
EM
Picture 1.png