Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Twitter CPAN distribution.

Report information
The Basics
Id: 50069
Status: resolved
Priority: 0/
Queue: Net-Twitter

People
Owner: MMIMS [...] cpan.org
Requestors: SYSMON [...] cpan.org
Cc:
AdminCc:

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



Subject: test fail 3.07000 : Failed test 'filtered with string in Twitter timestamp format' at t/51_since.t line 50.
Download (untitled) / with headers
text/plain 4.8k
ubuntu jaunty, fully up to date apt (although I have built news debs for some cpan modules where I've needed newer cpan versions of them) make test *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - Carp ...loaded. (1.08) - Digest::SHA ...loaded. (5.47) - Net::Netrc ...loaded. (2.12) - Scalar::Util ...loaded. (1.19) - Data::Visitor::Callback ...loaded. (0) - DateTime ...loaded. (0.42) - DateTime::Format::Strptime ...loaded. (1.0702) - HTML::Entities ...loaded. (3.57) - HTTP::Request::Common ...loaded. (5.824) - JSON::Any ...loaded. (1.21 >= 1.21) - LWP::UserAgent ...loaded. (5.829 >= 2.032) - Moose ...loaded. (0.87 >= 0.85) - Moose::Exporter ...loaded. (0.87) - Moose::Role ...loaded. (0.87) - MooseX::AttributeHelpers ...loaded. (0.17) - MooseX::MultiInitArg ...loaded. (0.01) - namespace::autoclean ...loaded. (0.09 >= 0.09) - Net::OAuth ...loaded. (0.19 >= 0.16) - URI ...loaded. (1.40 >= 1.4) - URI::Escape ...loaded. (3.29) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Net::Twitter cp lib/Net/Identica.pm blib/lib/Net/Identica.pm cp lib/Net/Twitter/Search.pm blib/lib/Net/Twitter/Search.pm cp lib/Net/Twitter/Role/OAuth.pm blib/lib/Net/Twitter/Role/OAuth.pm cp lib/Net/Twitter.pod blib/lib/Net/Twitter.pod cp lib/Net/Twitter/Role/API/TwitterVision.pm blib/lib/Net/Twitter/Role/API/TwitterVision.pm cp lib/Net/Twitter/Role/API/Laconica/Group.pm blib/lib/Net/Twitter/Role/API/Laconica/Group.pm cp lib/Net/Twitter.pm blib/lib/Net/Twitter.pm cp lib/Net/Twitter/Role/InflateObjects.pm blib/lib/Net/Twitter/Role/InflateObjects.pm cp lib/Net/Twitter/Error.pm blib/lib/Net/Twitter/Error.pm cp lib/Net/Twitter/Role/API/REST.pm blib/lib/Net/Twitter/Role/API/REST.pm cp lib/Net/Twitter/OAuth.pm blib/lib/Net/Twitter/OAuth.pm cp lib/Net/Twitter/API.pm blib/lib/Net/Twitter/API.pm cp lib/Net/Twitter/Core.pm blib/lib/Net/Twitter/Core.pm cp lib/Net/Twitter/Role/API/Search.pm blib/lib/Net/Twitter/Role/API/Search.pm cp lib/Net/Twitter/Role/WrapError.pm blib/lib/Net/Twitter/Role/WrapError.pm cp lib/Net/Twitter/Role/Legacy.pm blib/lib/Net/Twitter/Role/Legacy.pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00_load.t t/01_basic.t t/02_fails.t t/10_net-twitter-regression.t t/11_useragent.t t/12_identica.t t/13_search.t t/14_authenticate.t t/15_subclass.t t/20_exceptions.t t/20_generated.t t/21_wraperror.t t/22_twitter_insanity.t t/30_legacy.t t/40_nt_subclasses.t t/50_inflate_objects.t t/51_since.t t/99-pod_coverage.t t/99-pod_spelling.t t/99-pod_syntax.t t/00_load......................1/1 # Testing Net::Twitter 3.07, Perl 5.010000, /usr/bin/perl t/00_load......................ok t/01_basic.....................ok t/02_fails.....................ok t/10_net-twitter-regression....ok t/11_useragent.................ok t/12_identica..................ok t/13_search....................ok t/14_authenticate..............ok t/15_subclass..................# subclass with new t/15_subclass..................1/27 # subclass without new # valid Moose subclass # class reuse t/15_subclass..................ok t/20_exceptions................ok t/20_generated.................ok t/21_wraperror.................ok t/22_twitter_insanity..........ok t/30_legacy....................ok t/40_nt_subclasses.............ok t/50_inflate_objects...........ok t/51_since.....................2/? Argument "Sun Sep 27 14:38:46 +0000 2009" isn't numeric in int at /usr/lib/perl5/DateTime.pm line 462. # Failed test 'filtered with string in Twitter timestamp format' # at t/51_since.t line 50. # got: 2 # expected: 1 Argument "not a date" isn't numeric in int at /usr/lib/perl5/DateTime.pm line 462. # Failed test 'dies on invalid since' # at t/51_since.t line 52. # Looks like you failed 2 tests of 7. t/51_since..................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/7 subtests t/99-pod_coverage..............skipped: set TEST_POD to enable this test t/99-pod_spelling..............skipped: set TEST_POD to enable this test t/99-pod_syntax................skipped: set TEST_POD to enable this test Test Summary Report ------------------- t/15_subclass (Wstat: 0 Tests: 27 Failed: 0) TODO passed: 13-16, 18 t/51_since (Wstat: 512 Tests: 7 Failed: 2) Failed tests: 6-7 Non-zero exit status: 2 Files=20, Tests=1162, 14 wallclock secs ( 0.19 usr 0.17 sys + 10.10 cusr 1.07 csys = 11.53 CPU) Result: FAIL Failed 1/20 test programs. 2/1162 subtests failed. make: *** [test_dynamic] Error 255
Download (untitled) / with headers
text/plain 293b
I suspect a problem with either DateTime::Format::Strptime or DateTime. Tests pass for me with DateTime::Format::Strptime 1.0900 and DateTime 0.50. Please let me know if newer versions of these modules resolve the problem. If so, I'll specify appropriate versions in the dependencies. -Marc
Download (untitled) / with headers
text/plain 115b
Having upgraded to DateTime::Format::Strptime 1.0900 and DateTime 0.50, the tests all pass. Thanks for the nudge.
Download (untitled) / with headers
text/plain 129b
I added versions to the DateTime and DateTime::Format::Strptime dependencies and released 3.07001. Thanks for the report. -Marc


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.