Edgewall Software

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#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
Release Notes:
API Changes:


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
  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 Changed 11 years ago by Emmanuel Blot

Keywords: plugin added
Resolution: wontfix
Status: newclosed

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

comment:2 Changed 10 years ago by anonymous

See track bug #798 for fix.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.