ImageMagick configure -- idenify fails, convert succeeds

hellsop

Joined: 2003-05-04
Posts: 1
Posted: Sun, 2003-05-04 04:17

I'm expecting that this is a version problem with the port of ImageMagick I have installed (Ver 5.2.9), but let's see what the experts say.

I've got the nightly snapshot from 05/03/2003 03:00:08 am from Chetan, and activating the ImageMagick binaries is failing with identify not working, but convert is. From what I can tell, the ImageMagick programs are actually working, but G2 is expecting a slightly different response back from identify.

The error message I get on identify is

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE> Error messages:

Binary output:

/var/www/ninehells/gallery/modules/imagemagick/classes/../test/images/test.gif 50x50+0+0 PseudoClass 8c 232b GIF 0.0u 0:00 </TD></TR></TABLE><!-- BBCode End -->

The log shows the following:

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE> file_exists(/var/www/ninehells/gallery/modules/imagemagick/AdminImageMagick.inc)
file_exists(/var/www/ninehells/gallery/modules/imagemagick/templates/)
file_exists(/usr/local/bin/)
is_dir(/usr/local/bin/)
file_exists(/var/www/ninehells/gallery/modules/imagemagick/module.inc)
Executing: ( "/usr/local/bin/identify"
"/var/www/ninehells/gallery/modules/imagemagick/classes/../test/images/test.gif"
) 2>/var/www/tmp/tmp/g2dbglYxvf17791
Regular Output:
/var/www/ninehells/gallery/modules/imagemagick/classes/../test/images/test.gif
50x50+0+0 PseudoClass 8c 232b GIF 0.0u 0:00
Error Output:
file_exists(/var/www/tmp/tmp/g2dbglYxvf17791)
fopen(/var/www/tmp/tmp/g2dbglYxvf17791, r, 0)
(no error output)
Status: 0 (expected 0)
Binding text domain: modules_imagemagick ->
/var/www/ninehells/gallery/modules/imagemagick/locale
Executing: ( "/usr/local/bin/convert" "-scale" "200x200"
"/var/www/ninehells/gallery/modules/imagemagick/classes/../test/images/test.gif"
"/var/www/tmp/tmp/imgk_TTvrI17791" ) 2>/var/www/tmp/tmp/g2dbgiNNWo17791
Regular Output:
Error Output:
file_exists(/var/www/tmp/tmp/g2dbgiNNWo17791)
fopen(/var/www/tmp/tmp/g2dbgiNNWo17791, r, 0)
(no error output)
Status: 0 (expected 0)
unlink(/var/www/tmp/tmp/imgk_TTvrI17791) </TD></TR></TABLE><!-- BBCode End -->

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2003-05-04 07:24

Yep, you're right -- we're expecting identify's GIF output to be slightly different. I just checked in a fix that should make it work for you. Let me know if it doesn't.