Jesse,

Getting back to what you are trying to accomplish, is there a particular reason 
you are exporting your MARC records?  If you're just migrating the whole 
database to a new server, I'd say exporting and reimporting the MARC isn't 
something you'd need (or want) to do.  It's also possible you're actually 
talking about a data dump and restore, and I am just misunderstanding.

It might still be worth looking over those records to see if you can spot the 
problem, but honestly, a database with only three records with shoddy MARC 
isn't bad at all :)

Dan


Daniel Wells
Library Programmer/Analyst
Hekman Library, Calvin College
616.526.7133

From: Open-ils-general 
[mailto:[email protected]] On Behalf Of Jesse 
McCarty
Sent: Tuesday, July 28, 2015 12:30 PM
To: [email protected]
Subject: [OPEN-ILS-GENERAL] Marc Export Script Error

Hi Everyone,

I am working on a new Evergreen Server to deploy in the fall (Ubuntu 14.04, 
Postgres 9.3 - Current system is Ubuntu 12.04, Postgres 9.2) and am running 
into an error with the marc_extract script. The script works with no issue on 
the production system running Postgres 9.2, but after I import the current 
production data into a test server (identical to the current production server, 
with older DB data) and upgrade Postgres to 9.3 it stops working with the 
following error:

Error in bibliographic record 168171
Substr outside of string at /usr/share/perl5/MARC/Record.pm line 573

There are two other bibliographic records that have the error as well (168498 & 
172482).

The new database seems to be working otherwise (attached is a screen shot of 
the output of the pg_upgradecluster results) even though the upgrade showed 
some errors.

Any help is greatly appreciated. Thanks!

Jesse McCarty
City of Burlington
IT Technical Assistant

Reply via email to