ckan / ckanext-qa

CKAN QA Extension
MIT License
26 stars 52 forks source link

PluginNotFoundException raised for other activated plugins when running a QA celery task #29

Open gpjoan opened 8 years ago

gpjoan commented 8 years ago

When I add a dataset, in order to get the qa stars I have to deactivate this plugins of the production.ini: "pdf_view geo_view geojson_view officedocs_view federgob". Then I execute the instruction: "paster --plugin=ckanext-qa qa update --config=/etc/ckan/default/production.ini", and then activate the plugins again.

If I don't have this, appears an error and I can't see the datasets. What's the problem? Is there any solution?

Thanks.

davidread commented 8 years ago

What's the full error message? What do you mean "I can't see the datasets"?

gpjoan commented 8 years ago

I can't see the new dataset. For example, I tried to add a new dataset named "decimo". The previous datasets are ok, but when I try to enter in the new dataset I see this image: server error

and I see this error in celery: error

davidread commented 8 years ago

Have you started celery with the virtualenv activated?

gpjoan commented 8 years ago

Yes, and the same celery window is working OK when I deactivate the plugins in production.ini

davidread commented 8 years ago

I can't think why that would be the case then.

KrzysztofMadejski commented 7 years ago

Celery has a problem of fully loading environment (see my comment https://github.com/ckan/ckan/issues/3491). There is a need to manually setup routes config and i18n. Maybe some workaronund for plugins is needed as well..