The error says:

Your GEDCOM file is corrupted. It appears to have been truncated

So something is wrong with gedcom you open now, and GRAMPS cannot work with it.

It is dangerous to work directly on GEDCOM files with GRAMPS, as the file will be overwritten by a version GRAMPS understands. In the case of a crash or error the GEDCOM can be made unreadable. This might have happened here.

Better is to make a grdb file with the new button, and import (in the file menu) the GEDCOM into it. However, grdb is a database and is hence faster but takes much more diskspace than GEDCOM. The undo is probably stored by GRAMPS to undo last change.

You should take backups by exporting from time to time to .gramps xml format, which is a text format with all the data as present in the database.


2007/11/24, Donald R Spoon <>:
User Information:

I had opened the file (rljones.ged) yesterday without problems then
closed it normally.
When I tried to re-open it tody I got the error.  There is an additional
(new) file in that
directory called "rljoned.ged.undo" which was not there before.  I had
my computer between the two tries.  The original file in question is
rather large...about 2.9 Megabytes.  The rljones.ged file today is only
684.0 KB and the new file (rljones.ged.undo) is 8.0 KB.  Otherwise the
system was pretty much the same as before... no updates, etc.  System is
running Debian Linux (Etch).

Error Details:

255428: WARNING: line 1072: Your GEDCOM file is corrupted.
It appears to have been truncated.261165: ERROR: line 1072:
Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/", line 214, in <lambda>
    return lambda x: f(n)
  File "/usr/share/gramps/", line 168, in load
  File "/usr/share/gramps/", line 903, in read_recent_file
  File "/usr/share/gramps/", line 969, in post_load_newdb
    self.change_page(None, None)
  File "/usr/share/gramps/", line 842, in change_page
  File "/usr/share/gramps/DataViews/", line 497, in
  File "/usr/share/gramps/DataViews/", line 603, in
  File "/usr/share/gramps/DataViews/", line 792, in
    self.rebuild( self.table_2, pos_2, person, lst)
  File "/usr/share/gramps/DataViews/", line 955, in rebuild
    childlist = find_children(self.dbstate.db,lst[0][0])
  File "/usr/share/gramps/DataViews/", line 1670, in
    for child_ref in family.get_child_ref_list():
AttributeError: 'NoneType' object has no attribute 'get_child_ref_list'

System Information:

Python version: 2.4.4 (#2, Apr  5 2007, 20:11:18) [GCC 4.1.2 20061115
(prerelease) (Debian 4.1.1-21)]
BSDDB version:
Gramps version: 2.2.6-1
OS: Linux
Distribution: 2.6.22-3-k7

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Gramps-bugs mailing list