尝试初始化法拉第时,甚至尝试创建帐户时。我得到
“ AttributeError:'模块'对象没有属性'数据库'”。
回溯将附在下面。
Traceback (most recent call last):
File "manage.py", line 172, in <module>
cli()
File "/usr/lib/python2.7/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "manage.py", line 75, in initdb
InitDB().run()
File "/usr/share/python-faraday/faraday-dev/server/commands/initdb.py", line 82, in run
username, password, process_status = self._configure_new_postgres_user(current_psql_output)
File "/usr/share/python-faraday/faraday-dev/server/commands/initdb.py", line 181, in _configure_new_postgres_user
password = server.config.database.connection_string.split(':') [2].split('@')[0]
AttributeError: 'module' object has no attribute 'database'