Skip Menu |

This queue is for tickets about the Image-Base-Magick CPAN distribution.

Report information
The Basics
Id: 122224
Status: resolved
Priority: 0/
Queue: Image-Base-Magick

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Warnings because of missing $Image::Magick::VERSION
Some (all?) Image::Magick versions do not define $VERSION: $ perl -MImage::Magick\ 999 Image::Magick does not define $Image::Magick::VERSION--version check failed. BEGIN failed--compilation aborted. This is causing the t/Magick.t test to fail: Use of uninitialized value $Image::Magick::VERSION in concatenation (.) or string at t/Magick.t line 44. # Image::Magick VERSION Use of uninitialized value $im_version in pattern match (m//) at t/Magick.t line 49. Argument "" isn't numeric in numeric lt (<) at t/Magick.t line 51. Use of uninitialized value $im_version in concatenation (.) or string at t/Magick.t line 52. # Image::Magick 6.6 not available -- im_version im_two_version # Saw 4 warning(s): # # Trace begun at t/MyTestHelpers.pm line 55 # MyTestHelpers::nowarnings_handler('Use of uninitialized value $Image::Magick::VERSION in concatenation (.) or string at t/Magick.t line 44.^J') called at t/Magick.t line 44 # # # Trace begun at t/MyTestHelpers.pm line 55 # MyTestHelpers::nowarnings_handler('Use of uninitialized value $im_version in pattern match (m//) at t/Magick.t line 49.^J') called at t/Magick.t line 49 # # # Trace begun at t/MyTestHelpers.pm line 55 # MyTestHelpers::nowarnings_handler('Argument "" isn\'t numeric in numeric lt (<) at t/Magick.t line 51.^J') called at t/Magick.t line 51 # # # Exit code 1 for warnings t/Magick.t ......... Dubious, test returned 1 (wstat 256, 0x100) All 2518 subtests passed (less 2518 skipped subtests: 0 okay)
Subject: Re: [rt.cpan.org #122224] Warnings because of missing $Image::Magick::VERSION
Date: Sat, 01 Jul 2017 16:20:24 +1000
To: "Slaven_Rezic via RT" <bug-Image-Base-Magick [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Slaven_Rezic via RT" <bug-Image-Base-Magick@rt.cpan.org> writes: Show quoted text
> > Some (all?)
It definitely used to have both $Image::Magick::VERSION and Image::Magick->VERSION. I'm unsure if $VERSION should be relied on, but the method ought to exist in a good module. Looks like not in debian packaged 6.97 with its ::Q16 thingie. (6.97 not yet on cpan though, maybe.) Show quoted text
> Image::Magick versions do not define $VERSION:
Thanks, I uploaded a version 5 using method rather than variable, and a bit of a hack to beware of undef which it's currently giving. I see in one of your cpantesters the Image::Magick version number doesn't show up. Prerequisite modules loaded: requires: Module Need Have ------------------- ----- -------- Image::Base 0 1.17 Image::Magick 0 0 Who looks after Image::Magick? Would be desirable for it to present in a way tools like the smokers can get.