[OPEN-ILS-DEV] Importing marc records from Sirsi
Robert
glibrarysystem at gmail.com
Thu May 29 09:18:40 EDT 2008
I do already have some records in the system and I did not use the startid
option the first time. I did however try the entire process again using the
startid option and received the same results. I have 8 different books in
the system but some have multiple copies. Should the startid option be the
number of actual books or records (I believe this is the right way to go) or
should it start with the number after the number of copies?
On Wed, May 28, 2008 at 4:47 PM, Dan Scott <denials at gmail.com> wrote:
> Robert:
>
> 2008/5/28 Robert <glibrarysystem at gmail.com>:
> > Dan,
> >
> > I did the gutenberg approach this time, sorry didn't notice it near the
> > bottom last time, and I received a .sql file that actually had data in
> it. I
> > ran the command \i <path> and I received a lot of errors. Those errors
> are:
> >
> > evergreen=# \i /root/Desktop/sirsiimport/V001.sql
> > SET
> > BEGIN
> > psql:/root/Desktop/sirsiimport/V001.sql:5: ERROR: duplicate key violates
> > unique constraint "record_entry_pkey"
>
> Do you already have some records in the system? If so, you'll need to
> change the start ID for the import (--startid option for marc2bre.pl)
> to avoid generating records that conflict with your existing records.
>
> Note that the trunk version of marc2bre.pl automatically sets the
> start ID to something sane (as long as nobody adds new records to the
> system before you load your newly processed records).
>
> --
> Dan Scott
> Laurentian University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20080529/63fdf45b/attachment.html
More information about the Open-ils-dev
mailing list