Ticket #5774 (closed defect: wontfix)
TypeError: ord() expected a character, but string of length 0 found
| Reported by: | VLAMING\mlenstra | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | search system | Version: | devel |
| Severity: | normal | Keywords: | plugin |
| Cc: |
Description
How to Reproduce
While doing a GET operation on /search, Trac issued an internal error.
This occurs when trying to search with doxygen plugin and less than 5 chars in the search query, instead of a nice error that the query is too short.
Request parameters:
{'q': u'cont', 'doxygen': u'on', 'noquickjump': u'1'}
System Information
| Trac | 0.11dev-r5867 |
| Python | 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] |
| setuptools | 0.6c6 |
| SQLite | 3.4.0 |
| pysqlite | 2.3.5 |
| Genshi | 0.4.3 |
| Subversion | 1.4.2 (r22196) |
Python Traceback
Traceback (most recent call last):
File "c:\python24\lib\site-packages\Trac-0.11dev_r5867-py2.4.egg\trac\web\main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "c:\python24\lib\site-packages\Trac-0.11dev_r5867-py2.4.egg\trac\web\main.py", line 216, in dispatch
resp = chosen_handler.process_request(req)
File "c:\python24\lib\site-packages\Trac-0.11dev_r5867-py2.4.egg\trac\search\web_ui.py", line 106, in process_request
results += list(source.get_search_results(req, terms, filters))
File "build\bdist.win32\egg\doxygentrac\doxygentrac.py", line 210, in get_search_results
File "build\bdist.win32\egg\doxygentrac\doxygentrac.py", line 348, in _search_in_documentation
File "build\bdist.win32\egg\doxygentrac\doxygentrac.py", line 387, in _search
File "build\bdist.win32\egg\doxygentrac\doxygentrac.py", line 436, in _readInt
TypeError: ord() expected a character, but string of length 0 found
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


