[ckan-dev] AttributeError: 'NoneType' object has no attribute 'update'

Adrià Mercader adria.mercader at okfn.org
Fri Feb 17 14:38:33 UTC 2017


Looks like a new interface in celery.

Perhaps you installed Celery 4.x and this code expects 3.x?


Adrià

On 17 February 2017 at 12:47,  <Florian.Brucker at it.karlsruhe.de> wrote:
> Hi everybody!
>
> On a newly installed instance (CKAN 2.6) I get the following error when I'm
> trying to initialize the database:
>
>
> $ /usr/lib/ckan/default/bin/paster --plugin=ckan db init -c
> /etc/ckan/default/production.ini
> Traceback (most recent call last):
>   File "/usr/lib/ckan/default/bin/paster", line 11, in <module>
>     sys.exit(run())
>   File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> line 102, in run
>     invoke(command, command_name, options, args[1:])
>   File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> line 141, in invoke
>     exit_code = runner.run(args)
>   File
> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
> line 236, in run
>     result = self.command()
>   File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 223, in
> command
>     model.repo.init_db()
>   File "/usr/lib/ckan/default/src/ckan/ckan/model/__init__.py", line 192, in
> init_db
>     import ckan.lib.celery_app as celery_app
>   File "/usr/lib/ckan/default/src/ckan/ckan/lib/celery_app.py", line 65, in
> <module>
>     celery.loader.conf.update(default_config)
> AttributeError: 'NoneType' object has no attribute 'update'
>
>
> Has anybody run into this before?
>
>
> Regards,
> Florian
>
> _______________________________________________
> 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
>



More information about the ckan-dev mailing list