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

Error After Installing CKAN Private Datasets Plugin #62

Open
Mohammedhusen opened this issue Jul 25, 2021 · 3 comments
Open

Error After Installing CKAN Private Datasets Plugin #62

Mohammedhusen opened this issue Jul 25, 2021 · 3 comments

Comments

@Mohammedhusen
Copy link

Hi Team,

I have install CKAN Private Datasets plugin by following link below and got this error.

https://extensions.ckan.org/extension/privatedatasets/

Version : 2.9.3
Error :

rr.log
load_environment(conf)
File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 123, in load_environment
p.load_all()
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 165, in load_all
load(*plugins)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 179, in load
service = _get_service(plugin)
File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 282, in _get_service
raise PluginNotFoundException(plugin_name)
ckan.plugins.core.PluginNotFoundException: privatedatasets

@aitormagan
Copy link
Contributor

This error arises when CKAN cannot find the package in the installed dependencies. Have you installed the extension in the CKAN virtual environment? Attach the output generated by the pip list command.

@Mohammedhusen
Copy link
Author

Dear @aarranz,

Thanks for your quick response on this.

Yes, I have installed the CKAN package on virtual env.

Here is the output of pip list command.

DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
APScheduler (2.1.2)
asn1crypto (0.24.0)
certifi (2021.5.30)
chardet (4.0.0)
ckanext-dictionary (0.0.1, /usr/lib/ckan/default/src/ckan/ckanext-dictionary)
ckanext-privatedatasets (0.4.1)
ckanext-restricted (0.0.2)

ckanserviceprovider (0.0.10)
click (7.1.2)
cryptography (2.1.4)
datapusher (0.0.17, /usr/lib/ckan/default/src/ckan/datapusher)
dnspython (1.15.0)
enum34 (1.1.6)
Flask (1.1.4)
Flask-Login (0.5.0)
FormEncode (1.3.0)
html5lib (1.0.1)
httpretty (0.9.4)
idna (2.6)
ipaddress (1.0.17)
itsdangerous (1.1.0)
Jinja2 (2.11.3)
json-table-schema (0.2.1)
keyring (10.6.0)
keyrings.alt (3.0)
lxml (4.6.3)
MarkupSafe (1.1.1)
meld3 (1.0.2)
messytables (0.15.2)
nose (1.3.7)
Paste (2.0.3)
PasteDeploy (1.5.2)
PasteScript (2.0.2)
pip (9.0.1)
pycrypto (2.6.1)
pygobject (3.26.1)
pyOpenSSL (20.0.1)
python-dateutil (2.8.2)
python-magic (0.4.24)
python-openid (2.2.5)
pyxdg (0.25)
requests (2.24.0)
scgi (1.13)
SecretStorage (2.3.1)
setuptools (39.0.1)
six (1.11.0)
SQLAlchemy (1.3.24)
supervisor (3.3.1)
Tempita (0.5.2)
urllib3 (1.25.11)
webencodings (0.5.1)
Werkzeug (0.16.1)
wheel (0.30.0)
xlrd (2.0.1)

@aitormagan
Copy link
Contributor

You are right. I disregard the CKAN version you are using. I believe the extension is no compatible with CKAN 2.9 as some changes are required.

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

2 participants