ERROR: _reportdialog.py: line 801: Failed to run report

can you reproduce this with a small part of your database ?
In this case, you could send me a .gramps of this part.

I tried create filter to receave a small data around the crashed person including her descendants, ancastors, spouces and siblings. But it does not repro. But I can debug it on my PC. I can check your ideas myself if you want

@SNoiraud currently I have no idea how is it possible, but it really fixes all the above issues :thinking:

I can push PR if you like this solution

@SNoiraud a bit more details. All the fails are received from here:

            ############### Associations section ##############
            for assoc in person.get_person_ref_list():
                self._add_person(assoc.ref, "", "")

So, all them should have associations. And also failed people have birth with no date and noth have death event. Hope it helps you to catch the issue

I donā€™t like your patch.

Is your database big ? You could send it to me ar attach it to the bug report or by email.

13000 people. Sorry, I can not share, some data is private but not marked as private yet.This is not ready for public exports yet.

You can send it to me in private. ( serge dot noiraud at free dot fr )

Sure, I will send, but I need make review of privacy of all my data. I didnt do this yet and some data could be sensitive to be shared.

@SNoiraud I also found that the thumbnails page is not loaded because it contains 4k thumbnails. Is it possible make any pagination for this page?

This problem occurs because you selected in the report options tab:
Living people: Not included

If you have relationships or associations with these people, youā€™ll get this problem. Choose another option than not included.

1 Like

In my strong opinion, if such a function is available to the user and they encounter an error while using it, the problem lies not in the userā€™s actions but in the application itself. Isnā€™t that so?

I canā€™t even imagine what kind of associations are causing this error. Do you really think this is something the user should fix? Even if I find such associations where I have private individualsā€”does that constitute an error from the userā€™s perspective? I want to have these associations but do not want to export private individuals. This seems logical, doesnā€™t it?

I agree with you.

Now that Iā€™m sure of the origin of this error, I have looked at your patch.
I think thatā€™s okay. I need to do more tests.
Once Iā€™m sure itā€™s functional, either you create the PR or Iā€™ll do it for you.

2 Likes

This seems to be the final solution. I can do the PR if you agree.

1 Like

Sure, you can make PR. Thank you a lot!