Subject: | A bug in the graphics module detection section. |
Date: | Mon, 31 Jul 2006 15:21:33 -0400 |
To: | bug-CGI-Uploader [...] rt.cpan.org |
From: | Jeff MacDonald <jeff [...] interchange.ca> |
Hi,
In my CGI::App I've written I do not pull Image::Magick in at all, my
plan was to let Uploader choose on it's own.
So I tried that and got this error...
No graphics module found for image resizing. Install Graphics::Magick or
Image::Magick: Can't locate Image::Magick in @INC (@INC contains:
/usr/home/jeff/autopilot.it/find-it/etc/modules
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at
/usr/local/lib/perl5/site_perl/5.8.8/CGI/Uploader/Transform/ImageMagick.pm
line 187. at
/usr/local/lib/perl5/site_perl/5.8.8/CGI/Uploader/Transform/ImageMagick.pm
line 121
Which is extremly strange since I have Image::Magick installed in
/usr/local/lib/perl5/site_perl/5.8.8/mach
Strange eh ? So I took the chunk of code you have in _load_magick_module
and put it in my own little stub, and was not able to reproduce the bug.
However, if i put "use Image::Magick" in my own CGI::App instance, that
goes away.
Jeff.