CardView icon indicating copy to clipboard operation
CardView copied to clipboard

Exception when trying to add existing person as participant to an event

Open foophoof opened this issue 6 months ago • 2 comments

If I right click a Birth event and select the option to add an existing person as a participant, I get this error when I click "OK" in the window. EventAction._added_participant seems to be in this repo, so I'm reporting it here instead of in the Gramp Bug Tracker.

I'm currently using commit c206eb7d0a8ad6100263e41848dccebc6bfa7c4a.

Error Details:

20707650: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-6.0.1\gramps\gui\editors\editeventref.py", line 334, in ok_clicked
    self.update(self.source_ref, self.source)
TypeError: EventAction._added_participant() takes 2 positional arguments but 3 were given

System Information:

Gramps version: AIO64-6.0.1--1 Python version: 3.12.10 BSDDB version: 6.2.9 (6, 0, 30) sqlite version: 3.47.2 orjson version: 3.10.16 LANG: en_GB.UTF-8 OS: Windows

GTK version : 3.24.49 gobject version: 3.52.3 cairo version : (1, 28, 0)

foophoof avatar Jun 07 '25 09:06 foophoof

so I'm reporting it here instead of in the Gramp Bug Tracker.

Yes this is the correct place for this experimental unreleased addon.

Might be a while as the developer mentions

Really need to make some time to pivot back to this. Maybe this coming winter, don't see it happening in next few months for sure.

giotodibondone avatar Jun 07 '25 09:06 giotodibondone

How do I recreate this, failed so far?

Can you screenshot using example.gramps please?

giotodibondone avatar Jun 07 '25 09:06 giotodibondone