Skip to content

Instantly share code, notes, and snippets.

@codingant007
Created February 4, 2017 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingant007/2776368deb0c3e25ca130de863e7aa47 to your computer and use it in GitHub Desktop.
Save codingant007/2776368deb0c3e25ca130de863e7aa47 to your computer and use it in GitHub Desktop.
ant@ant ~/D/m/l/listenbrainz-server>
docker exec -it docker_web_1 python manage.py init_msb_db --create-db
Traceback (most recent call last):
File "manage.py", line 163, in <module>
cli()
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 664, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 644, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
return callback(*args, **kwargs)
File "manage.py", line 125, in init_msb_db
db.init_db_connection(config.POSTGRES_ADMIN_URI)
AttributeError: 'module' object has no attribute 'POSTGRES_ADMIN_URI'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment