[ckan-dev] [ckan-discuss] Unable to create plug-in template

Stefan Urbanek stefan.urbanek at gmail.com
Wed Dec 8 21:44:52 UTC 2010


On 8.12.2010, at 14:30, William Waites wrote:

> * [2010-12-08 13:25:59 +0000] Rufus Pollock <rufus.pollock at okfn.org> écrit:
> 
> ] On 8 December 2010 11:46, Stefan Urbanek <stefan.urbanek at gmail.com> wrote:
> ] > i'm sorry, i am still not able to create a plugin:
> ] > $ paster create -t ckanext ckanext-mirror
> ] > ...
> ] > LookupError: Template by name 'ckanext' not found
> 
> A couple of thoughts...
> 
> Maybe it is a working directory problem? Some paster commands will
> want to be run from the ckan or ckanext directory or else be passed a
> --plugin=ckan or --plugin=ckanext argument (before create, serve
> etc). Also have you run "python setup.py install/develop" in the
> relevant base package directory so that paster can find the
> entrypoints? 
> 

yes, i did python setup.py install, develop and install_libs  (install and develop was not sufficient somehow)

	--plugin=ckan

was the trick that helped.

thank you


Stefan Urbanek
freelance consultant, analyst

knowerce
http://www.knowerce.sk




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


More information about the ckan-dev mailing list