[OPEN-ILS-DEV] Problem Importing MARC records

Mike Rylander mrylander at gmail.com
Thu Aug 2 13:37:14 EDT 2007


On 8/2/07, Don Hamilton <dhamilton at wlu.ca> wrote:
[snip]

>
> Hmm... That reminds me... in order to make the output of such piped
> commands legible, I modified direct_ingest and pg-loader to not put out
> the record count/records per second stuff that each program normally
> does, hence the "-idler 0" in the above command. I guess I'd better get
> my head back in this space long enough to submit a patch... With

Don, that's a great idea.  I've added a -q|--quiet switch to all of
those scripts (and marc2are.pl) in svn trunk.

Hope that helps in the future, and thanks for the idea!

--miker

>
> don (not mcmorris, and not dan, either)
>
>
> >>> kcollier at kent.lib.md.us 02-Aug-2007 12:02 PM >>>
> I went through the .marc file and found the records containing some of
> the strange characters, and went back and looked at those records in
> Horizon.  They display as diamond shapes with question marks there, and
> the odd capitalization you mentioned shows up there as well.  Our
> cataloger is looking at those records, intending to correct them.
>
> Meanwhile, I tried using a smaller set of MARC records that didn't
> include any of the records I had problems with in the .marc to .bre
> phase.  Everything went smoothly with no apparent errors until I got
> to:
>
> psql -U evergreen evergreen
> evergreen# \i ~/kent1000records.sql;
>
> and I got a whole series of these guys again:
>
>
>
>
>
> ----- Original Message -----
> From: Joe Atzberger <atzberger at MECDC.ORG>
> To: open-ils-dev at list.georgialibraries.org
> Sent: Wed,  1 Aug 2007 17:24:36 -0400
> Subject: Re: [OPEN-ILS-DEV] Problem Importing MARC records
>
>
> > Karen --
> >
> > Is there something strange going on with your character set (and
> > capitalizations)?  In your records, what are the
> > characters that display in the error log (or at least in my email) as
> squares?
> > Perhaps they are illegal escape
> > characters or something more appropriate in UTF-8.
> >
> > Is is possible your line endings were reformatted or scripts randomly
> forced to
> > uppercase?  To me, "nEW yORK" looks like
> > the result of a tr/[A-z]/a-Z/ and "\N" looks suspiciously like the
> newline
> > character "\n".
> >
> > --Joe Atzberger
> > INFOhio Technical Specialist
> > Metropolitan Educational Council
> > (614) 473-8300 x22
> > atzberger at mecdc.org
> >
> >
> >
>
>


-- 
Mike Rylander
Equinox Software, Inc
miker at esilibrary.com
http://esilibrary.com/


More information about the Open-ils-dev mailing list