[ckan-dev] PluginNotFoundException even though it works.

Ross Jones ross at servercode.co.uk
Thu Jun 19 10:25:51 UTC 2014


The other thing to check is the entry_points section in your extensions setup.py and that the name you gave under ckan.plugins matches the value you put on the ckan.plugins line of your .ini file.

Ross.


On 19 Jun 2014, at 11:23, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:

> That makes perfectly sense, however, it did not say that in the doc’s.
>  
> Just did it, and now CKAN fails with an internal server error… Guess that has to do something with the extension, funny it worked before setup.py install.
>  
> Fra: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Ross Jones
> Sendt: 19. juni 2014 12:00
> Til: CKAN Development Discussions
> Emne: Re: [ckan-dev] PluginNotFoundException even though it works.
>  
> Sorry misunderstood, didn’t realise ckan now had a ‘color’ paster command.
>  
> If CKAN can’t find your plugin and this is causing it to fail when loading the config, did you run 'python setup.py install’ from inside your virtualenv in ckanext-mytest directory.
>  
> Ross
>  
>  
> On 19 Jun 2014, at 10:57, Ross Jones <ross at servercode.co.uk> wrote:
> 
> 
> Not —plugin=ckanext-mytest?
>  
> The color command is in your extension, not ckan, you need to tell paster where to find the command unless you are in the ckanext-mytest directory.
>  
> Ross
>  
>  
> On 19 Jun 2014, at 10:52, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
> 
> 
> Hello,
>  
> That I have done. I’m using –plugin=ckan –config=/etc/ckan/default/production.ini
>  
> Fra: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Stefan Oderbolz
> Sendt: 19. juni 2014 11:49
> Til: CKAN Development Discussions
> Emne: Re: [ckan-dev] PluginNotFoundException even though it works.
>  
> Make sure to specify the correct config file (production.ini in your case) to the paster command, e.g.
>  
> paster color -c /path/to/production.ini
>  
> - Stefan
>  
> 
> On Wed, Jun 18, 2014 at 1:23 PM, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
> I’ve created a very simple extension, which changes the CKAN theme a bit.
>  
> Everything works perfectly, but when running a paster color command, the paster command fails with:
> PluginNotFoundException: ckanext-mytest
>  
> I’ve read the docs and checked my production.ini etc.
> I wonder how it fails, as the extension does work in CKAN and my theme changes are showing correctly.
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
> 
> 
> 
>  
> --
> Liip AG  // Limmatstrasse 183 //  CH-8005 Zürich
> Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>  
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>  
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140619/c59fa89d/attachment-0003.html>


More information about the ckan-dev mailing list