Modify ↓
Opened 19 years ago
Closed 19 years ago
#199 closed defect (fixed)
Internal error on search: 'list' object has no attribute 'split'
Reported by: | Markus Tacker | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | normal | Component: | RepoSearchPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: |
Description
Python traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 142, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 110, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/Search.py", line 178, in process_request results += list(source.get_search_results(req, terms, filters)) File "build/bdist.linux-i686/egg/tracreposearch/search.py", line 67, in get_search_results AttributeError: 'list' object has no attribute 'split'
My config:
[components] tracreposearch.* = enabled [repo-search] include = *.php:*.tpl
Attachments (0)
Change History (4)
comment:1 Changed 19 years ago by
Status: | new → assigned |
---|
comment:3 Changed 19 years ago by
The same issue can happen with any plugin implementing
the ISearchSource
interface, which changed in [trac 2940]:
terms
is now a list
.
See r459 for an example of how to fix it.
comment:4 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
That is very strange. What was the search term you used?