Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10295 closed defect (duplicate)

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

Reported by: amas Owned by:
Priority: normal Milestone:
Component: general Version: 0.12.2
Severity: normal Keywords: needinfo
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 i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.43 Safari/534.7

System Information

Trac 0.12.2
Babel 0.9.5
Docutils 0.7
FullBlog 0.1.1-r9430
Genshi 0.6
GIT 1.7.3.2
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
Pygments 1.3.1dev-20101221
pysqlite 2.6.0
Python 2.7.1 (r271:86832, Apr 15 2011, 12:11:58)
[GCC 4.5.2 20110127 (prerelease)]
RPC 1.1.0-r9395
setuptools 0.6c11
SQLite 3.7.3
Subversion 1.6.9 (r901367)
jQuery 1.4.2

Enabled Plugins

BreadCrumbsNavPlugin 0.1
CodeExample 1.0
FlatTableProcessor N/A
FootNoteMacro 1.03
graphviz 0.7.5
PlantUML 1.2
TracAccountManager 0.2.1dev-r7737
TracAcronyms 0.1
TracFullBlogPlugin 0.1.1-r9430
TracGit 0.12.0.5dev
TracHTTPAuth 1.1
TracIncludeMacro 2.1-r10462
TracMath 0.1
TracNewsFlash 1.0.1
TracScreenshots 0.8dev
TracSectionEditPlugin 0.1
TracTags 0.6
TracTocMacro 11.0.0.3
TracXMLRPC 1.1.0-r9395
VisitCounter 0.2

Python Traceback

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

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 13 years ago

Keywords: needinfo added

Can you please check if this still happens with all plugins disabled?

comment:2 by Christian Boos, 13 years ago

Resolution: duplicate
Status: newclosed

It must be a 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.