pythonexceptionpylonsckanopendata

ckan.plugins.core.PluginNotFoundException: pages


I'm using CKAN as my open data portal. It's written in Python using Pylons framework. I just want to add a new page similar to about page to display the terms and conditions to the users. About page comes built in.

So I installed ckanext-pages using pip command. What I did was below

1. # Activate your CKAN virtual environment
. /usr/lib/ckan/default/bin/activate

2. # Install the pages extension.
pip install -e 'git+https://github.com/ckan/ckanext-pages.git#egg=ckanext-pages'

But now I end up with below error which is given when a requested plugin cannot be found.

ckan.plugins.core.PluginNotFoundException: pages

Plugin resides on below path

/usr/lib/ckan/default/src

Please let me know how to fix this?


Solution

  • With your virtualenv activated, run python setup.py develop in the ckanext-pages folder. This will register the plugin so CKAN can find it.