When I try to generate the repport, I have this message.
262479: ERROR: _reportdialog.py: line 801: Failed to run report.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gramps/gui/plug/report/_reportdialog.py", line 760, in report
my_report.write_report()
File "/home/pierre/.gramps/gramps52/plugins/DynamicWeb/dynamicweb.py", line 809, in write_report
self._build_obj_dict()
File "/home/pierre/.gramps/gramps52/plugins/DynamicWeb/dynamicweb.py", line 4108, in _build_obj_dict
self._add_person(handle)
File "/home/pierre/.gramps/gramps52/plugins/DynamicWeb/dynamicweb.py", line 4147, in _add_person
self._add_event(evt_ref.ref, Person, person_handle, evt_ref)
File "/home/pierre/.gramps/gramps52/plugins/DynamicWeb/dynamicweb.py", line 4320, in _add_event
self._add_place(place_handle, bkref_class, bkref_handle)
File "/home/pierre/.gramps/gramps52/plugins/DynamicWeb/dynamicweb.py", line 4356, in _add_place
if not self.database.has_place_handle(place_handle):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/proxybase.py", line 887, in has_place_handle
self.gfilter(self.include_place, self.db.get_place_from_handle(handle))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/private.py", line 128, in get_place_from_handle
return sanitize_place(self.db, place)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/private.py", line 1036, in sanitize_place
copy_citation_ref_list(db, place, new_place)
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/private.py", line 508, in copy_citation_ref_list
citation = db.get_citation_from_handle(citation_handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/db/generic.py", line 1359, in get_citation_from_handle
return self._get_from_handle(CITATION_KEY, Citation, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/db/generic.py", line 1341, in _get_from_handle
raise HandleError("Handle %s not found" % handle)
gramps.gen.errors.HandleError: Handle f7bb49a960d250ad6d0daf9384e not found
I think I have a problem with a python package but I can not identificate it … Can someone help me ?
yes, I had something similar in Narrated website…, tried to research the problem. It was related to private-filter as I remember. @geoglorus you can try disable all filters (export all data). Will it work?
50953: ERROR: _reportdialog.py: line 801: Failed to run report.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gramps/gui/plug/report/_reportdialog.py", line 760, in report
my_report.write_report()
File "/home/pierre/.gramps/gramps52/plugins/DynamicWebB/dynamicwebB.py", line 805, in write_report
self._build_obj_dict()
File "/home/pierre/.gramps/gramps52/plugins/DynamicWebB/dynamicwebB.py", line 4314, in _build_obj_dict
self._add_person(handle)
File "/home/pierre/.gramps/gramps52/plugins/DynamicWebB/dynamicwebB.py", line 4344, in _add_person
self._add_event(evt_ref.ref, Person, person_handle, evt_ref)
File "/home/pierre/.gramps/gramps52/plugins/DynamicWebB/dynamicwebB.py", line 4503, in _add_event
self._add_place(place_handle, bkref_class, bkref_handle)
File "/home/pierre/.gramps/gramps52/plugins/DynamicWebB/dynamicwebB.py", line 4534, in _add_place
if not self.database.has_place_handle(place_handle):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/proxybase.py", line 887, in has_place_handle
self.gfilter(self.include_place, self.db.get_place_from_handle(handle))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/private.py", line 128, in get_place_from_handle
return sanitize_place(self.db, place)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/private.py", line 1036, in sanitize_place
copy_citation_ref_list(db, place, new_place)
File "/usr/lib/python3/dist-packages/gramps/gen/proxy/private.py", line 508, in copy_citation_ref_list
citation = db.get_citation_from_handle(citation_handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/db/generic.py", line 1359, in get_citation_from_handle
return self._get_from_handle(CITATION_KEY, Citation, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gramps/gen/db/generic.py", line 1341, in _get_from_handle
raise HandleError("Handle %s not found" % handle)
gramps.gen.errors.HandleError: Handle f7bb49a960d250ad6d0daf9384e not found
But I think it’s a problem with Python because I used DWR without any problem a few days ago and the problem appeared after I installed the python3-pip package for another gramplet (I’ve since uninstalled the other gramplet and the python3-pip but the problem is still there).
I have just run some tests on both the standard Dynamic Web and my under-construction Dynamic Web B. I ran the Gramps example database with and without the privacy filter turned on.
All reports ran to completion and I could open the reports in my browser and look at Big Louie and his family. As expected, people whose entries were marked private were not in the report if the private records filter was on.
What kind of error do you have?
I have never used this report because it creates too large files for my database.
I just tested it and I have no problem with it but I have python 3.10.12
The HandleError is raised when an object that is expected to be in the database cannot be found. This can be the result of a broken link.
I notice that you are running the report with the private proxy. As a test, it would be interesting to see if you get the same error with no proxy selected.