[ckan-discuss] Celery related error
Adrià Mercader
adria.mercader at okfn.org
Mon Sep 2 11:08:30 BST 2013
Hi Pabitra,
The celery command is a bit picky regarding where to find the config
file. Make sure to either:
1. Run the command precisely from /usr/lib/ckan/default/src/ckan
(assuming your ini file is
/usr/lib/ckan/default/src/ckan/development.ini)
2. Set up an environment variable called CKAN_CONFIG that points to
your ini file (full path)
Hope this helps,
Adrià
On 29 August 2013 23:13, Pabitra Dash <pkdash_reena at hotmail.com> wrote:
> Hello everyone,
>
>
> When I am running the following command at root of my CKAN installation on a
> development machine:
>
>
>
> paster celeryd
>
>
>
> I am getting the following error.
>
>
>
> File "/usr/lib/ckan/default/src/ckan/ckan/lib/celery_app.py", line 29, in
> sqlalchemy_url = config.get('app:main', 'sqlalchemy.url') File
> "/usr/lib/python2.7/ConfigParser.py", line 607, in get raise
> NoSectionError(section) ConfigParser.NoSectionError: No section: 'app:main'
>
>
>
> I checked my development.ini file and it has a app:main section. Not sure
> how to resolve this error.
>
>
>
> Any help will be appreciated.
>
>
>
> Thanks
>
> Pabitra
>
>
>
>
> _______________________________________________
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-discuss
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-discuss
>
More information about the ckan-discuss
mailing list