Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

#7683 closed defect (invalid)

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-13: ordinal not in range(128)

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

Description

How to Reproduce

While doing a GET operation on /tags, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'q': u"'\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430'"}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.2) Gecko/2008091620 Firefox/3.0.2

System Information

Trac 0.11.1
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
setuptools 0.6c7
SQLite 3.5.2
pysqlite 2.4.1
Genshi 0.5.1
mod_python 3.3.1
Pygments 0.11.1
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "c:\usr\local\python\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\web\main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "c:\usr\local\python\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\web\main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "build\bdist.win32\egg\tractags\web_ui.py", line 99, in process_request
    data['tag_body'] =  macro.expand_macro(formatter, None, query)
  File "build\bdist.win32\egg\tractags\macros.py", line 80, in expand_macro
    key=lambda r: str(r[0].id)):
  File "build\bdist.win32\egg\tractags\macros.py", line 80, in <lambda>
    key=lambda r: str(r[0].id)):
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-13: ordinal not in range(128)

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by eblot

  • Keywords plugin added
  • Priority changed from high to normal
  • Resolution set to invalid
  • Severity changed from critical to normal
  • Status changed from new to closed

/tags does not refer to a Trac core component, but to a plugin.

Please report the error to the plugin maintainer.

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.