[ckan-dev] PluginNotFoundException even though it works.

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


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

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


More information about the ckan-dev mailing list