You have inconsistent data. Some element in the family is referenced in the family but does in reality not exist (an event or a child, ...).

Your best chance is that GRAMPS can fix it itself. For that run the tools

1. rebuild reference tables
2. rebuild secondary indexes
3. check and repair tool

That should fix it. If not, do you have double Gramps ID's? The Reorder Id tool renumbers all ids and fixes that.
If still problems, delete the subitems of the family you want to remove one by one, and try to let us know what item the repair tool apparently does not fix automatically.

Note that version 3.0.4 is available for ubuntu from our website. Backup to .gramps file before upgrade!

Benny

2008/12/14 Morgan Onak <morgan.onak@gmail.com>
User Information:
===================




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

129975: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/Editors/_EditFamily.py", line 792, in save
   self.__do_save()
 File "/usr/share/gramps/Editors/_EditFamily.py", line 900, in __do_save
   self.db.transaction_commit(trans, _("Edit Family"))
 File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1417, in
transaction_commit
   self.reference_map.delete(str(key),txn=self.txn)
DBNotFoundError: (-30989, 'DB_NOTFOUND: No matching key/data pair found')
175301: 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/_GrampsBSDDB.py", line 1108, in close
   self.env.close()
DBRunRecoveryError: (-30975, 'DB_RUNRECOVERY: Fatal error, run database
recovery -- Error: closing the transaction region with active transactions')


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

Python version: 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3
(Ubuntu 4.2.3-2ubuntu7)]
BSDDB version: 4.4.5.3
Gramps version: 2.2.10-1
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.24-22-generic


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs