2014-09-05 78 views
0

從ckan的master分支執行源代碼安裝(e36d471e3daf84a68923f5f6490bbbc7305a9d1c)。每指令 安裝數據存儲(http://docs.ckan.org/en/latest/maintaining/datastore.htmlAssertionError:配置文件名'/usr/lib/ckan/default/src/ckan/development.ini'不存在

執行:

paster --plugin=ckan datastore 

結果錯誤:

AssertionError: Config filename '/usr/lib/ckan/default/src/ckan/development.ini' does not exist.

的development.ini文件是在/ etc/CKAN /默認/,/ usr/lib/ckan/default/src/ckan /爲什麼它查找錯誤的目錄?

我的最終目標是執行paster數據存儲區集權限,以便我可以正確設置postgres權限。

回答

0

你可以生成你的development.ini喜歡這裏描述: http://docs.pylonsproject.org/projects/pyramid/en/1.1-branch/narr/startup.html (見向下滾動頁面的中間。)

H個:-)

+0

我有一個development.ini。我使用了貼紙和make-config命令。我嘗試將該development.ini文件複製到paster set-permissions命令正在查找的目錄中,但仍存在錯誤。問題更深入。 – ahoffer 2014-09-05 21:52:52

+0

好奇。如果文件位於正確的位置,應該找到它。這值得一個錯誤報告! – 2014-09-05 22:07:31

+0

btw:AsErrorError似乎是一個單元測試消息! – 2014-09-05 22:08:08