Closed valentin0h closed 8 years ago
I wonder if this is because get_action calls get_functions() which is being too clever, somehow returning the function twice - if that's the case we could just list all the actions functions explicitly instead of calling get_functions.
However I suggest you poke about in /src/ckan/ckan/logic/__init__.py
and find out why qa_dataset_openness_show is coming twice.
I was playing with a bespoke version of CKAN and plugin. It does not happen with vanillas. Thanks.
@valeviolin I also encountered this error today and have fixed it by getting rid of the get_functions() thing. So do update ckanext-qa (and ideally ckanext-archiver) if you have any more trouble with this issue.
When I add single dataset into the queue and then run celeryd the work is completed fine.
However, when I add all datasets and then run
paster --plugin=ckanext-archiver celeryd run --queue=bulk --config=ckan.ini
the process throws exceptions after the first batch of 8 works is completed.
The exception:
Any clues?