Dear Jindrich,
Jindrich Dolansky wrote:
I have met a problem with uploading of converted (harvested) records
from a specific OAI repository (http://www.vse.cz/oai2/).
Do you happen to have the MARCXML version of the "bibuploaded" records?
The logs cannot clearly help at understanding the error (only the parsed
attempt structure is shown).
I am not sure which path you followed to harvest-convert-upload the
records, but the converted MARCXML file *could* be found in one of the
files /opt/cds-invenio/var/tmp/bibconvertrun*
$ grep -l 'vskp/eid/5729' /opt/cds-invenio/var/tmp/bibconvertrun*
Once found, you should be able to check the validity of that file with:
$ /opt/cds-invenio/bin/xmlmarclint -v 9 bibconvertrun[...]
`xmlmarclint` should complain. If you can send this file to the list I
could check what went wrong (and try to upload the file on my local
installation).
In addition, I would like to ask on possibility of creating Report
Number analog for harvested records which would contain its ID (control
field 001): Specifically, the identifier should possess syntax:
"nusl-ID". Since it seems that Invenio assigns IDs when uploading
converted (harvested) records into database. And hence, I cannot employ
the value of the control field 001 within an oaidc2marcxml.xsl file
(since it has not yet been assigned)? If this is true, is there another
way how to use ID (from control field 001) for creating the
required identifier?
Exact. The record ID (control field 001) is assigned when the record is
inserted by BibUpload. I don't think that there is a way to refer to
that value before it is assigned to the record.
A solution might be to post-process the records once they are inserted.
A simple periodical script could append report number fields (with
bibupload -a) to records without such field. Alternatively the BibUpload
cli will gain in future versions a new '--post-process' option which
you could set to perform this task.
Best regards
--
Jerome Caffaro