#4975 closed defect (worksforme)
cannot import name TracError
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Hi,
We upgraded Ubuntu from Breezy to Dapper (6.10) and now trac is broken. I can't find anything on how to fix this for the life of me. Here is what we get:
Oops…
Trac detected an internal error: cannot import name TracError Traceback (most recent call last): File "/usr/share/trac/cgi-bin/trac.cgi", line 19, in ? from trac.web import cgi_frontend File "/usr/lib/python2.4/site-packages/trac/web/__init__.py", line 1, in ? from trac.web.api import * File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 22, in ? from trac.core import Interface File "/usr/lib/python2.4/site-packages/trac/core.py", line 19, in ? from trac.util import TracError File "/usr/lib/python2.4/site-packages/trac/util/__init__.py", line 30, in ? from trac.core import TracError ImportError: cannot import name TracError
Any help is appreciated, thanks.
Attachments (0)
Change History (3)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
This is an installation issue, please ask for support on the MailingList.
Try uninstalling Trac with the Ubuntu package manager, verify that all Trac files have been removed on your server, and install a fresh Trac copy with the package manager.
comment:3 by , 18 years ago
You seem to have code from a mix of Trac versions installed. This is probably the result of installing both the Trac Ubuntu package and another version from source over top of each other. Uninstall the "trac" package, remove the trac folders from /usr/lib/python2.4/site-packages and /usr/share and then reinstall Trac fresh. As eblot mentioned support and installation issues are typically handled on the MailingList, so please send further questions about this issue there.
Forgot… we are using Python 2.4.3