I've made a bit of progress with help from the PostgreSQL mailing list. I installed XML::LibXML, and that did indeed clear up the 'ParserDetails.ini' trouble, but now I get another error. This time, it references three specific lines in three separate .pm files. evergreen=# INSERT INTO biblio.record_entry (marc, last_xact_id) SELECT marc, 'IMPORT' FROM marcxml_import; ERROR: Tag "" is not a valid tag. at /usr/share/perl5/MARC/File/SAX.pm line 92 at /usr/local/lib/perl/5.10.1/XML/LibXML/SAX.pm line 99 at /usr/share/perl5/MARC/File/XML.pm line 445 CONTEXT: PL/Perl function "maintain_control_numbers" evergreen=# I've tried looking at the actual files, Googling it, but it's all Greek to me. I'm attaching the files, hoping that someone could take a look at them. Does this make sense to anyone? Which file/line is the actual problem?
I'm unsure of who to ask for help. I'm not sure if it's an issue with PostgreSQL, Evergreen, OpenSRF, or Perl. Any pointers? Thanks for all the help!! Elliot J Voris -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Elliot Voris Sent: Thursday, December 22, 2011 10:15 AM To: Evergreen Development Discussion List Subject: Re: [OPEN-ILS-DEV] MARC Record Import from txt Thanks, Robin! How might I get around it? Is there a way to reinstall those XML::SAX::* modules? Would that even help? How would those modules affect just the inserting into the one (so far) table? It seems like it should be trouble for any inserting action. Thanks! Elliot J Voris -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robin H. Johnson Sent: Wednesday, December 21, 2011 03:52 PM To: Evergreen Development Discussion List Subject: Re: [OPEN-ILS-DEV] MARC Record Import from txt On Wed, Dec 21, 2011 at 08:29:42PM +0000, Elliot Voris wrote: > evergreen=# > evergreen=# INSERT INTO biblio.record_entry (marc, last_xact_id) SELECT marc, > 'IMPORT' FROM marcxml_import; > WARNING: could not find ParserDetails.ini in > /usr/local/share/perl/5.10.1/XML/SAX > CONTEXT: compilation of PL/Perl function "maintain_control_numbers" > ERROR: Unable to provide required features > CONTEXT: PL/Perl function "maintain_control_numbers" Looks like your XML::SAX::* perl modules might be broken. -- Robin Hugh Johnson SITKA: Sysadmin
MARC.File.SAX.pm
Description: MARC.File.SAX.pm
LibXML.SAX.pm
Description: LibXML.SAX.pm
MARC.File.XML.pm
Description: MARC.File.XML.pm
