0
我已經在Ubuntu 14.04.1使用以下命令安裝Trac系統:TRAC管理員thows Tracback錯誤
$ sudo apt-get install trac trac-accountmanager trac-graphviz trac-icalviewplugin trac-
mastertickets trac-wysiwyg trac-wikitablemacro trac-tags trac-customfieldadmin trac-
datefieldplugin
我相信這已安裝的Trac 1.0.1-2,但是當我運行一個簡單的命令如:
$ sudo trac-admin --version
我得到以下跟蹤:
Traceback (most recent call last):
File "/usr/bin/trac-admin", line 9, in <module>
load_entry_point('Trac==1.0.1', 'console_scripts', 'trac-admin')()
File "/usr/lib/python2.7/dist-packages/trac/admin/console.py", line 567, in run
translation.activate(locale)
File "/usr/lib/python2.7/dist-packages/trac/util/translation.py", line 325, in activate
translations.activate(locale, env_path)
File "/usr/lib/python2.7/dist-packages/trac/util/translation.py", line 152, in activate
t.add(Translations.load(locale_dir, locale or 'en_US',
AttributeError: 'NullTranslations' object has no attribute 'add'
我不熟悉Python,任何想法,爲什麼這是occurr ing將不勝感激。
使用easy_install升級到Trac 1.0.2有竅門。非常感謝@RjOllos – 2014-12-13 11:05:59