Modify

Opened 6 years ago

Closed 5 years ago

#5371 closed defect (duplicate)

KeyError: u'\xe2'

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

Description

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:1.9.0.9) 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/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", 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/web_ui.py", line 118, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/svnauthz/admin_ui.py", line 80, in process_admin_request
  File "urllib.py", line 60, in pathname2url
    return quote(pathname)
  File "urllib.py", line 1110, in quote
    res = map(safe_map.__getitem__, s)
KeyError: u'\xe2'

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by KlauX

  • Resolution set to duplicate
  • Status changed from new to closed

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

I'm so sorry for duplicate tickets.

Add Comment

Modify Ticket

Action
as closed The owner will remain kisg.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.