Skip Menu |

This queue is for tickets about the OAI-Harvester CPAN distribution.

Report information
The Basics
Id: 69196
Status: resolved
Priority: 0/
Queue: OAI-Harvester

People
Owner: Nobody in particular
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

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



Subject: Some tests failing with "Can't locate object method "get_handler" via package Net::OAI::ListIdentifiers"
t/070.dump.t ................ 2/5 caught xml parsing error: Can't locate object method "get_handler" via package "Net::OAI::ListIdentifiers" at /Users/x/.cpanm/work/1309407328.3934/OAI-Harvester-1.14/blib/lib/Net/OAI/ListIdentifiers.pm line 66. The following other tests fail with this also: t/030.listidentifiers.t, t/035.listallidentifiers.t, t/050.listrecords.t, t/055.listallrecords.t See https://rt.cpan.org/Public/Bug/Display.html?id=68960#txn-951214 for testing environment. FYI, HTTP::OAI also encounters similar errors: https://rt.cpan.org/Public/Bug/Display.html?id=68907 I've looked at the cpan testers reports for that module comparing the environments for the successful builds with the failures and couldn't divine any noticeable differences.
From: justincase [...] yopmail.com
On Thu Jun 30 01:06:07 2011, justincase wrote: Show quoted text
> t/070.dump.t ................ 2/5 caught xml parsing error: Can't > locate > object method "get_handler" via package "Net::OAI::ListIdentifiers" at > /Users/x/.cpanm/work/1309407328.3934/OAI-Harvester- > 1.14/blib/lib/Net/OAI/ListIdentifiers.pm > line 66.
Found your solution elsewhere: http://www.nntp.perl.org/group/perl.perl4lib/2011/05/msg2906.html Wish RT would allow me to close my own ticket
Show quoted text
> > t/070.dump.t ................ 2/5 caught xml parsing error: Can't > > locate > > object method "get_handler" via package "Net::OAI::ListIdentifiers" at > > /Users/x/.cpanm/work/1309407328.3934/OAI-Harvester- > > 1.14/blib/lib/Net/OAI/ListIdentifiers.pm > > line 66.
> > Found your solution elsewhere: > http://www.nntp.perl.org/group/perl.perl4lib/2011/05/msg2906.html > > Wish RT would allow me to close my own ticket
Glad you weren't: I thought I had added XML::SAX::Base 1.04 as "hard" prerequisite in Build.PL / Makefile.PL. I will look into that again. thomas
IIRC the prerequisite 1.04 was only entered in Build.PL, and missing in Makefile.PL. OAI-Harvester 1.15 is out, the issue should be fixed now (apart from the still insolved issue with missing ParserDetals.ini of some XML::SAX installations).