Skip Menu |

This queue is for tickets about the CGI-Uploader CPAN distribution.

Report information
The Basics
Id: 20775
Status: resolved
Priority: 0/
Queue: CGI-Uploader

People
Owner: MARKSTOS [...] cpan.org
Requestors: jeff [...] interchange.ca
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
Subject: Re: [rt.cpan.org #20775] A bug in the graphics module detection section.
Date: Mon, 31 Jul 2006 15:33:22 -0400
To: bug-CGI-Uploader [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Jeff MacDonald via RT wrote: Show quoted text
> > 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.
Thanks for the report Jeff. This is lower on my priority list of things to get to, but I'd definitely take a patch for it. If it remains mysterious, we could at least patch the docs to explain how to workaround the issue. Mark
On Mon Jul 31 15:22:06 2006, jeff@interchange.ca wrote: Show quoted text
> 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 Show quoted text
> line 187. at >
/usr/local/lib/perl5/site_perl/5.8.8/CGI/Uploader/Transform/ImageMagick.pm Show quoted text
> 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, I found this bug and have a new test and code for it in my darcs tree now. Thanks for the report! I'm stalling this ticket until release. Mark
Releasing shortly. Mark