Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

#11101 closed defect (cantfix)

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

Reported by: ei09125 Owned by:
Priority: normal Milestone:
Component: general Version: 1.0.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

How to Reproduce

While doing a GET operation on /wiki/Papéis, Trac issued an internal error.

Penso que o problema se encontra relacionado com a utilização de acentuação nos identificadores.

Request parameters:

{'page': u'Pap\xe9is'}

User agent: #USER_AGENT#

System Information

Trac 1.0.1
Genshi 0.6 (without speedups)
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup lgp.fe.up.pt|/2013/augmentedwine)
pysqlite 2.6.0
Python 2.7.3 (default, Aug 1 2012, 05:25:23)
[GCC 4.6.3]
setuptools 0.6
SQLite 3.7.9
jQuery #JQUERY#

Enabled Plugins

AdaptiveArtifacts 0.4
TracAccountManager 0.4.3
TracBacklog 0.3.0-dev
TracSumFields 1.0.1
TracSumStats 0.9.0
TracVisualization 0.0.1

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 224, in dispatch
    self._post_process_request(req, *resp)
  File "/usr/local/lib/python2.7/dist-packages/trac/web/main.py", line 338, in _post_process_request
    resp = f.post_process_request(req, *resp)
  File "/usr/local/lib/python2.7/dist-packages/AdaptiveArtifacts/__init__.py", line 135, in post_process_request
    dbp.track_it("wiki", resource_id, "view", req.authname, str(datetime.now()))
  File "/usr/local/lib/python2.7/dist-packages/AdaptiveArtifacts/persistence/data.py", line 518, in track_it
    @with_transaction(self.env)
  File "/usr/local/lib/python2.7/dist-packages/trac/db/api.py", line 97, in transaction_wrapper
    fn(ldb)
  File "/usr/local/lib/python2.7/dist-packages/AdaptiveArtifacts/persistence/data.py", line 523, in do_track_it
    (resource_type, resource_id, operation, username, time)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 44: ordinal not in range(128)

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 6 years ago

Resolution: cantfix
Status: newclosed

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'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.