Skip Menu |

This queue is for tickets about the HTML-Robot-Scrapper CPAN distribution.

Report information
The Basics
Id: 86323
Status: resolved
Worked: 6 hours (360 min)
Priority: 0/
Queue: HTML-Robot-Scrapper

People
Owner: HERNAN [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails with perls < 5.14
As per subject. Best illustrated in the matrix: http://matrix.cpantesters.org/?dist=HTML-Robot-Scrapper-0.07 Sample fail report: http://www.cpantesters.org/cpan/report/31503715 When I run it in the debugger I get this stacktrace: Can't locate Default.pm in @INC (@INC contains: blib/lib blib/arch /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5 /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/5.12.5/x86_64-linux-thread-multi-ld /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/5.12.5 .) at t/001_load.t line 17. at blib/lib/HTML/Robot/Scrapper.pm line 135. HTML::Robot::Scrapper::__ANON__[blib/lib/HTML/Robot/Scrapper.pm:136]('Type of arg 1 to keys must be hash or array (not private vari...') called at /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/Try/Tiny.pm line 100 Try::Tiny::try('CODE(0x3c105d0)', 'Try::Tiny::Catch=REF(0x45868b8)') called at blib/lib/HTML/Robot/Scrapper.pm line 136 HTML::Robot::Scrapper::_load_custom_class('HASH(0x3437b50)', 'queue', 'HASH(0xc27938)') called at blib/lib/HTML/Robot/Scrapper.pm line 105 HTML::Robot::Scrapper::BUILDARGS('HTML::Robot::Scrapper', 'reader', 'HASH(0x2c1ca48)', 'writer', 'HASH(0x84b3b8)', 'benchmark', 'HASH(0x2cb6e28)', 'cache', 'HASH(0x2cb6d20)', ...) called at /home/src/perl/repoperls/installed-perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/x86_64-linux-thread-multi-ld/Moose/Object.pm line 26 Moose::Object::new('HTML::Robot::Scrapper', 'reader', 'HASH(0x2c1ca48)', 'writer', 'HASH(0x84b3b8)', 'benchmark', 'HASH(0x2cb6e28)', 'cache', 'HASH(0x2cb6d20)', ...) called at t/001_load.t line 17 # Tests were run but no plan was declared and done_testing() was not seen. Debugged program terminated. Use q to quit or R to restart, HTH && Thanks,
Hi Andreas, Thanks for reporting this, i have fixed the module and just uploaded to cpan v0.08. Locally it worked on 5.8.9. Lets see the tests, but im almost sure the problem is fixed. Hugs from brasil! and thanks for creating CPAN On Sat Jun 22 06:34:52 2013, ANDK wrote: Show quoted text
> As per subject. Best illustrated in the matrix: > > http://matrix.cpantesters.org/?dist=HTML-Robot-Scrapper-0.07 > > Sample fail report: > > http://www.cpantesters.org/cpan/report/31503715 > > When I run it in the debugger I get this stacktrace: > > Can't locate Default.pm in @INC (@INC contains: blib/lib blib/arch > /home/src/perl/repoperls/installed- > perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/x86_64-linux-thread- > multi-ld /home/src/perl/repoperls/installed- > perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5 > /home/src/perl/repoperls/installed- > perls/perl/v5.12.5/a2da/lib/5.12.5/x86_64-linux-thread-multi-ld > /home/src/perl/repoperls/installed- > perls/perl/v5.12.5/a2da/lib/5.12.5 .) at t/001_load.t line 17. > at blib/lib/HTML/Robot/Scrapper.pm line 135. > HTML::Robot::Scrapper::__ANON__[blib/lib/HTML/Robot/Scrapper.pm:136]('Type > of arg 1 to keys must be hash or array (not private vari...') > called at /home/src/perl/repoperls/installed- > perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/Try/Tiny.pm line 100 > Try::Tiny::try('CODE(0x3c105d0)', > 'Try::Tiny::Catch=REF(0x45868b8)') called at > blib/lib/HTML/Robot/Scrapper.pm line 136 > HTML::Robot::Scrapper::_load_custom_class('HASH(0x3437b50)', > 'queue', 'HASH(0xc27938)') called at > blib/lib/HTML/Robot/Scrapper.pm line 105 > HTML::Robot::Scrapper::BUILDARGS('HTML::Robot::Scrapper', > 'reader', 'HASH(0x2c1ca48)', 'writer', 'HASH(0x84b3b8)', > 'benchmark', 'HASH(0x2cb6e28)', 'cache', 'HASH(0x2cb6d20)', ...) > called at /home/src/perl/repoperls/installed- > perls/perl/v5.12.5/a2da/lib/site_perl/5.12.5/x86_64-linux-thread- > multi-ld/Moose/Object.pm line 26 > Moose::Object::new('HTML::Robot::Scrapper', 'reader', > 'HASH(0x2c1ca48)', 'writer', 'HASH(0x84b3b8)', 'benchmark', > 'HASH(0x2cb6e28)', 'cache', 'HASH(0x2cb6d20)', ...) called at > t/001_load.t line 17 > # Tests were run but no plan was declared and done_testing() was not > seen. > Debugged program terminated. Use q to quit or R to restart, > > > > HTH && Thanks,
Problem solved!