1
我已經安裝了一個CKAN實例,並且已經安裝了ckanext-showcase模塊。 儘管安裝沒有引發任何錯誤,但當我設置爲展示管理員的一些用戶開始添加展示模塊時,我能夠添加一些展示模塊已停止工作。CKAN中的站點包錯誤連接到ckanext-showcase
The page {portal.url/showcase} can't be viewed unless I am connected as system administrator. When a user or even a showcase user tries to enter the page get's an internal server error.
From that point on when I am trying to create a new system administrator from console with the paster command (http://docs.ckan.org/en/latest/maintaining/getting-started.html#create-admin-user) I get the bellow message
Traceback (most recent call last):
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 703, in
main()
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 683, in main
paths_in_sys = addsitepackages(paths_in_sys)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 282, in addsitepackages
addsitedir(sitedir, known_paths)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 204, in addsitedir
addpackage(sitedir, name, known_paths)
File "/usr/lib/ckan/default/lib/python2.7/site.py", line 173, in addpackage
exec(line)
File "", line 1, in
KeyError: 'ckanext'
因爲我現在沒有能力再次安裝CKAN,有沒有關於如何解決這個問題的建議?
任何幫助,將不勝感激
查看我的服務器錯誤日誌後,我發現錯誤不是由插件ckanext-showcase引起的,而是由模塊ckanext-datarequests引起的。我的問題的第一部分連接到一個服務器錯誤來到401未授權的異常沒有在插件的1.0.2版本處理。只要我升級到最新版本1.0.3,錯誤就被修復了。 –