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

Florian.Brucker at it.karlsruhe.de Florian.Brucker at it.karlsruhe.de
Fri Feb 17 12:47:14 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20170217/b49c0361/attachment-0002.html>


More information about the ckan-dev mailing list