"Problem executing binary" test results with ImageMagick and Gallery 2

agrikk
agrikk's picture

Joined: 2004-09-09
Posts: 8
Posted: Sun, 2010-01-03 21:05


Gallery version: 2.3.1 full-en
PHP version:5.2.5
PHPInfo Link (see FAQ): http://gallery.astromoff.com/info.php
Webserver: IIS 6
Database): MySQL 5.1.34
Activated toolkits (e.g. NetPbm, GD): ImageMagick (installed but unconfigured)
Operating system (e.g. Linux): Windows 2003 Enterprise with SP2
Browser (e.g. Firefox 2.0): IE8

When I run the ImageMagick "test settings", I receive four "Problem Executing binary" errors. This result is the same after trying multiple versions of ImageMagick (ImageMagick-6.5.8-10-Q16-windows-dll and 6.4.1-8)

Here is the debug output:

Quote:
is_dir(c:\IM6\)
Loading plugin imagemagick
imagemagick plugin successfully instantiated
Check the version of the imagemagick plugin
The version of the imagemagick plugin is ok
getcwd()
chdir(Q:\gallery-astromoff-data\tmp\)
is_dir(c:\IM6\)
file_exists(c:\IM6\gm.exe)
file_exists(c:\IM6\identify.exe)
Executing: cmd /c " "c:\IM6\identify.exe"
"Q:\web\gallery.astromoff.com\modules\imagemagick\data\test.gif" 2>
"Q:\gallery-astromoff-data\tmp\g2d1C4A.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(Q:\gallery-astromoff-data\tmp\g2d1C4A.tmp)
filesize(Q:\gallery-astromoff-data\tmp\g2d1C4A.tmp)
unlink(Q:\gallery-astromoff-data\tmp\g2d1C4A.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
is_dir(c:\IM6\)
file_exists(c:\IM6\gm.exe)
tempnam(Q:\gallery-astromoff-data\tmp\, imgk_)
file_exists(c:\IM6\convert.exe)
Executing: cmd /c " "c:\IM6\convert.exe" "-size" "200x200" "-geometry"
"200x200" "Q:\web\gallery.astromoff.com\modules\imagemagick\data\test.gif"
"gif:Q:\gallery-astromoff-data\tmp\img1C4B.tmp" 2>
"Q:\gallery-astromoff-data\tmp\g2d1C4C.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(Q:\gallery-astromoff-data\tmp\g2d1C4C.tmp)
filesize(Q:\gallery-astromoff-data\tmp\g2d1C4C.tmp)
unlink(Q:\gallery-astromoff-data\tmp\g2d1C4C.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
unlink(Q:\gallery-astromoff-data\tmp\img1C4B.tmp)
is_dir(c:\IM6\)
file_exists(c:\IM6\gm.exe)
file_exists(c:\IM6\combine.exe)
file_exists(c:\IM6\composite.exe)
file_exists(c:\IM6\composite.exe)
is_dir(c:\IM6\)
file_exists(c:\IM6\gm.exe)
tempnam(Q:\gallery-astromoff-data\tmp\, imgk_)
Executing: cmd /c " "c:\IM6\composite.exe" "-geometry" "+0+0"
"Q:\web\gallery.astromoff.com\modules\imagemagick\data\test.jpg"
"Q:\web\gallery.astromoff.com\modules\imagemagick\data\test.gif"
"gif:Q:\gallery-astromoff-data\tmp\img1C4D.tmp" 2>
"Q:\gallery-astromoff-data\tmp\g2d1C4E.tmp" "
getParameter exec.expectedStatus for core plugin
file_exists(Q:\gallery-astromoff-data\tmp\g2d1C4E.tmp)
filesize(Q:\gallery-astromoff-data\tmp\g2d1C4E.tmp)
unlink(Q:\gallery-astromoff-data\tmp\g2d1C4E.tmp)
Regular Output:
Error Output:
Status: -1 (expected 0)
unlink(Q:\gallery-astromoff-data\tmp\img1C4D.tmp)
chdir(Q:\web\gallery.astromoff.com)

I ran this from the command line:

Quote:
cmd /c " "c:\\IM6\\identify.exe" "Q:\web\gallery.astromoff.com\modules\imagemagick\data\test.gif" 2>"Q:\gallery-astromoff-data\tmp\g2d1A7E.tmp" "

and received this output:

Quote:
Q:\web\gallery.astromoff.com\modules\imagemagick\data\test.gif GIF 50x50 50x50+0+0 8-bit PseudoClass 8c 232b

 
Boogerhead

Joined: 2008-02-16
Posts: 50
Posted: Mon, 2010-01-04 01:21

I found a related thread here that seems to be on point:
http://gallery.menalto.com/node/68241