Hi,
after I upgraded mayan from 4.1.3 to 4.2.1, search does not work anymore (whoosh backend).
When refresh of the search index is initiated, the errors listed in the attached log file are issued.
django search backend still works.
Error message starts with:
ERROR/ForkPoolWorker-3] Task mayan.apps.dynamic_search.tasks.task_index_search_model[28d0d40c-b04a-4177-b9dc-b65ac026b055] raised unexpected: DynamicSearchException("
Unexpected error calling `index_search_model` with keyword arguments {'range_string': '51-74', 'search_model': <SearchModel: Cabinet>}.")
How to solve this?
woec
Addendum: replacing the contents of .../apps/dynamic_search/ by the files from 4.1 tree of gitlab, searching by use of whoosh works again!
So, I suspect there is something wrong with the code of version 4.2 ...
Installation environment: debian testing, direct installation
after upgrade from 4.1.3 to 4.2.1 whoosh backend error
Re: after upgrade from 4.1.3 to 4.2.1 whoosh backend error
Hi @woec,
thank you so much for your addendum, that solved the problem for me, too!
You saved my day!
thank you so much for your addendum, that solved the problem for me, too!
You saved my day!
Re: after upgrade from 4.1.3 to 4.2.1 whoosh backend error
I’m facing the same issue on docker
In 4.2.8 whoosh does not complete the reindex.
In the addendum could you explain exactly what you did?
Thanks
Dario
In 4.2.8 whoosh does not complete the reindex.
In the addendum could you explain exactly what you did?
Thanks
Dario