Skip Menu |

This queue is for tickets about the DateTime-Event-Lunar CPAN distribution.

Report information
The Basics
Id: 6626
Status: new
Priority: 0/
Queue: DateTime-Event-Lunar

People
Owner: Nobody in particular
Requestors: dfaraldo [...] redhat.com
Cc:
AdminCc:

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



Subject: 'make test' fails for DateTime-Event-Lunar-0.02
I get the following error when doing 'make test' for DateTime-Event-Lunar-0.02: /usr/bin/perl Build --makefile_env_macros 1 test t/01-new_moon_sanity.......ok 1/0The 'second' parameter ("-1") to DateTime::new did not pass the 'is between 0 and 61' callback at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Common.pm line 140 # Looks like your test died just after 1. The full stack trace is included below. I'm using the following versions: DateTime 0.2101 DateTime::Set 0.16 DateTime::Util::Astro::Common 0.01 DateTime::Util::Astro::Moon 0.01 Memoize 1.01 -=< Dave >=- #--------------------------------- Cut Here ---------------------------------# The 'second' parameter ("-1") to DateTime::new did not pass the 'is between 0 and 61' callback at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Common.pm line 141 DateTime::new('undef','hour',0,'minute',0,'second',-1,'month',12,...) called at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DateTime.pm line 397 DateTime::from_object('undef','object','DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Common.pm line 141 DateTime::Util::Astro::Common::ephemeris_correction('DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Common.pm line 110 DateTime::Util::Astro::Common::dynamical_moment_from_dt('DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Common.pm line 212 DateTime::Util::Astro::Common::julian_centuries('DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Moon.pm line 144 DateTime::Util::Astro::Moon::lunar_longitude('DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /usr/lib/perl5/site_perl/5.8.0/DateTime/Util/Astro/Moon.pm line 241 DateTime::Util::Astro::Moon::lunar_phase('DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /root/.cpan/build/DateTime-Event-Lunar-0.02/blib/lib/DateTime/Event/Lunar.pm line 79 DateTime::Event::Lunar::new_moon_before('undef','datetime','DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /usr/lib/perl5/5.8.3/Memoize.pm line 247 Memoize::_memoizer('CODE(0x85115f4)','DateTime::Event::Lunar=HASH(0x8d8ad80)','datetime','DateTime::Infinite::Future=HASH(0x8d8adc8)') called at (eval 24)[/usr/lib/perl5/5.8.3/Memoize.pm:73] line 1 Memoize::__ANON__[(eval 24)[/usr/lib/perl5/5.8.3/Memoize.pm:73]:1]('DateTime::Event::Lunar=HASH(0x8d8ad80)','datetime','DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /root/.cpan/build/DateTime-Event-Lunar-0.02/blib/lib/DateTime/Event/Lunar.pm line 40 DateTime::Event::Lunar::__ANON__[/root/.cpan/build/DateTime-Event-Lunar-0.02/blib/lib/DateTime/Event/Lunar.pm:40]('DateTime::Infinite::Future=HASH(0x8d8adc8)') called at /usr/lib/perl5/site_perl/5.8.0/DateTime/Set.pm line 161 DateTime::Set::__ANON__[/usr/lib/perl5/site_perl/5.8.0/DateTime/Set.pm:162]('DateTime::Infinite::Future=HASH(0x81f55f0)') called at /usr/lib/perl5/site_perl/5.8.0/DateTime/Set.pm line 205 DateTime::Set::from_recurrence('DateTime::Set','next','CODE(0x8d86cf0)','previous','CODE(0x8d8931c)') called at /root/.cpan/build/DateTime-Event-Lunar-0.02/blib/lib/DateTime/Event/Lunar.pm line 41 DateTime::Event::Lunar::new_moon('DateTime::Event::Lunar') called at ./tst line 24