[Koha] Errors indexing recently imported authorities in Zebra

Walls, Ian Ian.Walls at med.nyu.edu
Thu Jul 2 05:29:44 NZST 2009


Koha folks,

 

 

I've been pouring over this problem, consulting the forums, free web and
source code in an attempt to figure out why I'm getting this error.  The
closest I've found is this old post from 2006:
http://www.nabble.com/Zebra-config-problem-(still-1)-td2747685.html#a274
7685

 

Here is my procedure:

 

1.       I've exported my name authority records from my ILS in their
proprietary XML format.

2.       Converting their XML into MARCXML

3.       Importing the MARCXML into Koha with ./bulkauthimport.pl -m
MARCXML

4.       At this point, I can check the DB, and see my records in
auth_header.  They have auth_ids, and both marc and marcxml.

5.       When I run ./rebuild_zebra.pl -a, I get the following (snipped
for convenience; full output below):

12:24:32-01/07 zebraidx(11611) [warn]
/tmp/Zvy3uS9fsy/authority/exported_records:0 record.abs:13: Couldn't
find att 'any' in attset
12:24:32-01/07 zebraidx(11611) [warn]
/tmp/Zvy3uS9fsy/authority/exported_records:0 Unable to acquire abstract
syntax for 'record'
12:24:32-01/07 zebraidx(11611) [warn] Record didn't contain match fields
in (bib1,Local-Number)
12:24:32-01/07 zebraidx(11611) [warn] Bad match criteria



6.       When I attempt to search for any authorities, using terms I
know should match record #1, I get nothing.

 

My initial guess is that I need to change my matching criteria
somehow...

 

Any help would be greatly appreciated.

 

Cheers,

 

 

Ian Walls

Systems Integration Librarian

NYU Health Sciences Libraries

(212) 263-8687

 

 

 

 

Full output of error message:

 

Records exported: 11020
====================
REINDEXING zebra
====================
12:24:32-01/07 zebraidx(11610) [log] zebra_start
/etc/koha/zebradb/zebra-authorities.cfg 1.3.50
12:24:32-01/07 zebraidx(11610) [log] enabling cache
spec=/var/lib/koha/zebradb/authorities/shadow:1G
12:24:32-01/07 zebraidx(11610) [log] cache_fname =
/var/lib/koha/zebradb/authorities/shadow/cache
12:24:32-01/07 zebraidx(11610) [debug][log] zebra_stop
12:24:32-01/07 zebraidx(11611) [log] zebra_start
/etc/koha/zebradb/zebra-authorities.cfg 1.3.50
12:24:32-01/07 zebraidx(11611) [debug][log] zebra_register_open rw = 1
useshadow=1 p=0x80b5788,n=,rp=(none)
12:24:32-01/07 zebraidx(11611) [log] enabling cache
spec=/var/lib/koha/zebradb/authorities/shadow:1G
12:24:32-01/07 zebraidx(11611) [log] cache_fname =
/var/lib/koha/zebradb/authorities/shadow/cache
12:24:32-01/07 zebraidx(11611) [log] dir /tmp/Zvy3uS9fsy/authority
12:24:32-01/07 zebraidx(11611) [warn]
/tmp/Zvy3uS9fsy/authority/exported_records:0 record.abs:13: Couldn't
find att 'any' in attset
12:24:32-01/07 zebraidx(11611) [warn]
/tmp/Zvy3uS9fsy/authority/exported_records:0 Unable to acquire abstract
syntax for 'record'
12:24:32-01/07 zebraidx(11611) [warn] Record didn't contain match fields
in (bib1,Local-Number)
12:24:32-01/07 zebraidx(11611) [warn] Bad match criteria
12:24:32-01/07 zebraidx(11611) [log] zebra_end_trans
12:24:32-01/07 zebraidx(11611) [log] sorting section 1
12:24:32-01/07 zebraidx(11611) [log] Iterations . . .     57
12:24:32-01/07 zebraidx(11611) [log] Distinct words .     21
12:24:32-01/07 zebraidx(11611) [log] Updates. . . . .      0
12:24:32-01/07 zebraidx(11611) [log] Deletions. . . .      0
12:24:32-01/07 zebraidx(11611) [log] Insertions . . .     21
12:24:32-01/07 zebraidx(11611) [debug][log] zebra_register_close
p=0x80b5788
12:24:32-01/07 zebraidx(11611) [log] Records:       0 i/u/d 0/0/0
12:24:32-01/07 zebraidx(11611) [log] user/system: 1/0
12:24:32-01/07 zebraidx(11611) [debug][log] zebra_stop
12:24:32-01/07 zebraidx(11611) [log] zebraidx times:  0.07  0.01  0.00
12:24:32-01/07 zebraidx(11612) [log] zebra_start
/etc/koha/zebradb/zebra-authorities.cfg 1.3.50
12:24:32-01/07 zebraidx(11612) [log] enabling cache
spec=/var/lib/koha/zebradb/authorities/shadow:1G
12:24:32-01/07 zebraidx(11612) [log] cache_fname =
/var/lib/koha/zebradb/authorities/shadow/cache
12:24:32-01/07 zebraidx(11612) [log] commit start
12:24:32-01/07 zebraidx(11612) [debug][log] zebra_stop
skipping biblios
====================
CLEANING
====================

 

</PRE>
<html>
<body>
------------------------------------------------------------<br />
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.<br />
=================================
</body>
</html>
<PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090701/cd4c2e73/attachment.htm 


More information about the Koha mailing list