I think you started the exporter from an opened xml database, correct?

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.

Let me please know if my guess is correct or if something else is going on here.

Benny

2007/12/29, Michael Lightfoot < michael.lightfoot@canb.auug.org.au>:
User Information:
===================

My grdb was gesundered after updating to 2.2.9-1 from 2.2.8.

I loaded the latestXML file and decided to immediately export it to a portable
package before risking my data any further.

The error occurred at export.



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

253636: ERROR: gramps.py: line 147: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/Exporter.py", line 128, in on_before_page_next
    success = self.save()
  File "/usr/share/gramps/Exporter.py", line 205, in save
    self.callback)
  File "/usr/share/gramps/plugins/WritePkg.py", line 71, in writeData
    ret = writer.export ()
  File "/usr/share/gramps/plugins/WritePkg.py", line 188, in export
    gfile.write_handle(g)
  File "/usr/share/gramps/GrampsDb/_WriteXML.py", line 197, in write_handle
    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: en_AU.UTF-8
OS: Linux
Distribution: 2.6.22-2-amd64

--
====
Michael Lightfoot
Canberra, Australia
michael.lightfoot@canb.auug.org.au
====

-------------------------------------------------------------------------
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