I commented out the 'try' that gave the original problem.
This might shed some light over the problem:
7632: ERROR: DbLoader.py: line 306: Failed to import database.
Traceback (most recent call last):
File "/usr/share/gramps/DbLoader.py", line 296, in do_import
self.uistate.pulse_progressbar)
File "/usr/share/gramps/plugins/ReadGrdb.py", line 90, in importData
if not other_database.version_supported():
File "/usr/share/gramps/GrampsDbUtils/_GrampsBSDDB.py", line 392, in
version_supported
dbversion = self.metadata.get('version',default=_DBVERSION)
TypeError: get() takes no keyword arguments
'file' on the db-file: 'Berkeley DB (Btree, version 9, native byte-order'
The code shows this:
_MINVERSION = 9
_DBVERSION = 13
So it should work. I tried to just make version_supported return true
and I didn't get any error, but I didn't get an import either. :-)
---------------------------
I've tried all the described methods for repairing a corrupted database,
even used an old backup, so I suspect the problem lies elsewhere.
Somehow I suspect it has something to do with python and berkeley db in Debian.
Any idea?
Is there maybe some way to convert a berkeley db to xml outside gramps?
Dumping the file using db4.6_dump seems to work, so the database seems intact.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]