[ckan-dev] AttributeError: 'NoneType' object has no attribute 'update'
Florian.Brucker at it.karlsruhe.de
Florian.Brucker at it.karlsruhe.de
Fri Feb 17 16:01:37 UTC 2017
> Looks like a new interface in celery.
>
> Perhaps you installed Celery 4.x and this code expects 3.x?
Yes, figured it out shortly after posting (as usual :)
I think this should be fixed, so I've opened an issue:
https://github.com/ckan/ckan/issues/3443
Regards,
Florian
"ckan-dev" <ckan-dev-bounces at lists.okfn.org> schrieb am 17.02.2017
15:38:33:
> Von: Adrià Mercader <adria.mercader at okfn.org>
> An: CKAN Development Discussions <ckan-dev at lists.okfn.org>,
> Datum: 17.02.2017 15:38
> Betreff: Re: [ckan-dev] AttributeError: 'NoneType' object has no
> attribute 'update'
> Gesendet von: "ckan-dev" <ckan-dev-bounces at lists.okfn.org>
>
> 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
> >
> _______________________________________________
> 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/20170217/f72d77cb/attachment-0003.html>
More information about the ckan-dev
mailing list