LibreCat / Catmandu-MARC

Catmandu modules for working with MARC data
https://metacpan.org/release/Catmandu-MARC
Other
8 stars 10 forks source link

MARCspec Parser exception #66

Closed eserte closed 7 years ago

eserte commented 7 years ago

My smoker systems started to report the following failures:

MARCspec Parser exception. Detected useless data fragment or invalid field spec. Tried to parse: MARC::Spec at /home/cpansand/.cpan/build/2017051306/MARC-Spec-1.0.0-q8ixio/blib/lib/MARC/Spec.pm line 59.
t/21-marc-spec.t ..................... 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
...
MARCspec Parser exception. Detected useless data fragment or invalid field spec. Tried to parse: MARC::Spec at /home/cpansand/.cpan/build/2017051306/MARC-Spec-1.0.0-q8ixio/blib/lib/MARC/Spec.pm line 59.
t/23-mapping_rules_spec.t ............ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
MARCspec Parser exception. Detected useless data fragment or invalid field spec. Tried to parse: MARC::Spec at /home/cpansand/.cpan/build/2017051306/MARC-Spec-1.0.0-q8ixio/blib/lib/MARC/Spec.pm line 59.
t/24-marc-spec-subspecs.t ............ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 

Statistical analysis suggests that this happens with the latest MARC::Spec version (1.0.0):

****************************************************************
Regression 'mod:MARC::Spec'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    41175291178042944.00
[1='eq_1.0.0']       -1.0000          0.0000    -16275962930406666.00

R^2= 1.000, N= 64, K= 2
****************************************************************
cKlee commented 7 years ago

Catmandu::MARC still needs MARC::Spec 0.1.4. Adjustment to the 1.0.0 change in the API is waiting to be merged https://github.com/LibreCat/Catmandu-MARC/pull/65 @phochste

phochste commented 7 years ago

Thanks, version 1.11 is on its way to CPAN