#1882 HIGH Trial-2: indexing service fails to index

Zarro Boogs per Child bugtracker at laptop.org
Thu Jul 5 07:44:30 EDT 2007


#1882: indexing service fails to index
------------------------+---------------------------------------------------
  Reporter:  tomeu      |       Owner:  bcsaller
      Type:  defect     |      Status:  new     
  Priority:  high       |   Milestone:  Trial-2 
 Component:  datastore  |     Version:          
Resolution:             |    Keywords:          
  Verified:  0          |  
------------------------+---------------------------------------------------
Comment (by tomeu):

 Metadata indexing gave me some exceptions today, the attached patch fixes
 those. Although now it seems to be indexing correctly the title property,
 searching for it doesn't return any results.

 Some log extracts:

 Journal log:
 {{{
 DEBUG - root: ListView.refresh: {'mountpoints': [dbus.String(u'6b26d384
 -56ea-459c-8e98-1de5f9f33d8c', variant_level=1)], 'fu
 lltext': 'test'}
 DEBUG - root: dbus_helpers.find: {'mountpoints': [dbus.String(u'6b26d384
 -56ea-459c-8e98-1de5f9f33d8c', variant_level=1)], 'f
 ulltext': 'test', 'order_by': ['-mtime']}
 }}}

 Datastore log:
 {{{
 2007-07-05 13:37:57,128 INFO: Starting Datastore
 /home/tomeu/.sugar/default/datastore
 2007-07-05 13:38:03,941 DEBUG: created d5cd0059-0f5b-4a8c-afaa-
 9b1bbe8fbddd
 2007-07-05 13:38:12,141 DEBUG: Unable to index d5cd0059-0f5b-4a8c-afaa-
 9b1bbe8fbddd /tmp/1183635492
 2007-07-05 13:38:12,144 DEBUG: updated d5cd0059-0f5b-4a8c-afaa-
 9b1bbe8fbddd
 2007-07-05 13:38:13,570 DEBUG: Unable to index d5cd0059-0f5b-4a8c-afaa-
 9b1bbe8fbddd /tmp/1183635493
 2007-07-05 13:38:13,572 DEBUG: updated d5cd0059-0f5b-4a8c-afaa-
 9b1bbe8fbddd
 }}}

 Indexer.log
 {{{
 2007-07-05 13:37:57,326 DEBUG: Starting the index service at fulltext
 2007-07-05 13:37:57,332 DEBUG: Opening database at 'fulltext',
 read_only=False
 2007-07-05 13:37:57,728 DEBUG: Opened database at 'fulltext'
 2007-07-05 13:38:03,943 DEBUG: nothing to index on creation of d5cd0059
 -0f5b-4a8c-afaa-9b1bbe8fbddd
 2007-07-05 13:38:12,259 DEBUG: Adding document to database at 'fulltext',
 id=dbus.String(u'd5cd0059-0f5b-4a8c-afaa-9b1bbe8fb
 ddd')
 2007-07-05 13:38:12,260 DEBUG: Indexing
 u'{"history":[{"url":"http://www.google.com/","title":"Google"}]}' with
 prefix '', w
 ordnum=1, weight=1, positional=True
 2007-07-05 13:38:12,262 DEBUG: Indexing u'test' with prefix 'XG',
 wordnum=9, weight=1, positional=True
 2007-07-05 13:38:12,264 DEBUG: Added document to database at 'fulltext',
 id='d5cd0059-0f5b-4a8c-afaa-9b1bbe8fbddd', xapid=1
 2007-07-05 13:38:12,265 DEBUG: Flushing database at 'fulltext'
 2007-07-05 13:38:12,637 DEBUG: Flushed database at 'fulltext'
 2007-07-05 13:38:12,637 DEBUG: index update of d5cd0059-0f5b-4a8c-afaa-
 9b1bbe8fbddd
 2007-07-05 13:38:13,675 DEBUG: Adding document to database at 'fulltext',
 id=dbus.String(u'd5cd0059-0f5b-4a8c-afaa-9b1bbe8fb
 ddd')
 2007-07-05 13:38:13,675 DEBUG: Indexing
 u'{"history":[{"url":"http://www.google.com/","title":"Google"}]}' with
 prefix '', w
 ordnum=1, weight=1, positional=True
 2007-07-05 13:38:13,677 DEBUG: Indexing u'test' with prefix 'XG',
 wordnum=9, weight=1, positional=True
 2007-07-05 13:38:13,678 DEBUG: Added document to database at 'fulltext',
 id='d5cd0059-0f5b-4a8c-afaa-9b1bbe8fbddd', xapid=2
 2007-07-05 13:38:13,678 DEBUG: Flushing database at 'fulltext'
 2007-07-05 13:38:14,000 DEBUG: Flushed database at 'fulltext'
 2007-07-05 13:38:14,001 DEBUG: index update of d5cd0059-0f5b-4a8c-afaa-
 9b1bbe8fbddd
 }}}

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



More information about the Bugs mailing list