Edgewall Software

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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
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 7 years ago by eblot

  • Keywords plugin added
  • Resolution set to wontfix
  • Status changed from new to closed

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 7 years ago by anonymous

See track bug #798 for fix.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed The owner will remain jonas.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from jonas to the specified user.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.