Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#287 closed defect (fixed)

UnicodeDecodeError in reposearch plugin

Reported by: Armin Ronacher <armin.ronacher@…> Owned by: Alec Thomas
Priority: highest Component: RepoSearchPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 300, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 176, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/Search.py", line 181, in process_request
    results += list(source.get_search_results(req, terms, filters))
  File "build/bdist.linux-i686/egg/tracreposearch/search.py", line 122, in get_search_results
  File "/usr/lib/python2.4/site-packages/trac/Search.py", line 93, in shorten_result
    i = text_low.find(k.lower())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 429: ordinal not in range(128)

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

Should be fixed in r670.

Modify Ticket

Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.