-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Using Web API 3.2.0
2025-08-28 14:26:57,689: ERROR/ForkPoolWorker-1] Task gramps_webapi.api.tasks.search_reindex_full[f04426a6-1a72-4731-b392-be36ddaadd4b] raised unexpected: UnpickleableExceptionWrapper('gramps.gen.errors', 'HandleError', (), 'HandleError()')
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/celery/app/trace.py", line 453, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/util/celery.py", line 20, in __call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/tasks.py", line 186, in search_reindex_full
return _search_reindex_full(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/tasks.py", line 148, in _search_reindex_full
indexer.reindex_full(db, progress_cb=progress_cb)
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/search/indexer.py", line 147, in reindex_full
for i, obj_dict in enumerate(
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/search/text.py", line 198, in iter_obj_strings
obj_strings = obj_strings_from_object(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/search/text.py", line 175, in obj_strings_from_object
obj_string_public, obj_string_all = object_to_strings(obj, db_handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/search/text.py", line 77, in object_to_strings
participants = get_event_participants_for_handle(db_handle, obj.handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/resources/util.py", line 182, in get_event_participants_for_handle
family = db_handle.get_family_from_handle(backref_handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps/gen/db/generic.py", line 1467, in get_family_from_handle
return self._get_from_handle(FAMILY_KEY, Family, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps/gen/db/generic.py", line 1461, in _get_from_handle
raise HandleError(f"Handle {handle} not found")
[2025-08-28 14:31:16,858: ERROR/ForkPoolWorker-1] Task gramps_webapi.api.tasks.delete_objects[91f11612-81c7-4a77-8bda-44095941b819] raised unexpected: UnpickleableExceptionWrapper('gramps.gen.errors', 'HandleError', (), 'HandleError()')
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/celery/app/trace.py", line 453, in trace_task
R = retval = fun(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/util/celery.py", line 20, in __call__
return self.run(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/tasks.py", line 443, in delete_objects
delete_all_objects(
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/resources/delete.py", line 468, in delete_all_objects
del_method(db_handle=db_handle, handle=handle, trans=trans)
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/resources/delete.py", line 411, in delete_tag
obj = fnc[classname][0](_handle) # get from handle
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps/gen/db/generic.py", line 1467, in get_family_from_handle
return self._get_from_handle(FAMILY_KEY, Family, handle)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps/gen/db/generic.py", line 1461, in _get_from_handle
raise HandleError(f"Handle {handle} not found")
celery.utils.serialization.UnpickleableExceptionWrapper: HandleError()
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
High Priority