Skip Menu |

This queue is for tickets about the WWW-Mechanize-Plugin-JavaScript CPAN distribution.

Report information
The Basics
Id: 68931
Status: rejected
Priority: 0/
Queue: WWW-Mechanize-Plugin-JavaScript

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

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



Subject: No such method, use_plugin
WWW::Mechanize is up to date (1.68). Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/dom-interface.t .. Can't locate constant/lexical.pm in @INC (@INC contains: t /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010-vVmRxA/blib/lib /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010-vVmRxA/blib/arch /Library/Perl/5.14.0/darwin-multi-ld-2level /Library/Perl/5.14.0 /Network/Library/Perl/5.14.0/darwin-multi-ld-2level /Network/Library/Perl/5.14.0 /System/Library/Perl/5.14.0/darwin-multi-ld-2level /System/Library/Perl/5.14.0 /Library/Perl/5.10.0 /Library/Perl/5.8.9 /Library/Perl /Network/Library/Perl .) at /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010-vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM/Window.pm line 22. BEGIN failed--compilation aborted at /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010-vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM/Window.pm line 22. Compilation failed in require at /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010-vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM.pm line 21. BEGIN failed--compilation aborted at /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010-vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM.pm line 21. Compilation failed in require at t/dom-interface.t line 7. # Looks like your test exited with 2 before it could output anything. t/dom-interface.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests t/dom-require.t .... Failed 1/1 subtests t/dom.t ............ Can't locate object method "use_plugin" via package "WWW::Mechanize" at t/dom.t line 43. # Looks like your test exited with 2 before it could output anything. t/dom.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 63/63 subtests t/je.t ............. Can't locate object method "use_plugin" via package "WWW::Mechanize" at t/je.t line 15. # Looks like your test exited with 2 before it could output anything. t/je.t ............. Dubious, test returned 2 (wstat 512, 0x200) Failed 15/15 subtests t/js.t ............. Can't locate object method "use_plugin" via package "WWW::Mechanize" at t/js.t line 14. # Looks like your test exited with 2 before it could output anything. t/js.t ............. Dubious, test returned 2 (wstat 512, 0x200) Failed 20/20 subtests Test Summary Report ------------------- t/dom-interface.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 1 tests but ran 0. t/dom-require.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 t/dom.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 63 tests but ran 0. t/je.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 15 tests but ran 0. t/js.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 20 tests but ran 0. Files=5, Tests=1, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.83 cusr 0.10 csys = 0.98 CPU) Result: FAIL Failed 5/5 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 2 SPROUT/WWW-Mechanize-Plugin-JavaScript-0.010.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SPROUT/WWW-Mechanize-Plugin-JavaScript-0.010.tar.gz Running make install make test had returned bad status, won't install without force Lee:Mech-JSON leegoddard$ sudo cpan WWW::Mechanize CPAN: Storable loaded ok (v2.27) Going to read '/Users/leegoddard/.cpan/Metadata' Database was generated on Sun, 19 Jun 2011 07:38:00 GMT CPAN: Module::CoreList loaded ok (v2.49) WWW::Mechanize is up to date (1.68). Lee:Mech-JSON leegoddard$
This plugin was written to go with an experimental version of Mechanize in the svn repo under the plugins branch. After a while, I gave up with that approach and subclassed WWW::Mechanize as WWW::Scripter. WWW::Mechanize::Plugin::JavaScript has been abandoned, and exists solely as a pointer to WWW::Scripter::Plugin::JavaScript. (See the Makefile.PL output.) On Sun Jun 19 08:07:21 2011, LGODDARD wrote: Show quoted text
> WWW::Mechanize is up to date (1.68). > > Running make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/dom-interface.t .. Can't locate constant/lexical.pm in @INC (@INC > contains: t > /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010- > vVmRxA/blib/lib > /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010- > vVmRxA/blib/arch > /Library/Perl/5.14.0/darwin-multi-ld-2level /Library/Perl/5.14.0 > /Network/Library/Perl/5.14.0/darwin-multi-ld-2level > /Network/Library/Perl/5.14.0 > /System/Library/Perl/5.14.0/darwin-multi-ld-2level > /System/Library/Perl/5.14.0 /Library/Perl/5.10.0 /Library/Perl/5.8.9 > /Library/Perl /Network/Library/Perl .) at > /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010- > vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM/Window.pm > line 22. > BEGIN failed--compilation aborted at > /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010- > vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM/Window.pm > line 22. > Compilation failed in require at > /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010- > vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM.pm > line 21. > BEGIN failed--compilation aborted at > /Users/leegoddard/.cpan/build/WWW-Mechanize-Plugin-JavaScript-0.010- > vVmRxA/blib/lib/WWW/Mechanize/Plugin/DOM.pm > line 21. > Compilation failed in require at t/dom-interface.t line 7. > # Looks like your test exited with 2 before it could output anything. > t/dom-interface.t .. Dubious, test returned 2 (wstat 512, 0x200) > Failed 1/1 subtests > t/dom-require.t .... Failed 1/1 subtests > t/dom.t ............ Can't locate object method "use_plugin" via > package > "WWW::Mechanize" at t/dom.t line 43. > # Looks like your test exited with 2 before it could output anything. > t/dom.t ............ Dubious, test returned 2 (wstat 512, 0x200) > Failed 63/63 subtests > t/je.t ............. Can't locate object method "use_plugin" via > package > "WWW::Mechanize" at t/je.t line 15. > # Looks like your test exited with 2 before it could output anything. > t/je.t ............. Dubious, test returned 2 (wstat 512, 0x200) > Failed 15/15 subtests > t/js.t ............. Can't locate object method "use_plugin" via > package > "WWW::Mechanize" at t/js.t line 14. > # Looks like your test exited with 2 before it could output anything. > t/js.t ............. Dubious, test returned 2 (wstat 512, 0x200) > Failed 20/20 subtests > > Test Summary Report > ------------------- > t/dom-interface.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 1 tests but ran 0. > t/dom-require.t (Wstat: 0 Tests: 1 Failed: 1) > Failed test: 1 > t/dom.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 63 tests but ran 0. > t/je.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 15 tests but ran 0. > t/js.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 20 tests but ran 0. > Files=5, Tests=1, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.83 cusr > 0.10 csys = 0.98 CPU) > Result: FAIL > Failed 5/5 test programs. 1/1 subtests failed. > make: *** [test_dynamic] Error 2 > SPROUT/WWW-Mechanize-Plugin-JavaScript-0.010.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, > try: > reports SPROUT/WWW-Mechanize-Plugin-JavaScript-0.010.tar.gz > Running make install > make test had returned bad status, won't install without force > Lee:Mech-JSON leegoddard$ sudo cpan WWW::Mechanize > CPAN: Storable loaded ok (v2.27) > Going to read '/Users/leegoddard/.cpan/Metadata' > Database was generated on Sun, 19 Jun 2011 07:38:00 GMT > CPAN: Module::CoreList loaded ok (v2.49) > WWW::Mechanize is up to date (1.68). > Lee:Mech-JSON leegoddard$
Subject: Re: [rt.cpan.org #68931] No such method, use_plugin
Date: Wed, 22 Jun 2011 01:55:23 +0200
To: bug-WWW-Mechanize-Plugin-JavaScript [...] rt.cpan.org
From: Lee Goddard <leegee [...] gmail.com>
Do you think you might add that note to the POD? Might save confusion for others. Shame about the lack of plugins, really would be useful.
On Tue Jun 21 19:55:35 2011, lee@leegoddard.net wrote: Show quoted text
> Do you think you might add that note to the POD?
Haven’t I already done that? :-) =head1 NAME WWW::Mechanize::Plugin::JavaScript - JavaScript plugin for WWW::Mechanize =head1 VERSION Version 0.010 (alpha) THIS MODULE IS DEPRECATED. Please use L<WWW::Scripter::Plugin::JavaScript> instead. Show quoted text
> > Might save confusion for others. > > Shame about the lack of plugins, really would be useful.
Subject: Re: [rt.cpan.org #68931] No such method, use_plugin
Date: Wed, 22 Jun 2011 08:10:01 +0200
To: bug-WWW-Mechanize-Plugin-JavaScript [...] rt.cpan.org
From: Lee Goddard <leegee [...] gmail.com>
On 22/06/2011 07:06, Father Chrysostomos via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68931> > > On Tue Jun 21 19:55:35 2011, lee@leegoddard.net wrote:
>> Do you think you might add that note to the POD?
> Haven’t I already done that? :-)
You certainly have! Sorry to have been a PITA! THank you!