[Koha] Corrupted record

Beda Szukics beda at muri-gries.ch
Fri Jun 20 04:10:33 NZST 2008


Hi all

When I do a "rebuild_zebra.pl -b"  I allways get the following error:


 problem with :577 : :38: parser error : Premature end of data in tag 
subfield line 38
    <subfield code="6">SCH
                          ^
:38: parser error : Premature end of data in tag datafield line 33
    <subfield code="6">SCH
                          ^
:38: parser error : Premature end of data in tag record line 2
    <subfield code="6">SCH
                          ^
 at /usr/lib/perl5/XML/LibXML/SAX/Parser.pm line 31
 
<?xml version="1.0" encoding="UTF-8"?>
<record
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.loc.gov/MARC21/slim 
http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd"
    xmlns="http://www.loc.gov/MARC21/slim">

  <leader>00521nam a2200133   4500</leader>
  <controlfield tag="008">  
960105s1970||||||||||||||||||||||||||||ger</controlfield>
  <datafield tag="245" ind1="0" ind2="4">
    <subfield code="a">Die schönsten Helden- und Rittersagen des 
Mittelalters /</subfield>
    <subfield code="c">[Für die Jugend bearb. von] Gerhard Aick ; Mit 
vielen Zeichnungen von Erich Hölle</subfield>
  </datafield>
  <datafield tag="260" ind1=" " ind2=" ">
    <subfield code="a">Wien :</subfield>
    <subfield code="b">Tosa Verlag,</subfield>
    <subfield code="c">[ca. 1970]</subfield>
  </datafield>
  <datafield tag="300" ind1=" " ind2=" ">
    <subfield code="a">508 S. :</subfield>
    <subfield code="b">Ill. ;</subfield>
    <subfield code="c">23 cm</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2=" ">
    <subfield code="a">Aick, Gerhard</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2=" ">
    <subfield code="a">Hölle, Erich</subfield>
  </datafield>
  <datafield tag="942" ind1=" " ind2=" ">
    <subfield code="c">BUCH</subfield>
    <subfield code="k">SCHÖ</subfield>
  </datafield>
  <datafield tag="952" ind1=" " ind2=" ">
    <subfield code="7">0</subfield>
    <subfield code="p">160</subfield>
    <subfield code="4">0</subfield>
    <subfield code="0">0</subfield>
    <subfield code="6">SCH at /usr/share/koha/lib/C4/Biblio.pm line 836.
07:49:09-19/06 zebraidx(23461) [log] zebra_start 2.0.30 
/etc/koha/zebradb/zebra-biblios.cfg
07:49:09-19/06 zebraidx(23461) [log] Loaded filter module 
/usr/lib/idzebra-2.0/modules/mod-text.so
07:49:09-19/06 zebraidx(23461) [log] Loaded filter module 
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so
07:49:09-19/06 zebraidx(23461) [log] Loaded filter module 
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so
07:49:09-19/06 zebraidx(23461) [log] Loaded filter module 
/usr/lib/idzebra-2.0/modules/mod-alvis.so
07:49:09-19/06 zebraidx(23461) [log] Loaded filter module 
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so
07:49:09-19/06 zebraidx(23461) [log] Loaded filter module 
/usr/lib/idzebra-2.0/modules/mod-dom.so
07:49:09-19/06 zebraidx(23461) [log] enabling shadow 
spec=/var/lib/koha/zebradb/biblios/shadow:4G
07:49:09-19/06 zebraidx(23461) [log] cache_fname = 
/var/lib/koha/zebradb/biblios/shadow/cache
07:49:09-19/06 zebraidx(23461) [log] dir /tmp/Ar02gqTnVB/biblio
07:49:09-19/06 zebraidx(23461) [log] update grs.marcxml.record 
/tmp/Ar02gqTnVB/biblio/exported_records 0

The correspondig record seems to be lost. I can't search on any of the 
terms on it. But in the Inventory the record show up. If I click on it I 
get:


Koha error

The following fatal error has occurred:

Can't call method "fields" on an undefined value at 
/usr/share/koha/intranet/cgi-bin/catalogue/MARCdetail.pl line 123.
Apache     Server version: Apache/2.2.3 Server built: Jan 27 2008 18:13:21
Koha     3.00.00.067
Koha DB     3.0000067
MySQL     mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using 
readline 5.2
OS     Linux verwaltung 2.6.18-6-686 #1 SMP Sat May 24 10:24:42 UTC 2008 
i686 GNU/Linux
Perl     5.008008


Is there a way to edit (or delete) this corrupted record. (I guess the 
mistake lies in the SCHÖ of the call number.

Thank you                    Beda


More information about the Koha mailing list