Modify ↓
#5774 closed defect (wontfix)
TypeError: ord() expected a character, but string of length 0 found
| Reported by: | VLAMING\mlenstra | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | search system | Version: | devel |
| Severity: | normal | Keywords: | plugin |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
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 (0)
Change History (2)
comment:1 by , 18 years ago
| Keywords: | plugin added |
|---|---|
| Resolution: | → wontfix |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



As the traceback reports, this issue comes from the th:DoxygenPlugin and should be reported to the plugin maintainer, not to Trac.