2.2.9 has a bug not allowing you to directly edit XML files.
Direct edit of XML is anyway something you should try not to do, better is to import in .grdb database, do your work, and export to xml if you need a backup or for other reasons.

If however you need direct edit of XML, you should use 2.2.8 instead, or use the development version branch22 in subversion where this is already solved. 2.2.10 is not planned at the moment though, we consider this a minor annoyance only.

Benny

2007/12/21, Martin Weinelt <mweinelt@gmail.com>:
"User Information:
===================

Closed Gramps


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

13540197: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/ViewManager.py", line 492, in quit
    self.state.db.close()
  File "/usr/share/gramps/GrampsDb/_GrampsXMLDB.py", line 76, in close
    quick_write(self,self.full_name )
  File "/usr/share/gramps/GrampsDb/_WriteXML.py", line 111, in quick_write
    g.write(filename)
  File "/usr/share/gramps/GrampsDb/_WriteXML.py", line 178, in write
    self.write_xml_data ()
  File "/usr/share/gramps/GrampsDb/_WriteXML.py", line 278, in write_xml_data
    self.write_family(family,2)
  File "/usr/share/gramps/GrampsDb/_WriteXML.py", line 453, in write_family
    fhandle = family.get_father_handle()
AttributeError: 'NoneType' object has no attribute 'get_father_handle'


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

Python version: 2.5.1 (r251:54863, Oct  5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
BSDDB version: 4.4.5.2
Gramps version: 2.2.9-1
LANG: de_DE.UTF-8
OS: Linux
Distribution: 2.6.22-14-generic
"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs