Skip Menu |

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

Report information
The Basics
Id: 70887
Status: open
Priority: 0/
Queue: Net-Plurk

People
Owner: Nobody in particular
Requestors: ibrahim.nelman [...] gmail.com
Cc:
AdminCc:

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



Subject: Net::Plurk error during make test
Date: Mon, 12 Sep 2011 17:42:20 +0800
To: bug-net-plurk [...] rt.cpan.org
From: ibrahim nelman <ibrahim.nelman [...] gmail.com>
Dear clsung, Thanks for the Perl module for Plurk. I am currently using it for my work. However, I find a problem when I reinstall the module. When I install it in my pc, the installation goes smoothly. However, couple of weeks later when I install the same version on different machine, it give test failed error. I tried to install Net::Plurk module using CPAN in Strawberry Perl Windows v5.12.3. Both machine use the same version of Perl. Below is the error message from the cpanm build log. Thank you for the help. cpanm (App::cpanminus) 1.4008 on perl 5.012003 built for MSWin32-x86-multi-thread Work directory is /.cpanm/work/1315872456.9364 You have make E:\strawberry\c\bin\dmake.exe You have LWP 5.837 Falling back to Archive::Tar 1.76 You have "C:\Program Files (x86)\Dell\SysMgt\oma\bin\unzip.exe" Searching Net::Plurk on cpanmetadb ... --> Working on Net::Plurk Fetching http://search.cpan.org/CPAN/authors/id/C/CL/CLSUNG/Net-Plurk-0.11.tar.gz -> OK Unpacking Net-Plurk-0.11.tar.gz Entering Net-Plurk-0.11 Checking configure dependencies from META.yml Configuring Net-Plurk-0.11 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Net::Plurk -> OK Finding PREREQ from Makefile ... Checking if you have Net::SSLeay 0 ... Yes (1.36) Checking if you have URI 0 ... Yes (1.58) Checking if you have namespace::autoclean 0 ... Yes (0.13) Checking if you have DateTime::Format::Strptime 0 ... Yes (1.5000) Checking if you have AnyEvent::HTTP 0 ... Yes (2.13) Checking if you have Test::More 0 ... Yes (0.98) Checking if you have Digest::HMAC_SHA1 0 ... Yes (1.01) Checking if you have Math::Base36 0 ... Yes (0.09) Checking if you have HTTP::Lite 0 ... Yes (2.3) Checking if you have Net::OAuth 0.27 ... Yes (0.27) Checking if you have Moose 0 ... Yes (2.0205) Checking if you have JSON::Any 0 ... Yes (1.29) Building and testing Net-Plurk-0.11 cp lib/Net/Plurk/Plurk.pm blib\lib\Net\Plurk\Plurk.pm cp lib/Net/Plurk/OAuth.pm blib\lib\Net\Plurk\OAuth.pm cp lib/Net/Plurk.pm blib\lib\Net\Plurk.pm cp lib/Net/Plurk/User.pm blib\lib\Net\Plurk\User.pm cp lib/Net/Plurk/UserProfile.pm blib\lib\Net\Plurk\UserProfile.pm E:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t # Testing Net::Plurk 0.11, Perl 5.012003, E:\STRAWB~1\perl\bin\perl.exe t/00-load.t .............. ok Attribute (consumer_key) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Plurk::new (defined at C:\.cpanm\work\1315872456.9364\Net-Plurk-0.11\blib\lib/Net/Plurk.pm line 397) line 31 Net::Plurk::new('Net::Plurk', 'consumer_key', undef, 'consumer_secret', undef) called at t/01-basic.t line 16 main::BEGIN() called at t/01-basic.t line 22 eval {...} called at t/01-basic.t line 22 BEGIN failed--compilation aborted at t/01-basic.t line 22. t/01-basic.t ............. Dubious, test returned 2 (wstat 512, 0x200) All 1 subtests passed Attribute (consumer_key) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Plurk::new (defined at C:\.cpanm\work\1315872456.9364\Net-Plurk-0.11\blib\lib/Net/Plurk.pm line 397) line 31 Net::Plurk::new('Net::Plurk', 'consumer_key', undef, 'consumer_secret', undef) called at t/02-userpage.t line 23 main::BEGIN() called at t/02-userpage.t line 31 eval {...} called at t/02-userpage.t line 31 BEGIN failed--compilation aborted at t/02-userpage.t line 31. t/02-userpage.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Attribute (consumer_key) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Plurk::new (defined at C:\.cpanm\work\1315872456.9364\Net-Plurk-0.11\blib\lib/Net/Plurk.pm line 397) line 31 Net::Plurk::new('Net::Plurk', 'consumer_key', undef, 'consumer_secret', undef) called at t/03-userkarma.t line 18 main::BEGIN() called at t/03-userkarma.t line 20 eval {...} called at t/03-userkarma.t line 20 BEGIN failed--compilation aborted at t/03-userkarma.t line 20. t/03-userkarma.t ......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Attribute (consumer_key) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Plurk::new (defined at C:\.cpanm\work\1315872456.9364\Net-Plurk-0.11\blib\lib/Net/Plurk.pm line 397) line 31 Net::Plurk::new('Net::Plurk', 'consumer_key', undef, 'consumer_secret', undef) called at t/04-publicprofile.t line 18 main::BEGIN() called at t/04-publicprofile.t line 22 eval {...} called at t/04-publicprofile.t line 22 BEGIN failed--compilation aborted at t/04-publicprofile.t line 22. t/04-publicprofile.t ..... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Attribute (consumer_key) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Plurk::new (defined at C:\.cpanm\work\1315872456.9364\Net-Plurk-0.11\blib\lib/Net/Plurk.pm line 397) line 31 Net::Plurk::new('Net::Plurk', 'consumer_key', undef, 'consumer_secret', undef) called at t/05-api_unreadcounts.t line 21 main::BEGIN() called at t/05-api_unreadcounts.t line 29 eval {...} called at t/05-api_unreadcounts.t line 29 BEGIN failed--compilation aborted at t/05-api_unreadcounts.t line 29. t/05-api_unreadcounts.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Attribute (consumer_key) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Plurk::new (defined at C:\.cpanm\work\1315872456.9364\Net-Plurk-0.11\blib\lib/Net/Plurk.pm line 397) line 31 Net::Plurk::new('Net::Plurk', 'consumer_key', undef, 'consumer_secret', undef) called at t/06-addplurk.t line 18 main::BEGIN() called at t/06-addplurk.t line 39 eval {...} called at t/06-addplurk.t line 39 BEGIN failed--compilation aborted at t/06-addplurk.t line 39. t/06-addplurk.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Can't locate object method "login" via package "Net::Plurk" at t/06-newplurks.t line 13. BEGIN failed--compilation aborted at t/06-newplurks.t line 18. t/06-newplurks.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/2 subtests t/07-api_register.t ...... skipped: API 2 not support user register now Attribute (consumer_key) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Plurk::new (defined at C:\.cpanm\work\1315872456.9364\Net-Plurk-0.11\blib\lib/Net/Plurk.pm line 397) line 31 Net::Plurk::new('Net::Plurk', 'consumer_key', undef, 'consumer_secret', undef) called at t/08-befan.t line 17 main::BEGIN() called at t/08-befan.t line 22 eval {...} called at t/08-befan.t line 22 BEGIN failed--compilation aborted at t/08-befan.t line 22. t/08-befan.t ............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/boilerplate.t .......... ok t/pod-coverage.t ......... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t .................. skipped: Test::Pod 1.22 required for testing POD Test Summary Report ------------------- t/01-basic.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/02-userpage.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/03-userkarma.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/04-publicprofile.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/05-api_unreadcounts.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/06-addplurk.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/06-newplurks.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 0. t/08-befan.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/boilerplate.t (Wstat: 0 Tests: 3 Failed: 0) TODO passed: 1-2 Files=13, Tests=5, 8 wallclock secs ( 0.19 usr + 0.05 sys = 0.23 CPU) Result: FAIL Failed 8/13 test programs. 0/5 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' Entering C:/.cpanm/work/1315872456.9364/Net-Plurk-0.11 with C:\Windows\system32\cmd.exe Regards, Nelman
Have you defined your consumer_key/consumer_secret? I didn't test Env() on Windows, maybe that's the problem. Sorry I don't have any M$ Windows on hand.
Subject: Re: [rt.cpan.org #70887] Net::Plurk error during make test
Date: Tue, 13 Sep 2011 10:52:00 +0800
To: bug-Net-Plurk [...] rt.cpan.org
From: ibrahim nelman <ibrahim.nelman [...] gmail.com>
The failure happens even when I tried to install the Net::Plurk module using CPAN. I tried to install it on one windows machine and it works fine since I used strawberry perl (perl env similar to linux but running in windows). After doing some search regarding the error message, I notice that the error message might appear because of the stricter constraint impose by MOOSE (a dependent module used by Net::Plurk). When I check moose version in the first machine, I saw that the version is older (v2.007) than the one installed on 2nd machine (v2.02). Since I am a beginner in perl, i do not know how to replace the latest version module with the older one. But I don't know, it can be because of other problems. Have you tried to reinstall Net::Plurk with updated dependent module before ? is it still working ? Thank you, Regards, Nelman On Tue, Sep 13, 2011 at 10:42 AM, Cheng-Lung Sung via RT < bug-Net-Plurk@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70887 > > > Have you defined your consumer_key/consumer_secret? > > I didn't test Env() on Windows, maybe that's the problem. > > Sorry I don't have any M$ Windows on hand. >