Strange SAX error when searching
Hi, Recently I have been getting this error when I search with certain terms from the staff client as well as the OPAC. Don't know why. Any ideas? Error: Field 500 must have at least one subfield at /usr/local/lib/perl5/site_perl/5.8.9/MARC/File/SAX.pm line 60 Running Koha 3.01.00.037 with Perl version 5.008009. Other related modules and version numbers: MARC::Charset 0.98 MARC::Crosswalk::DublinCore 0.02 MARC::File::XML 0.88 MARC::Record 2.0.0 XML::Dumper 0.81 XML::LibXML 1.59 XML::LibXSLT 1.59 XML::RSS 1.32 I've installed most of these modules manually, without CPAN and made sure they all installed correctly. Everything had been working perfectly until I upgraded Koha (from 3.0 to below) and Perl (from 5.8.8 to 5.8.9). Best
Hi, On Fri, Aug 14, 2009 at 7:41 PM, Sophat Sam<sophat.sam@gmail.com> wrote:
Error: Field 500 must have at least one subfield at /usr/local/lib/perl5/site_perl/5.8.9/MARC/File/SAX.pm line 60
This probably indicates a glitch in one of your bib records - the MARCXML from biblioitems.marcxml contain something like: <datafield tag="500" ind1=" " ind2=" "> </datafield> To identify records with parsing errors, you can run the script misc/cronjobs/MARC21_parse_test.pl. After checking the results, running the sample script with the --fix option, then reindexing, may correct the problem. Regards, Galen -- Galen Charlton gmcharlt@gmail.com
participants (2)
-
Galen Charlton -
Sophat Sam