[Koha] re build_nozebra.pl error

Bobby703 mingyan214 at gmail.com
Mon Dec 8 19:31:59 NZDT 2008


Hi all,

I got an error when I tried to add new biblio to koha. 

Error:Can't call method "as_usmarc" on an undefined value at
/usr/share/koha/lib/C4/Search.pm line 2133

I tried to rebuild the index with 
perl /usr/share/koha/bin/migration_tools/rebuild_nozebra.pl

It runs very slowly and I got errors like
1417 problem with :1900 : Cannot decode string with wide characters at
/usr/lib/perl/5.8/Encode.pm line 186.
<?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>02798cam a2200685 a 4500</leader>
  <controlfield tag="001">000040660987</controlfield>
  <controlfield tag="003">AuCNLKIN</controlfield>
  <controlfield tag="005">20070330205916.0</controlfield>
  <controlfield tag="008">060824s2006    xnaa     b   s000 0 eng
d</controlfield>
  <datafield tag="020" ind1=" " ind2=" ">
    <subfield code="a">0734728743 (print)</subfield>
  </datafield>
  <datafield tag="020" ind1=" " ind2=" ">
    <subfield code="a">0734728751 (online)</subfield>
  </datafield>
  <datafield tag="040" ind1=" " ind2=" ">
    <subfield code="a">NSL</subfield>
    <subfield code="c">NSL</subfield>
    <subfield code="d">ANL</subfield>
  </datafield>
  <datafield tag="042" ind1=" " ind2=" ">
    <subfield code="a">anuc</subfield>
  </datafield>
  <datafield tag="043" ind1=" " ind2=" ">
    <subfield code="a">u-at-ne</subfield>
  </datafield>
  <datafield tag="050" ind1=" " ind2="4">
    <subfield code="a">DU 0125</subfield>
  </datafield>
  <datafield tag="082" ind1="0" ind2="4">
    <subfield code="a">362.76809915</subfield>
    <subfield code="2">22</subfield>
  </datafield>
  <datafield tag="099" ind1="5" ind2=" ">
    <subfield code="a">40960212</subfield>
  </datafield>
  <datafield tag="245" ind1="0" ind2="0">
    <subfield code="a">Breaking the silence :</subfield>
    <subfield code="b">creating the future : addressing child sexual assault
in Aboriginal communities in NSW /</subfield>
    <subfield code="c">Aboriginal Child Sexual Assault Taskforce.</subfield>
  </datafield>
  <datafield tag="260" ind1=" " ind2=" ">
    <subfield code="a">Wolli Creek, N.S.W. :</subfield>
    <subfield code="b">ecoDesign ecoPrint,</subfield>
    <subfield code="c">c2006.</subfield>
  </datafield>
  <datafield tag="300" ind1=" " ind2=" ">
    <subfield code="a">viii, 335 p. :</subfield>
    <subfield code="b">ill. ;</subfield>
    <subfield code="c">25 cm. +</subfield>
    <subfield code="e">1 CD-ROM (4 3/4 in.)</subfield>
  </datafield>
  <datafield tag="500" ind1=" " ind2=" ">
    <subfield code="a">Cover title.</subfield>
  </datafield>
  <datafield tag="500" ind1=" " ind2=" ">
    <subfield code="a">"NSW Aboriginal Child Sexual Assault Taskforce
members: Ms Marcia Ella-Duncan."--Prelim. p.</subfield>
  </datafield>
.....................

I guess the index is broken but when I run this script to rebuild the index,
it throws errors. 
Anyone knows what happens? Thanks in advance. 

mick


-- 
View this message in context: http://www.nabble.com/rebuild_nozebra.pl-error-tp20890133p20890133.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



More information about the Koha mailing list