Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

#11107 closed defect (cantfix)

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

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

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'e463a1fa43148c59074a10e1',
 'addgroupmember': u' Add ',
 'cat_id': u'versioncontrol',
 'editgroup': u'developer',
 'panel_id': u'svnauthz',
 'path_info': u'editgroup/developer',
 'subject': u'\uae40\ubd09\uc2b9',
 'subject2': u''}

User agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22

System Information

Trac 0.12
Genshi 0.6
mod_python 3.3.1
pysqlite 2.6.0
Python 2.7.3 (default, Aug 1 2012, 05:25:23)
[GCC 4.6.3]
RPC 1.1.2-r12168
setuptools 0.6
SQLite 3.7.9
Subversion 1.6.17 (r1128011)
jQuery 1.4.2

Enabled Plugins

SvnAuthzAdminPlugin 0.2
TracAccountManager 0.3.2
TracXMLRPC 1.1.2-r12168

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12-py2.7.egg/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12-py2.7.egg/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-0.12-py2.7.egg/trac/admin/web_ui.py", line 116, in process_request
    path_info)
  File "/usr/local/lib/python2.7/dist-packages/SvnAuthzAdminPlugin-0.2-py2.7.egg/svnauthz/admin_ui.py", line 133, in render_admin_panel
    self._persist_model(self.authz)
  File "/usr/local/lib/python2.7/dist-packages/SvnAuthzAdminPlugin-0.2-py2.7.egg/svnauthz/admin_ui.py", line 430, in _persist_model
    w.write(self.authz_file, m)
  File "/usr/local/lib/python2.7/dist-packages/SvnAuthzAdminPlugin-0.2-py2.7.egg/svnauthz/io.py", line 27, in write
    fp.write(new)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 32-34: ordinal not in range(128)

Attachments (0)

Change History (2)

comment:1 by anonymous, 12 years ago

korean account name problem

comment:2 by Christian Boos, 12 years ago

Resolution: cantfix
Status: newclosed

… in the TH:SvnAuthzAdminPlugin, so it's a PluginIssue.

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.