Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10344 closed defect (duplicate)

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

Reported by: fengxf Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (X11; U; Linux x86_64; zh-CN; rv:1.9.2.20) Gecko/20110804 SUSE/3.6.20-0.2.1 Firefox/3.6.20

System Information

Trac 0.12.2
Babel 0.9.6
Docutils 0.6
Genshi 0.6
Mercurial 1.9.2+3-86380f24e697+20110908
Pygments 1.3.1
pysqlite 2.4.1
Python 2.6.5 (r265:79063, May 6 2011, 17:25:59)
[GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292]]
setuptools 0.6c11
SQLite 3.6.23
Subversion 1.6.17 (r1128011)
jQuery 1.4.2

Enabled Plugins

TracMercurial 0.12.0.28dev-r10784

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/timeline/web_ui.py", line 213, in process_request
    format='rss')
  File "build/bdist.linux-x86_64/egg/trac/web/href.py", line 181, in <lambda>
    self._derived[name] = lambda *args, **kw: self(name, *args, **kw)
  File "build/bdist.linux-x86_64/egg/trac/web/href.py", line 175, in __call__
    href += '?' + unicode_urlencode(params, self.query_safe)
  File "build/bdist.linux-x86_64/egg/trac/util/text.py", line 118, in unicode_urlencode
    k = quote_plus(str(k), safe)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 14-15: ordinal not in range(128)

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 13 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #10121.

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.