When I try to activate the ImageMagick module I get the following error:
Quote:
Error (ERROR_TOOLKIT_FAILURE)
* in modules/imagemagick/classes/ImageMagickToolkitHelper.class at line 151
* in modules/imagemagick/classes/ImageMagickToolkitHelper.class at line 50
* in modules/imagemagick/module.inc at line 119
* in modules/core/AdminModules.inc at line 93
* in main.php at line 130
* in main.php at line 46
Any suggestions or help would be appreciated.
Helpful Info (I hope :smile: )
Downloaded G2 snapshot April 2nd
Have the latest version of ImageMagick
ImageMagick works fine on by G1.x install on the same server
NetPBM works as expected (it's just too slow for me).
All other features of G2 seem operational and fine.
Thanks in Advance!
Michael
Posts: 7994
Two things:
1. Did you try the "test settings" button on the ImageMagick site admin page? Did that work?
2. Turn on debug mode and try activating the module. Look towards the bottom of the page; do you see anything that gives a clue as to what went wrong?
Posts: 3
I'm getting an error close to that above. I wanted to post a little more information about my error, and maybe with some luck it will be helpful to other people.
Did a fresh install with the 04/11 and 04/15 release of Gallery 2.0. So far the basics seem to work great, but when trying to get ImageMagick to test settings, I get an error like the above. Turning on debug, the error that seems to be causing all the trouble is related to the test.gif file.
Binding text domain: modules_comment ->
/usr/www.test/gallery2/modules/comment/locale
Binding text domain: modules_netpbm ->
/usr/www.test/gallery2/modules/netpbm/locale
file_exists(/usr/www.test/gallery2/modules/imagemagick/AdminImageMagick.inc)
file_exists(/usr/www.test/gallery2/modules/imagemagick/templates/)
file_exists(/usr/bin/)
is_dir(/usr/bin/)
file_exists(/usr/www.test/gallery2/modules/imagemagick/module.inc)
Executing: ( "/usr/bin/identify"
"/usr/www.test/gallery2/modules/imagemagick/classes/../test/images/test.gif"
) 2>/usr/gallery_test/tmp/g2dbgOC5MfO
Regular Output:
Error Output:
file_exists(/usr/gallery_test/tmp/g2dbgOC5MfO)
fopen(/usr/gallery_test/tmp/g2dbgOC5MfO, r, 0)
identify: Unable to open file
(/usr/www.test/gallery2/modules/imagemagick/classes/../test/images/test.gif)
[No such file or directory].
identify: Missing an image file name.
Status: 154 (expected )
unlink()
Binding text domain: modules_imagemagick ->
/usr/www.test/gallery2/modules/imagemagick/locale
Executing: ( "/usr/bin/convert" "-scale" "200x200"
"/usr/www.test/gallery2/modules/imagemagick/classes/../test/images/test.gif"
"/usr/gallery_test/tmp/imgk_T0HALr" ) 2>/usr/gallery_test/tmp/g2dbg8RM4e5
Regular Output:
Error Output:
file_exists(/usr/gallery_test/tmp/g2dbg8RM4e5)
fopen(/usr/gallery_test/tmp/g2dbg8RM4e5, r, 0)
convert: Unable to open file
(/usr/www.test/gallery2/modules/imagemagick/classes/../test/images/test.gif)
[No such file or directory].
convert: Missing an image file name.
Status: 154 (expected )
unlink(/usr/gallery_test/tmp/imgk_T0HALr)
if I do a find * | grep -i test.gif I get nothing showing up inside the modules/imagemagick dir.
Is there somethign special that test.gif needs to be? I tried created the dir manually, and adding a gif file named test.gif but it still failed.
Thanks for any help. I can't wait for this to be ready for public use.
LD
Posts: 7994
Ah! It looks like Chetan Sarva's snapshot is missing certain files. I'll ping him about it. In the meantime, try getting a copy of the code from CVS as that won't have this problem. Follow the instructions <!-- BBCode Start --><A HREF="http://sourceforge.net/cvs/?group_id=7130" TARGET="_blank">here</A><!-- BBCode End --> to get the code.
Posts: 33
Thanks for the help. Grabbed the latest CVS and it's working great.