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/16, Javier San Roman <arupa10@caolin.net>:
User Information:
===================




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

10514197: ERROR: gramps.py: line 147: 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'
10599318: ERROR: gramps.py: line 147: 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.4.4 (#2, Aug 16 2007, 02:03:40) [GCC 4.1.3 20070812
(prerelease) (Debian 4.1.2-15)]
BSDDB version: 4.3.0.3
Gramps version: 2.2.9-1
LANG: es_ES
OS: Linux
Distribution: 2.6.22

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs