Opened 15 years ago

Closed 15 years ago

#5371 closed defect (duplicate)

KeyError: u'\xe2'

Reported by: klaux Owned by: Kis Gergely
Priority: normal Component: SvnAuthzAdminPlugin
Severity: normal Keywords:
Cc: klaux1@…, claudiogontijolinux@… Trac Release: 0.11


How to Reproduce

While doing a POST operation on /admin/subversion/svnauthz, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'f0bdec53ab0b63b606611c2e',
 'addpath': u' Add ',
 'cat_id': u'subversion',
 'panel_id': u'svnauthz',
 'path': u'/luz c\xe2mera a\xe7\xe3o',
 'path_info': None}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv: Gecko/2009050519 Firefox/3.0.6 (Debian-3.0.6-1) GTB5

System Information

Trac 0.11.4
Python 2.4.4 (#1, Oct 22 2008, 19:49:52)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools 0.6c3
SQLite 3.3.8
pysqlite 2.3.2
Genshi 0.5.1
Babel 0.9.3
mod_python 3.2.10
Pygments 0.9
Subversion 1.4.2 (r22196)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/", line 435, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/admin/", line 118, in process_request
  File "build/bdist.linux-i686/egg/svnauthz/", line 80, in process_admin_request
  File "", line 60, in pathname2url
    return quote(pathname)
  File "", line 1110, in quote
    res = map(safe_map.__getitem__, s)
KeyError: u'\xe2'

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by KlauX

Resolution: duplicate
Status: newclosed

This problem have one patch in ticket #5484. Unicode error...

I'm so sorry for duplicate tickets.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Kis Gergely.
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.