Edgewall Software

Ticket #5774 (closed defect: wontfix)

Opened 2 years ago

Last modified 16 months ago

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

Changed 2 years ago by eblot

  • keywords plugin added
  • status changed from new to closed
  • resolution set to wontfix

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

Changed 16 months ago by anonymous

See track bug  #798 for fix.

Add/Change #5774 (TypeError: ord() expected a character, but string of length 0 found)

Author


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


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.