[EMAIL PROTECTED] wrote:
< Specifically ImageMagick returns error code 139.

We need context.  The ImageMagick command line programs generally return
0 for success and 1 for failure.  If you are running from the command line,
what is the command you are running.  If you are using a language wrapper
which wrapper?  Magick++, MagickCore, MagickWand, etc.?  If you are using a
language wrapper we would need to see the code before we could speculate
why a status of 139 is being returned.

We are using ImageMagick with Gallery2 2.2.1.

Here is the output from Gallery's test of the toolkit:

is_dir(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/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(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/gm)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/identify)
getParameter exec.beNice for core plugin
Executing: (
"/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/identify"
 
"/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/www/gallery2/modules/imagemagick/data/test.gif"
)
2>/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgSsQjGa
getParameter exec.expectedStatus for core plugin
file_exists(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgSsQjGa)
filesize(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgSsQjGa)
unlink(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgSsQjGa)
Regular Output:
/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/www/gallery2/modules/imagemagick/data/test.gif
GIF 50x50 50x50+0+0 PseudoClass 8c 8-bit 232b
Error Output:
Status: 0 (expected 0)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/gm)
tempnam(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/,
imgk_)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/convert)
Executing: (
"/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/convert"
 "-size"  "200x200"  "-geometry"  "200x200"
"/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/www/gallery2/modules/imagemagick/data/test.gif"
 
"/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/imgk_asxl7s"
)
2>/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgkRNjzL
file_exists(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgkRNjzL)
filesize(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgkRNjzL)
unlink(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgkRNjzL)
Regular Output:
Error Output:
Status: 139 (expected 0)
unlink(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/imgk_asxl7s)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/gm)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/combine)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/composite)
is_executable(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/composite)
file_exists(/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/gm)
tempnam(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/,
imgk_)
Executing: (
"/kunden/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/bin/composite"
 "-geometry"  "+0+0"
"/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/www/gallery2/modules/imagemagick/data/test.jpg"
 
"/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/www/gallery2/modules/imagemagick/data/test.gif"
 
"/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/imgk_W23yqa"
)
2>/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgchVriz
file_exists(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgchVriz)
filesize(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgchVriz)
unlink(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/g2dbgchVriz)
Regular Output:
Error Output:
Status: 139 (expected 0)
unlink(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/g2data/tmp/imgk_W23yqa)
chdir(/homepages/35/d157794216/htdocs/sites/s157794238.onlinehome.us/www/gallery2)

Also, I following these instructions to compile ImageMagick right on our web 
server:
http://faq.1and1.com/scripting_languages_supported/ssh_secure_shell/9.html

other than I wget'ed a specific version (6.3.4-0) from the server instead of 
accepting/taking the symlink to the current version.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to