Modify

Opened 14 years ago

Closed 14 years ago

#7837 closed defect (worksforme)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 0: ordinal not in range(128)

Reported by: vinogradniy@… Owned by: Ryan J Ollos
Priority: normal Component: TicketChangePlugin
Severity: normal Keywords:
Cc: xciber@… Trac Release: 0.11

Description

How to Reproduce

While doing a GET operation on /admin/ticket/comments/1, Trac issued an internal error.

(please provide additional details here)

Delete Ticket Changes.

Request parameters:

{'cat_id': u'ticket', 'panel_id': u'comments', 'path_info': u'1'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.10) Gecko/20100914 MRA 5.6 (build 03278) Firefox/3.6.10 (.NET CLR 3.5.30729)

System Information

Trac 0.11rc2
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c9
SQLite 3.5.2
pysqlite 2.4.0
Genshi 0.5
mod_python 3.3.1
Subversion 1.4.6 (r28521)
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "C:\Python24\lib\site-packages\trac\web\main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python24\lib\site-packages\trac\web\main.py", line 219, in dispatch
    data, content_type)
  File "C:\Python24\lib\site-packages\trac\web\chrome.py", line 726, in render_template
    stream.render(method, doctype=doctype, out=buffer)
  File "C:\Python24\lib\site-packages\genshi\core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "C:\Python24\lib\site-packages\genshi\output.py", line 61, in encode
    for chunk in iterator:
  File "C:\Python24\lib\site-packages\genshi\output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "C:\Python24\lib\site-packages\genshi\output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "C:\Python24\lib\site-packages\genshi\output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "C:\Python24\lib\site-packages\genshi\output.py", line 707, in __call__
    text = mjoin(textbuf, escape_quotes=False)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 0: ordinal not in range(128)

Attachments (0)

Change History (3)

comment:1 Changed 14 years ago by anonymous

Cc: xciber@… added; anonymous removed

comment:2 Changed 14 years ago by Ryan J Ollos

Owner: changed from Sergei Luchko to Ryan J Ollos
Status: newassigned

There is not enough information here to proceed. Please reopen if you can provide the text of the comment you were trying to edit, as well as how you were trying to edit the text (i.e. directly from the ticket, or through the Admin interface).

comment:3 Changed 14 years ago by Ryan J Ollos

Resolution: worksforme
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.