User Information:
===================

After removing the check mark from Sidebar under View with now problem, I removed the check mark for the Toolbar, then the error dialog appeared.


Error Details:
===================

84267: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/Editors/_EditPerson.py", line 627, in save
    self.db.transaction_commit(trans, msg)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1411, in transaction_commit
    GrampsDbBase.transaction_commit(self,transaction,msg)
  File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 1454, in transaction_commit
    person_add    = self._do_commit(transaction.person_add,self.person_map)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1339, in _do_commit
    db_map.put(handle,data,self.txn)
  File "/usr/lib/python2.5/bsddb/dbshelve.py", line 195, in put
    return self.db.put(key, data, txn, flags)
DBPermissionsError: (1, 'Operation not permitted -- the log files from a database environment')

113174: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/Editors/_EditPerson.py", line 627, in save
    self.db.transaction_commit(trans, msg)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1411, in transaction_commit
    GrampsDbBase.transaction_commit(self,transaction,msg)
  File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 1454, in transaction_commit
    person_add    = self._do_commit(transaction.person_add,self.person_map)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1339, in _do_commit
    db_map.put(handle,data,self.txn)
  File "/usr/lib/python2.5/bsddb/dbshelve.py", line 195, in put
    return self.db.put(key, data, txn, flags)
DBPermissionsError: (1, 'Operation not permitted -- the log files from a database environment')

120425: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/ViewManager.py", line 492, in quit
    self.state.db.close()
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1073, in close
    self.env.txn_checkpoint()
DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -- txn_checkpoint: failed to flush the buffer cache: DB_RUNRECOVERY: Fatal error, run database recovery')

1667932: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/DataViews/_PersonView.py", line 337, in filter_toggle
    self.build_tree()
  File "/usr/share/gramps/DataViews/_PersonView.py", line 518, in build_tree
    self.model = PeopleModel(self.dbstate.db, filter_info, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 298, in __init__
    self.rebuild_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 313, in rebuild_data
    self.calculate_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 379, in calculate_data
    self._build_data(dfilter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 347, in _build_filter_sub
    handle_list = self.db.get_person_handles()
  File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 1207, in get_person_handles
    cursor = self.get_person_cursor()
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 166, in get_person_cursor
    return GrampsBSDDBCursor(self.person_map,self.txn)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 77, in __init__
    self.cursor = source.db.cursor(txn)
DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal region error detected; run recovery')

1672778: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/DataViews/_PersonView.py", line 337, in filter_toggle
    self.build_tree()
  File "/usr/share/gramps/DataViews/_PersonView.py", line 518, in build_tree
    self.model = PeopleModel(self.dbstate.db, filter_info, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 298, in __init__
    self.rebuild_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 313, in rebuild_data
    self.calculate_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 379, in calculate_data
    self._build_data(dfilter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 324, in _build_search_sub
    cursor = self.db.get_person_cursor()
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 166, in get_person_cursor
    return GrampsBSDDBCursor(self.person_map,self.txn)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 77, in __init__
    self.cursor = source.db.cursor(txn)
DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal region error detected; run recovery')
4805026: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/DataViews/_RelationView.py", line 150, in shade_update
    self.redraw()
  File "/usr/share/gramps/DataViews/_RelationView.py", line 387, in redraw
    self.change_person(None)
  File "/usr/share/gramps/DataViews/_RelationView.py", line 391, in change_person
    return self._change_person(obj)
  File "/usr/share/gramps/DataViews/_RelationView.py", line 411, in _change_person
    person = self.dbstate.db.get_person_from_handle(obj)
  File "/usr/share/gramps/GrampsDb/_GrampsDbBase.py", line 738, in get_person_from_handle
    return self._get_from_handle(handle, Person, self.person_map)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1352, in _get_from_handle
    if data_map:
ValueError: __nonzero__ should return >= 0


System Information:
===================

Python version: 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
BSDDB version: 4.4.5.3
Gramps version: 2.2.10-1
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.24-19-generic