2016-11-04 3 views
0

Я столкнулся с проблемой, связанной с Trac с Docker, используя этот файл Docker: https://github.com/walty8/docker-trac-dev.Ошибка установки с проектом Trac

ошибка, что я вижу это:

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. Добавление следующей строки в файл Docker должно устранить эту проблему.

RUN pip install tracdeveloper 
Смежные вопросы