Greg,

gramps 2.2.9 has a bug that does not allow direct read and edit of xml files. You need to import in a grdb file, do your edits, and at the end export again.

Please use 2.2.8 for now if direct xml editing is needed.

Benny

2007/11/5, Brian Matherly <pez4brian@yahoo.com>:
Greg,

Please try running the "Check and Repair Database"
tool. Let us know how it goes.

~Brian

--- Greg Thomas <gkt2005@bigpond.net.au> wrote:

> User Information:
>
> ===================
>
>
>
> Closing down gramps from pedigree window
>
>
>
>
>
> Error Details:
>
> ===================
>
>
>
> 512000: ERROR: gramps.py: line 148: Unhandled
> exception
>
> Traceback (most recent call last):
>
>   File "C:\Program Files\gramps\ViewManager.py",
> line 492, in quit
>
>     self.state.db.close()
>
>   File "C:\Program
> Files\gramps\GrampsDb\_GrampsXMLDB.py", line 76, in
> close
>
>     quick_write(self, self.full_name)
>
>   File "C:\Program
> Files\gramps\GrampsDb\_WriteXML.py", line 111, in
> quick_write
>
>     g.write(filename)
>
>   File "C:\Program
> Files\gramps\GrampsDb\_WriteXML.py", line 178, in
> write
>
>     self.write_xml_data()
>
>   File "C:\Program
> Files\gramps\GrampsDb\_WriteXML.py", line 278, in
> write_xml_data
>
>     self.write_family(family,2)
>
>   File "C:\Program
> Files\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, Apr 18 2007,
> 08:51:08) [MSC v.1310 32 bit
> (Intel)]
>
> BSDDB version: 4.4.5.2
>
> Gramps version: 2.2.9-1
>
> LANG:
>
> OS: win32
>
> Distribution:
>
> >
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?
> Stop.
> Now Search log events and configuration files using
> AJAX and a browser.
> Download your FREE copy of Splunk now >>
http://get.splunk.com/>
_______________________________________________
> Gramps-bugs mailing list
> Gramps-bugs@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/gramps-bugs
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs