[OPEN-ILS-DEV] marc2bre.pl usage / errors
Duimovich, George
George.Duimovich at NRCan-RNCan.gc.ca
Wed Dec 14 15:06:50 EST 2011
Hello,
While using marc2bre.pl for import:
This command works, except for errors listed [1] below (uninitialized value, dup TCN)
perl marc2bre.pl --db_user <myuser> --db_host localhost --db_pw <my_pw> --db_name evergreen --startid 8227550 bibliographic-nrcan.004.mrc > import.bre
I use command history to only edit out the "startid" switch above - then I run the command below and now get "FATAL: password authentication failed for user" type errors
perl marc2bre.pl --db_user <myuser> --db_host localhost --db_pw <my_pw> --db_name evergreen bibliographic-nrcan.004.mrc > import.bre
Question: why do I get an authentication error when the authentication params are the same as previous statement (only removed "--startid 8227550"
Also, if I attempt to deal with my duplicate TCN value errors by using the "used_tcn_file" option:
perl marc2bre.pl --db_user <myuser> --db_host localhost --db_pw <my_pw> --db_name evergreen used_tcn_file tcnvalues --startid 8227550 bibliographic-nrcan.004.mrc > import.bre
The result is no errors to screen, and import.bre is written out empty. If I take out the startid option then I get back to authentication error.
Am I goofing up the syntax somewhere?
George
George Duimovich
NRCan Library / Bibliothèque de RNCan
Errors 1:
Use of uninitialized value $value in substitution (s///) at /home/opensrf/Evergreen-ILS-2.1.1/Open-ILS/src/extras/import/marc2bre.pl line 391.
150 29.3359108144772
!!! TCN is already in use, using TCN (s8227698) derived from System ID.
(followed by more TCN already in use errors)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20111214/b142fb32/attachment.htm>
More information about the Open-ils-dev
mailing list