[chandler-users] indexing error

Benjamin Wilreker roadwarrior at indril.com
Wed Apr 16 15:16:41 PDT 2008


Hi Guys,

I'm using 0.7.5.1 for PC.  I got an error compacting database.  I threw 
out the index and rebuilt and then tried to compact again.  Got a new 
error.  I've included the traceback below.  Anybody have any ideas?

Wil

2008-04-16 15:11:54,375 repository ERROR: while compacting repository
Traceback (most recent call last):
  File "C:\Program Files\Chandler0.7\parcels\osaf\app\compact.py", line 
237, in compact
    counts = view.repository.compact(toVersion, progressFn=progress)
  File 
"build_release\bdist.win32\egg\chandlerdb\persistence\DBRepository.py", 
line 737, in compact
    purge()
  File 
"build_release\bdist.win32\egg\chandlerdb\persistence\DBRepository.py", 
line 721, in purge
    purger.purgeItems(txn, counter, items)
  File 
"build_release\bdist.win32\egg\chandlerdb\persistence\DBItemIO.py", line 
961, in purgeItems
    toVersion)
  File 
"build_release\bdist.win32\egg\chandlerdb\persistence\DBItemIO.py", line 
1023, in purgeItem
    store._items.purgeItem(txn, counter, uItem, version)
  File 
"build_release\bdist.win32\egg\chandlerdb\persistence\DBContainer.py", 
line 1047, in purgeItem
    self.delete(pack('>16si', uuid._uuid, ~version), txn)
  File 
"build_release\bdist.win32\egg\chandlerdb\persistence\DBContainer.py", 
line 158, in delete
    self._db.delete(key, txn or self.store.txn)
DBError: (-30974, 'DB_SECONDARY_BAD: Secondary index inconsistent with 
primary')
2008-04-16 15:11:54,500 repository INFO: <DBRepositoryView: MainThread 
(479)> committed 4 items (1 kbytes) in 0:00:00.063000, 63 items/s (16 
kbytes/s)




More information about the chandler-users mailing list