[OPEN-ILS-DEV] MARC Record Import from txt
Elliot Voris
evoris at slcconline.edu
Thu Dec 22 12:05:25 EST 2011
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: open-ils-dev-bounces at list.georgialibraries.org [mailto:open-ils-dev-bounces at list.georgialibraries.org] 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: open-ils-dev-bounces at list.georgialibraries.org [mailto:open-ils-dev-bounces at list.georgialibraries.org] 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MARC.File.SAX.pm
Type: application/octet-stream
Size: 3245 bytes
Desc: MARC.File.SAX.pm
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20111222/0c3fc5c4/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LibXML.SAX.pm
Type: application/octet-stream
Size: 3020 bytes
Desc: LibXML.SAX.pm
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20111222/0c3fc5c4/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MARC.File.XML.pm
Type: application/octet-stream
Size: 14523 bytes
Desc: MARC.File.XML.pm
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20111222/0c3fc5c4/attachment-0005.obj>
More information about the Open-ils-dev
mailing list