Hi!
I'm in contact with Nils Nielsen (I know him) and will try to help him through the problems by recovering the grdb-file and then export to GRAMPS-package (gpkg).


Espen


On 10/26/07, Benny Malengier <benny.malengier@gmail.com> wrote:
It depends from which version your grdb is a bit, but normally everything can be imported.
However, with one catch: grdb format is _not_ portable.

Please, carefully read this article: http://www.gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb

Benny

2007/10/26, Nils M. Nielsen < niniel@online.no>:
User Information:

===================


I tried to load an old .grdb file but got an error message. Could not
access it by any mean. I also tried the import feature, but it did
nothing. So during this operations the import and export labels
disappeared. The error log follows.

Is it not possible to load an old database file into Gramps? The old
file is from the version of Gramps on Kubuntu 7.04, my syste, now is
new-installed Kubuntu 7.10.

Sincerely Nils M. Nielsen


Error Details:

===================


354159: ERROR: _Tool.py: line 271: Failed to start tool.

Traceback (most recent call last):

File "/usr/share/gramps/PluginUtils/_Tool.py", line 267, in gui_tool

tool_class(dbstate, uistate, options_class, name, callback)

File "/usr/share/gramps/plugins/Check.py", line 161, in __init__

low_level(self.db)

File "/usr/share/gramps/plugins/Check.py", line 89, in low_level

if _table_low_level(db,the_map[1]):

File "/usr/share/gramps/plugins/Check.py", line 101, in _table_low_level

handle_list = table.keys()

AttributeError: 'NoneType' object has no attribute 'keys'

375430: 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 1072, in close

self._close_metadata()

File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 991, in
_close_metadata

self.metadata.put('name_formats',self.name_formats,txn=the_txn)

AttributeError: 'NoneType' object has no attribute 'put'

811766: 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 1144, 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)

AttributeError: 'NoneType' object has no attribute 'db'



System Information:

===================


Python version: 2.5.1 (r251:54863, Oct 5 2007, 13:36:32) [GCC 4.1.3
20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]

BSDDB version: 4.4.5.2

Gramps version: 2.2.8-0.SVN

LANG: nb_NO.UTF-8

OS: Linux

Distribution: 2.6.22-14-generic


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs