Modify ↓
Opened 19 years ago
Closed 19 years ago
#1860 closed defect (invalid)
ImportError: cannot import name ISearchSource
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | blocker | Keywords: | |
Cc: | m@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
This happens whith trac-admin upgrade and display trac in the browser.
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 196, in handler env = get_environment(mpr, project_opts) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 600, in get_environment return _open_environment(env_path, threaded) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 54, in _open_environment env_cache[env_path] = open_environment(env_path) File "/usr/lib/python2.3/site-packages/trac/env.py", line 362, in open_environment env = Environment(env_path) File "/usr/lib/python2.3/site-packages/trac/env.py", line 91, in __init__ load_components(self) File "/usr/lib/python2.3/site-packages/trac/loader.py", line 49, in load_components load_component(module) File "/usr/lib/python2.3/site-packages/trac/loader.py", line 68, in load_component module = _load_module(head, module_name, module, path) File "/usr/lib/python2.3/site-packages/trac/loader.py", line 82, in _load_module module = imp.load_module(name, fd, path, desc) File "/usr/lib/python2.3/site-packages/trac/Changeset.py", line 36, in ? from trac.Search import ISearchSource, query_to_sql, shorten_result ImportError: cannot import name ISearchSource
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Cc: | added |
---|---|
Component: | mod_python frontend → general |
Owner: | changed from | to
comment:2 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closed. Resolved by removing /usr/lib/python2.3/site-packages/trac/ prior to upgrading.
Note:
See TracTickets
for help on using tickets.
This alos happens with trac-admin initenv