(Gallery2) Composite fails test -- OS X 10.4.9
Posted: 2007-06-13T16:48:21-07:00
Hello,
I'm trying to get ImageMagick to work with Gallery2 (v.2.2.1). I've tried installing three times, once using the OS X universal binary, once downloading, compiling, etc. the source files, lastly using MacPorts. They all produce the same result: ImageMagick seems correctly installed, but when I try to activate it in Gallery2, "composite" fails.
Universal Binary: ImageMagick-universal-apple-darwin8.9.1.tar
Source Version: ImageMagick-6.3.2-9.tar.gz
MacPorts: MacPorts-1.4.0-10.4.dmg
Apache: 1.3.33
PHP: 5.2.2
When I run the composite command (as shown in the debug output) from the command line, it gives the same result.
I have noticed others having the same problem over various versions of Gallery/ImageMagick, but found no solution.
Can anyone tell me what causes this failure, and how to fix it? I've heard so much good about ImageMagick, and it's frustrating not to be able to use it!
Thanks in advance for any help you can offer!
Here's the debug data that Gallery2 presents when the "Test" fails:
I'm trying to get ImageMagick to work with Gallery2 (v.2.2.1). I've tried installing three times, once using the OS X universal binary, once downloading, compiling, etc. the source files, lastly using MacPorts. They all produce the same result: ImageMagick seems correctly installed, but when I try to activate it in Gallery2, "composite" fails.
Universal Binary: ImageMagick-universal-apple-darwin8.9.1.tar
Source Version: ImageMagick-6.3.2-9.tar.gz
MacPorts: MacPorts-1.4.0-10.4.dmg
Apache: 1.3.33
PHP: 5.2.2
When I run the composite command (as shown in the debug output) from the command line, it gives the same result.
I have noticed others having the same problem over various versions of Gallery/ImageMagick, but found no solution.
Can anyone tell me what causes this failure, and how to fix it? I've heard so much good about ImageMagick, and it's frustrating not to be able to use it!
Thanks in advance for any help you can offer!
Here's the debug data that Gallery2 presents when the "Test" fails:
Code: Select all
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(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/identify)
getParameter exec.beNice for core plugin
Executing: ( "/usr/local/bin/identify"
"/Library/WebServer/Documents/gallery2/modules/imagemagick/data/test.gif" )
2>/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgLRk6m0
getParameter exec.expectedStatus for core plugin
file_exists(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgLRk6m0)
filesize(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgLRk6m0)
unlink(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgLRk6m0)
Regular Output:
/Library/WebServer/Documents/gallery2/modules/imagemagick/data/test.gif GIF
50x50 50x50+0+0 PseudoClass 8c 8-bit 232b
Error Output:
Status: 0 (expected 0)
file_exists(/usr/local/bin/gm)
tempnam(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/, imgk_)
file_exists(/usr/local/bin/convert)
Executing: ( "/usr/local/bin/convert" "-size" "200x200" "-geometry"
"200x200"
"/Library/WebServer/Documents/gallery2/modules/imagemagick/data/test.gif"
"/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/imgk_ptE2QR" )
2>/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgEz8Hcb
file_exists(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgEz8Hcb)
filesize(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgEz8Hcb)
unlink(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgEz8Hcb)
Regular Output:
Error Output:
Status: 0 (expected 0)
unlink(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/imgk_ptE2QR)
file_exists(/usr/local/bin/gm)
file_exists(/usr/local/bin/combine)
file_exists(/usr/local/bin/composite)
is_executable(/usr/local/bin/composite)
file_exists(/usr/local/bin/gm)
tempnam(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/, imgk_)
Executing: ( "/usr/local/bin/composite" "-geometry" "+0+0"
"/Library/WebServer/Documents/gallery2/modules/imagemagick/data/test.jpg"
"/Library/WebServer/Documents/gallery2/modules/imagemagick/data/test.gif"
"/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/imgk_OMBHME" )
2>/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgDq68ZY
file_exists(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgDq68ZY)
filesize(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgDq68ZY)
fopen(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgDq68ZY,
r, 0)
feof(Resource id #94)
fgets(Resource id #94, 4096)
feof(Resource id #94)
fgets(Resource id #94, 4096)
feof(Resource id #94)
fgets(Resource id #94, 4096)
feof(Resource id #94)
fclose(Resource id #94)
unlink(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/g2dbgDq68ZY)
Regular Output:
Error Output:
composite: no decode delegate for this image format
`/Library/WebServer/Documents/gallery2/modules/imagemagick/data/test.jpg'.
composite: missing an image filename
`/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/imgk_OMBHME'.
Status: 1 (expected 0)
unlink(/Library/WebServer/Documents/gallery2/g2data4y0e35y/tmp/imgk_OMBHME)
chdir(/Library/WebServer/Documents/gallery2)