ImageMagick Settings composite Failed Error messages: Problem executing binary:

squawk

Joined: 2006-05-31
Posts: 7
Posted: Fri, 2009-11-13 18:30

Linux server
Gallery 2.3
ImageMagick 4.5.7-7

Hi
When I'm try to use netpbm I can't get the resized photos to appear and when I try to apply watermark the image dissappears leaving only the watermark? If this is applied to a thumbnail the thumbnail dissappears. If I then remove the watermark I can get the main image back but the thumb I can't. The size property is empty and I can't set a new size, it doesn't save?

So I'm trying to configure ImageMagcik to reslove these promblems.
However (and I know this is probably an old issue) I'm having problems configuring ImageMagick.

The binary install seemed to go OK with the exception of:
FAIL: wand/wandtest.sh

It's when I test within gallery it seems to fall down. I'm getting

identify Passed
convert Passed
composite Failed
Error messages:Problem executing binary:
With the debug listing the following:

is_dir(/usr/local/bin/)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/identify)
getParameter exec.beNice for core plugin
Executing: ( "/usr/local/bin/identify"
"/home/vhosts/theimagestock.co.uk/httpdocs/modules/imagemagick/data/test.gif"
)
2>"/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgqUCO46"
getParameter exec.expectedStatus for core plugin
file_exists(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgqUCO46)
filesize(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgqUCO46)
unlink(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgqUCO46)
Regular Output:
/home/vhosts/theimagestock.co.uk/httpdocs/modules/imagemagick/data/test.gif
GIF 50x50 50x50+0+0 8-bit PseudoClass 8c 232b 0.000u 0:00.000
Error Output:
Status: 0 (expected 0)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
tempnam(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/,
imgk_)
file_exists(/usr/local/bin/convert)
Executing: ( "/usr/local/bin/convert" "-size" "200x200" "-geometry"
"200x200"
"/home/vhosts/theimagestock.co.uk/httpdocs/modules/imagemagick/data/test.gif"
"gif:/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/imgk_KqemmB"
)
2>"/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgEXPUD5"
file_exists(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgEXPUD5)
filesize(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgEXPUD5)
unlink(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgEXPUD5)
Regular Output:
Error Output:
Status: 0 (expected 0)
unlink(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/imgk_KqemmB)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/combine)
file_exists(/usr/local/bin/composite)
is_executable(/usr/local/bin/composite)
is_dir(/usr/local/bin/)
file_exists(/usr/local/bin/gm)
tempnam(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/,
imgk_)
Executing: ( "/usr/local/bin/composite" "-geometry" "+0+0"
"/home/vhosts/theimagestock.co.uk/httpdocs/modules/imagemagick/data/test.jpg"
"/home/vhosts/theimagestock.co.uk/httpdocs/modules/imagemagick/data/test.gif"
"gif:/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/imgk_XnmdjA"
)
2>"/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgiQOwY4"
file_exists(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgiQOwY4)
filesize(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgiQOwY4)
fopen(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgiQOwY4,
r, 0)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fgets(Resource id #114, 4096)
feof(Resource id #114)
fclose(Resource id #114)
unlink(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/g2dbgiQOwY4)
Regular Output:
Error Output:
composite: no decode delegate for this image format
`/home/vhosts/theimagestock.co.uk/httpdocs/modules/imagemagick/data/test.jpg'
@ constitute.c/ReadImage/530.
composite: missing an image filename
`gif:/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/imgk_XnmdjA'
@ composite.c/CompositeImageCommand/1609.
Status: 1 (expected 0)
unlink(/home/vhosts/theimagestock.co.uk/httpdocs/g2datathucrem2/tmp/imgk_XnmdjA)
chdir(/home/vhosts/theimagestock.co.uk/httpdocs)

Any ideas???

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-11-13 19:02

Probably has to do with the image or version of ImageMagick not being able to handle that image:

Quote:
composite: no decode delegate for this image format

I don't know what that means, but it leads me to believe ImageMagick can't handle your image(s)

Ah, just saw this:

Quote:
ImageMagick 4.5.7-7

Yeah, that's ancient. Get that upgraded.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
squawk

Joined: 2006-05-31
Posts: 7
Posted: Fri, 2009-11-13 21:15

Thanks for the reply

My mistake, that should have read 6.5.7-7

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-11-16 16:51

hmmm, I don't know.

I'm running 6.5.1-2 on one server and 6.3.7 on another server and they both work.

Post the rest of your system info:
FAQ: What information is required when I ask for help in the forums?

And can you either post a link or attach the image and watermark you are trying to use?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
squawk

Joined: 2006-05-31
Posts: 7
Posted: Fri, 2009-11-20 18:18

Many thanks for your time and input.
In the end I've installed the binares for jpeg, tiff etc and although it actually made ImageMagick worst (Don't ask!) It did allow mw to use netpbm.
Which I've so far managed to utilise to do what I what.

Cheers