[Koha] [Koha-devel] Items are not added in records

James, Mason mason at kohaaloha.com
Sun Mar 6 13:12:59 NZDT 2011


On 2011-03-3, at 11:30 PM, Nitesh Rijal wrote:

> Hello.
> 
> How did you managed to import the record is the main thing.
> 
> Did you add all the items while importing the MARC? What was the message when you imported the records???
> 
> items are stored in items table and as well as in the marcxml field in the biblioitem table.
> 
> please put the message that showed while importing records to koha.
> 
> regards.
> 
> 2011/3/3 Prawesh Shrestha <prawesh.shrestha at yipl.com.np>
> The items are not added in record. It is not displayed in any view - MARC, ITEM and others. But when items are searched for barcode printing, they are displayed without the features to add to the label. The check box and 'Add' don't appear. If 'Edit Items' is clicked the items are there. I checked the database, no items are written in 'Item' table. i tried the following command:
> 
> sudo -u koha perl -I /usr/share/koha/lib /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -v -w
> 
> it output the following:
> 
> .
> .
> .
> .
> 13:40:47-03/03 zebraidx(3905) [log] Records: 57000 i/u/d 10/56990/0
> 13:40:53-03/03 zebraidx(3905) [log] Records: 58000 i/u/d 19/57981/0
> 13:40:58-03/03 zebraidx(3905) [log] Records: 59000 i/u/d 28/58972/0
> 13:41:11-03/03 zebraidx(3905) [log] Merge 14.0% completed; 61 seconds remaining
> 13:41:21-03/03 zebraidx(3905) [log] Merge 40.3% completed; 29 seconds remaining
> 13:41:31-03/03 zebraidx(3905) [log] Merge 57.6% completed; 22 seconds remaining
> 13:41:41-03/03 zebraidx(3905) [log] Merge 59.6% completed; 27 seconds remaining
> 13:41:51-03/03 zebraidx(3905) [log] Merge 70.0% completed; 21 seconds remaining
> 13:42:01-03/03 zebraidx(3905) [log] Merge 76.0% completed; 18 seconds remaining
> 13:42:11-03/03 zebraidx(3905) [log] Merge 81.4% completed; 16 seconds remaining
> 13:42:21-03/03 zebraidx(3905) [log] Merge 87.3% completed; 11 seconds remaining
> 13:42:27-03/03 zebraidx(3905) [fatal] Bad block size -8 in pos=511075
> 
> zebraidx: isamb.c:549: open_block: Assertion `p->size >= 0' failed. <<<<<<<< OOPS!!!!!!


the reason your zebra rebuild is failing, could be you are running out of space in your /tmp directory?

this has happened to me recently...


cheers, Mason
-- 
KohaAloha, NZ



More information about the Koha mailing list