Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gpjoan opened this issue Jan 18, 2016 · 6 comments

Comments

@gpjoan
Copy link

gpjoan commented Jan 18, 2016

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
Copy link
Contributor

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

@gpjoan
Copy link
Author

gpjoan commented Jan 18, 2016

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

@gpjoan gpjoan changed the title Problems whith plugins "pdf_view geo_view geojson_view officedocs_view federgob" Problems with plugins "pdf_view geo_view geojson_view officedocs_view federgob Jan 18, 2016
@davidread
Copy link
Contributor

Have you started celery with the virtualenv activated?

@davidread davidread changed the title Problems with plugins "pdf_view geo_view geojson_view officedocs_view federgob PluginNotFoundException raised for other activated plugins when running a QA celery task Jan 18, 2016
@gpjoan
Copy link
Author

gpjoan commented Jan 18, 2016

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

@davidread
Copy link
Contributor

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

@KrzysztofMadejski
Copy link
Contributor

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

HristijanVilos pushed a commit to keitaroinc/ckanext-qa that referenced this issue Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants