As a general remark:
The grdb files are not portable, read: http://gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb

Can that be to blame?
If that is not the reason, then try the following:

1/export to .gramps format to have a backup
2/in Tools run  'rebuild reference tables'
3/in Tools run  'rebuild secondqry indexes'
4/in Tools run  'check and repair'

The above solves inconsistencies in the data that can have been introduced due to bad import or a bug.
If possible; upgrade afterwards  to 3.0.1, you find an ubuntu package on our website

If the problem persists, let us know

Benny

2008/10/6 glyph <david.windsor@gmail.com>
User Information:
===================

Saving file


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

790637: ERROR: DbLoader.py: line 488: Failed to open database.
Traceback (most recent call last):
  File "/usr/share/gramps/DbLoader.py", line 485, in open_saved_as
    self.uistate.pulse_progressbar)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 465, in load_from
    self.load(filename,callback)
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 384, in load
    self.metadata     = self.open_table(self.full_name,"meta")
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 159, in open_table
    dbmap.open(file_name, table_name, dbtype, self.open_flags(), 0666)
DBInvalidArgError: (22, 'Invalid argument -- /home/deus/geneology/Valiquette Family/Valiquette.grdb: unexpected file type or format')

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_CA.UTF-8
OS: Linux
Distribution: 2.6.24-19-rt


--
All those ... moments will be lost ... in time, like tears ... in rain.  Roy Batty NEXUS 6

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs