在Ubuntu 10.04上运行Trac 0.12 - 错误

时间:2010-06-16 17:52:11

标签: python trac ubuntu-10.04

我在我的ubuntu 10.04上安装了trac 0.12,运行了tracd内部网络服务器。当我在http://127.0.0.1/myTracProject访问该页面时,收到错误消息:

Traceback (most recent call last):   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/api.py", line 376, in send_error
    'text/html')   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/chrome.py", line 733, in render_template
    message = req.session.pop('chrome.%s.%d' % (type_, i))   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/api.py", line 195, in __getattr__
    value = self.callbacks[name](self)   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 265, in _get_session
    return Session(self.env, req)   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/session.py", line 157, in __init__
    self.get_session(sid)   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/session.py", line 178, in get_session
    super(Session, self).get_session(sid, authenticated)  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/session.py", line 59, in get_session
    (sid, int(authenticated)))   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/db/util.py", line 64, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)   File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/db/util.py", line 64, in execute
    return self.cursor.execute(sql_escape_percent(sql), args) InternalError: current transaction is aborted, commands ignored until end of transaction block

1 个答案:

答案 0 :(得分:0)

您安装了Trac 0.12?你的追溯显示“Trac-0.11.7-py2.6.egg”。看起来你需要做一些清理工作。