[ckan-dev] Problem with new extension installation

Ross Jones ross at servercode.co.uk
Fri Dec 21 11:20:11 UTC 2012


Not sure if it affects the installation but you shouldn't need to sudo the python setup.py develop.
How is gr_customizations defined in your setup.py? Perhaps post it to pastebin?

Ross


On 21 Dec 2012, at 11:03, Thodoris Papadopoulos wrote:

> Hello,
> 
> We face a problem with a CKAN extension we are developing for data.gov.gr.
> The purpose of the extension is mainly to customize the UI , and its based on examples we have found on github. 
> For the moment we develop the extension locally (not yet on github). 
> 
> We copied all the extension directory  structure under ~/pyenv/src/ckanext-gr
> and then we installed the extension using :
> 
> (pyenv)$ cd ~/pyenv/src/ckanext-gr
> (pyenv)$ sudo python setup.py develop
> (pyenv)$ python
> Python 2.6.6 (r266:84292, Oct  6 2010, 16:19:55)
> [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import ckanext.gr
> All the above run , without problem.
> FInally , we added the extension  into the plugins section of development.ini. 
> ckan.plugins = stats gr_customizations 
> 
> The problem is that when we start CKAN we get the following error: 
> 
> File "/home/ckan/pyenv/src/ckan/ckan/plugins/core.py", line 166, in find_user_plugins
>     raise PluginNotFoundException(name)
> ckan.plugins.core.PluginNotFoundException: gr_customizations
> 
> 
> Any ideas ?  
> 
> Thank you
> Thodoris Papadopoulos
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20121221/3bb3cacb/attachment-0001.html>


More information about the ckan-dev mailing list