cdhorn / CardView

A Gramps browseable object view
GNU General Public License v2.0
24 stars 5 forks source link

"missing 1 required positional argument" error on last step of Add child to Family #237

Closed emyoulation closed 1 year ago

emyoulation commented 1 year ago

Committing 'Add a new child to the Family' causes error. (Same error when Adding an existing child to the Family.) Reproduced when adding Child to an existing family having other siblings. Also when adding to a new family with just a father.

Make the father of a family the active person. In the People, Relationships, Families CardView, right-click the family card and select the 'Add a new child to the Family' context menu option add a name and set the gender Click the “Ok” to commit the person The Child Reference Editor appears with the Relationships to parents confirmation Click the “Ok” to commit the child to the family

the following error appears:

11386291: ERROR: grampsapp.py: line 173: Unhandled exception Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/gramps/gui/editors/editchildref.py", line 216, in save self.callback(self.obj) TypeError: FamilyAction._adding_child..() missing 1 required positional argument: 'y'

emyoulation commented 1 year ago

Thank you!