Package: gramps Version: 2.2.8-1 Severity: important You can get the same child twice in a family with the "Adds an existing set of parents" button. This will result (depending on your behaviour) in erros or a even a freeze of GRAMPS. You can reproduce it as often as you want, the steps to get this with a new database are:
Add a new family in the family list with a father, mother and a child. Then
close the family window, choose the child as the active person and go to
the relationships. Press the "Share" button in the toolbar to add an existing
set of parents.
There is just one set of parents (those who are already parents of this child),
but you can still choose them. Add them and nothing seems to change.
But if you go back to the family list and edit the family you can see that the
child is listed twice which is just wrong. You can duplicate the child
in the family as often as you want with the "Share" button.
GRAMPS will behave very different depending what you are going to do now:
1: Close the program without changing anything else: The program will shutdown
properly.
2: Delete a child from the list:
If you delete a child from the list, both of them will be removed from the
list. Closing the "Edit Family" window with saving the changes
leads to following error:
"32007: ERROR: __init__.py: line 1072: 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 891, in __do_save
self.db.transaction_commit(trans, _("Edit Family"))
File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1410, in
transaction_commit
self.reference_map.delete(str(key),txn=self.txn)
DBNotFoundError: (-30989, 'DB_NOTFOUND: No matching key/data pair found')"
You can still work with the family after this error.
Closing gramps:
If you have done all this in the same session, GRAMPS just freezes when you try
to end it.
If you add the parents to the child, close GRAMPS, start it again and then
remove the child from the family a different error appears:
"111620: ERROR: __init__.py: line 1072: 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 1105, in close
self.env.close()
DBRunRecoveryError: (-30974, 'DB_RUNRECOVERY: Fatal error, run database
recovery -- PANIC: fatal region error detected; run recovery')"
GRAMPS seems to be closed properly but the python process is still running and
you have to kill it yourself.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (90, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-486
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gramps depends on:
ii gconf2 2.16.1-1 GNOME configuration database syste
ii librsvg2-common 2.16.1-2 SAX-based renderer library for SVG
ii python-central 0.5.13-0.1 register and build utility for Pyt
ii python-glade2 2.8.6-8 GTK+ bindings: Glade support
ii python-gnome2 2.12.4-6 Python bindings for the GNOME desk
ii scrollkeeper 0.3.14-13 A free electronic cataloging syste
ii yelp 2.14.3-2 Help browser for GNOME 2
Versions of packages gramps recommends:
pn graphviz <none> (no description available)
ii python-gnome2-desktop 2.14.0-3 Python bindings for the GNOME desk
pn python-gnome2-extras <none> (no description available)
pn python-reportlab <none> (no description available)
ii ttf-freefont 20060501cvs-10 Freefont Serif, Sans and Mono True
-- no debconf information
testcase.gpkg
Description: GNU Zip compressed data

