New Install and getting errors

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Scotts
Posts: 1
Joined: 2016-06-08T08:13:46-07:00
Authentication code: 1151

New Install and getting errors

Post by Scotts » 2016-06-08T10:21:33-07:00

Hi. I have been trying to figure this out. I have code that works perfectly on my current production server. Perl 5.8.8, ImageMagick 6.3.2 Q16, Windows server 2008. All 32-bit

The new server is Perl 5.22, Windows Server 2012, ImageMagick-7.0.1-9-Q16-x64-dll, PerlMagick 6.89-1 (Latest i could find) This server is 64-bit and all code installed thus far is 64-bit. When I run my code I get the following:

Exception 495: RegistryKeyLookupFailed `CoderModulesPath' @ error/module.c/GetMagickModulePath/664 at ImageProcessor.pl line 481.
.
.
.
Can't locate object method "Crop" via package "Exception 410: NoImagesDefined `Image::Magick' @ error/Magick.xs/unknown/2949" (perhaps you forgot to load "Exception 410: NoImagesDefined `Image::Magick' @ error/Magick.xs/unknown/2949"?) at ImageProcessor.pl line 492.

I have tried creating a MAGICK_CODER_MODULE_PATH environment variable and setting it to C:\Program Files\ImageMagick-7.0.1-Q16\modules\coders as well as C:\Program Files\ImageMagick-7.0.1-Q16\modules

ImageMagick works fine from the command line so it is something with running from PERL. Nothing I have done gets me around this.. Any help from the vast knowledge out there would be awesome.

Thanks, Scott

Post Reply