2016-11-04 6 views
0

このDockerファイルを使用してDockerでTracを実行すると問題が発生しました:https://github.com/walty8/docker-trac-devTracプロジェクトでのインストールの問題

私は見ていますエラーは次のとおりです。

Traceback (most recent call last): 
    File "/root/trac-trunk/trac/web/api.py", line 708, in send_error 
    data, 'text/html') 
    File "/root/trac-trunk/trac/web/chrome.py", line 1095, in render_template 
    if self.stream_filters: 
    File "/root/trac-trunk/trac/core.py", line 82, in extensions 
    components = [component.compmgr[cls] for cls in classes] 
    File "/root/trac-trunk/trac/core.py", line 212, in __getitem__ 
    component = cls(self) 
    File "/root/trac-trunk/trac/core.py", line 144, in __call__ 
    self.__init__() 
    File "build/bdist.linux-x86_64/egg/tracdeveloper/log.py", line 30, in __init__ 
    self.log_handler.setFormatter(self.log._trac_handler.formatter) 
AttributeError: 'Logger' object has no attribute '_trac_handler' 

私はUbuntuで16.04.01でこれを実行しています。以前のバージョンのtracをインストールしてみましたが、役に立たなかったのです。

答えて

0

解決策が見つかりました..

Dockerfileには重要なパッケージがありません。 TracDeveloper。 Dockerfileに次の行を追加すると、この問題が解決されます。

RUN pip install tracdeveloper