Re: [COOT] problem in loading icons
> 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
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
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
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
Re: [COOT] problem in loading icons
I just finally managed to replicate the problem. If I start a bash shell without sourcing /sw/bin/init.sh to set up the fink environment, I get this problem too. So first issue source /sw/bin/init.sh then coot (or if you use tcsh, issue "source /sw/bin/init.csh ). This not only sets up the $PATH, but ensures the rest of the environment is set up correctly by sourcing the various files in the directory /sw/etc/profile.d On Nov 18, 2008, at 12:10 PM, Enrico Malito wrote: Dear Dr. Scott, thanks for your messages. I've tried both your suggestions, but they did not help. I do have: % dpkg -S svg_loader.so librsvg2-gtk: /sw/lib/gtk-2.0/2.10.0/loaders/svg_loader.so tried to fink reinstall librsvg2-gtk, here what I get: Information about 7428 packages read in 6 seconds. The following package will be reinstalled: librsvg2-gtk Reading buildlock packages... /sw/bin/dpkg-lockwait -i /sw/var/cache/apt/archives/librsvg2- gtk_2.22.3-1_darwin-i386.deb (Reading database ... 36662 files and directories currently installed.) Preparing to replace librsvg2-gtk 2.22.3-1 (using .../librsvg2- gtk_2.22.3-1_darwin-i386.deb) ... Unpacking replacement librsvg2-gtk ... Setting up librsvg2-gtk (2.22.3-1) ... and also tried DYLD_LIBRARY_PATH="" ; coot Unfortunately I am still having the same problem. E. On Nov 17, 2008, at 5:52 PM, William G. Scott wrote: 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