First of all, a grdb file cannot be moved. The error you give normally is seen in this context, see:
http://gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb

If that not to blame, before import, clean up your database by running the tools:

1/rebuild reference tables tool
2/rebuild secondary indexes tool
3/check and repair tool

Then try import.
Run the tools after import again to see if the import did not add bad data.

Don't forget to take backups as .gramps files from time to time

Upgrade to version 3.0.1, you find an ubuntu package on our website

Benny

2008/7/11 Jean-Paul Rouze <jean-paul.rouze@laposte.net>:
"User Information: 
===================




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

805235: ERROR: DbLoader.py: line 501: Failed to import database.
Traceback (most recent call last):
  File "/usr/share/gramps/DbLoader.py", line 497, in do_import
    importer(self.dbstate.db, filename, self.uistate.pulse_progressbar)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 228, in importData
    import2(database, filename, callback, codeset, use_trans)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 249, in import2
    close = g.parse_gedcom_file(use_trans)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 866, in parse_gedcom_file
    self.parse_record()
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 1051, in parse_record
    self.parse_INDI(matches)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 1677, in parse_INDI
    func(matches, state)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 2948, in func_person_birt
    self.parse_event(event_ref, event, self.generic_event_map, 2)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 1875, in parse_event
    func(matches, event_ref, event, level+1)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 2007, in func_event_place
    place = self.find_or_create_place(val)
  File "/usr/share/gramps/GrampsDb/_ReadGedcom.py", line 1208, in find_or_create_place
    if self.db.has_place_handle(intid):
  File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 220, in has_place_handle
    return self.place_map.get(str(handle),txn=self.txn) != None
AttributeError: 'NoneType' object has no attribute 'get'

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

Python version: 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] 
BSDDB version: 4.4.5.3 
Gramps version: 2.2.10-1 
LANG: fr_FR.UTF-8
OS: Linux
Distribution: 2.6.24-19-generic
"

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs