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

Error apears when I try create new database (File -> New)
The same is for both English and Lithuanian languages.
I unable to test  gramps I updated today using svn update (revision 7059).


Regards,
Arturas Sleinius


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

22507: ERROR: DbLoader.py: line 406: Failed to open database.
Traceback (most recent call last):
  File "/home/asleiniu/newgramps/share/gramps/DbLoader.py", line 396, in read_file
    self.dbstate.db.load(filename,self.uistate.pulse_progressbar,mode)
  File "/home/asleiniu/newgramps/share/gramps/GrampsDb/_GrampsBSDDB.py", line 320, in load
    self.env.open(env_name,env_flags)
DBRunRecoveryError: (-30977, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: DB_RUNRECOVERY: Fatal error, run database recovery')
369424: ERROR: gramps.py: line 142: Unhandled exception
Traceback (most recent call last):
  File "/home/asleiniu/newgramps/share/gramps/ViewManager.py", line 723, in new_activate
    self.post_load_newdb(filename,filetype)
  File "/home/asleiniu/newgramps/share/gramps/ViewManager.py", line 783, in post_load_newdb
    self.state.change_active_person(self.state.db.find_initial_person())
  File "/home/asleiniu/newgramps/share/gramps/GrampsDb/_GrampsDbBase.py", line 1226, in find_initial_person
    the_ids = self.get_gramps_ids (PERSON_KEY)
  File "/home/asleiniu/newgramps/share/gramps/GrampsDb/_GrampsDbBase.py", line 1207, in get_gramps_ids
    return table.keys()
AttributeError: 'NoneType' object has no attribute 'keys'
378492: ERROR: DbLoader.py: line 406: Failed to open database.
Traceback (most recent call last):
  File "/home/asleiniu/newgramps/share/gramps/DbLoader.py", line 396, in read_file
    self.dbstate.db.load(filename,self.uistate.pulse_progressbar ,mode)
  File "/home/asleiniu/newgramps/share/gramps/GrampsDb/_GrampsBSDDB.py", line 320, in load
    self.env.open(env_name,env_flags)
DBRunRecoveryError: (-30977, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: DB_RUNRECOVERY: Fatal error, run database recovery')

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

Python version: 2.4.3 (#2, Apr 27 2006, 14:43:58) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
Gramps version: 2.1.90-0.SVN7059M
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.15-26-686