Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7612 closed defect (invalid)

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

Reported by: amalaev@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'cat_id': u'ticket',
 'cnum': u'7',
 'panel_id': u'comments',
 'path_info': u'344'}

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; ru; rv:1.9.0.1) Gecko/2008070400 Firefox/3.0.1

System Information

Trac 0.11.1
Python 2.5 (r25:51908, Jan 10 2008, 18:01:52)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)]
setuptools 0.6c9
SQLite 3.2.8
pysqlite 2.4.1
Genshi 0.5.1
Pygments 0.11.1
Subversion 1.4.3 (r23084)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib64/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib64/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 219, in dispatch
    data, content_type)
  File "/usr/local/lib64/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/chrome.py", line 715, in render_template
    return stream.render(method, doctype=doctype)
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 60, in encode
    return _encode(u''.join(list(iterator)))
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 753, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 707, in __call__
    text = mjoin(textbuf, escape_quotes=False)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Attachments (0)

Change History (1)

comment:1 by amalaev@…, 16 years ago

Resolution: invalid
Status: newclosed

It was bug in TicketDelete plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.