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.
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).
255428: WARNING: __init__.py: line 1072: Your GEDCOM file is corrupted.
It appears to have been truncated.261165: ERROR: __init__.py: line 1072:
Traceback (most recent call last):
File "/usr/share/gramps/DisplayState.py", line 214, in <lambda>
return lambda x: f(n)
File "/usr/share/gramps/DisplayState.py", line 168, in load
File "/usr/share/gramps/ViewManager.py", line 903, in read_recent_file
File "/usr/share/gramps/ViewManager.py", line 969, in post_load_newdb
File "/usr/share/gramps/ViewManager.py", line 842, in change_page
File "/usr/share/gramps/DataViews/_PedigreeView.py", line 497, in
File "/usr/share/gramps/DataViews/_PedigreeView.py", line 603, in
File "/usr/share/gramps/DataViews/_PedigreeView.py", line 792, in
self.rebuild( self.table_2, pos_2, person, lst)
File "/usr/share/gramps/DataViews/_PedigreeView.py", line 955, in rebuild
childlist = find_children(self.dbstate.db,lst)
File "/usr/share/gramps/DataViews/_PedigreeView.py", line 1670, in
for child_ref in family.get_child_ref_list():
AttributeError: 'NoneType' object has no attribute 'get_child_ref_list'
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: 188.8.131.52
Gramps version: 2.2.6-1
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Gramps-bugs mailing list