#2196 BLOC Trial-2: datastore dies with large PDFs.

Zarro Boogs per Child bugtracker at laptop.org
Tue Jul 17 06:22:25 EDT 2007


#2196: datastore dies with large PDFs.
------------------------+---------------------------------------------------
  Reporter:  cjb        |       Owner:  bcsaller
      Type:  defect     |      Status:  new     
  Priority:  blocker    |   Milestone:  Trial-2 
 Component:  datastore  |     Version:          
Resolution:             |    Keywords:          
  Verified:  0          |  
------------------------+---------------------------------------------------
Comment (by tomeu):

 The same 35mb pdf gives this error when the file is assigned to the entry
 (on a b3 with 256mb of ram):

 {{{
 2007-07-17 10:25:43,522 ERROR: Error in indexer
 Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/olpc/datastore/xapianindex.py",
 line 182, in indexThread
     doc.fields.append(secore.Field('fulltext', fp.read()))
   File "/usr/lib/python2.5/codecs.py", line 606, in read
     return self.reader.read(size)
   File "/usr/lib/python2.5/codecs.py", line 418, in read
     newchars, decodedbytes = self.decode(data, self.errors)
 MemoryError
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/2196#comment:9>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list