Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

#11239 closed defect (cantfix)

UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1123-1124: invalid continuation byte

Reported by: phu-cuong@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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'63258b0750f04d175ddab07e',
 'addpath': u' \u8ffd\u52a0 ',
 'cat_id': u'subversion',
 'panel_id': u'svnauthz',
 'path': u'/',
 'path_info': None}

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0

System Information

Trac 0.12.ja1
Babel 0.9.5
CustomFieldAdmin 0.2.5
Docutils 0.7
Genshi 0.6
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
Pygments 1.3.1
pysqlite 2.4.1
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
RPC 1.1.0
setuptools 0.6c11
SQLite 3.5.9
Subversion 1.6.6 (r40053)
jQuery 1.4.2

Enabled Plugins

advancedticketworkflowplugin 0.10dev
batchmodify 0.8.0a1-trac0.12
hudsontracplus 0.4
iniadmin 0.2
lightningtheme 1.0
newwikipagebutton 1.01
privatewikis 1.0.0
svnauthzadminplugin 0.1.2.-moved.to.trac.0.11-
ticket-clone Rev
ticketimport 0.7c
tracaccountmanager 0.2.1dev
tracaddcommentmacro 0.3
tracautowikify 0.1
traccompleteuserplugin 0.4
traccustomfieldadmin 0.2.5
tracdatefield 1.0.1
tracdiscussion 0.7
tracdragdrop 0.12.0.3
tracganttcalendarplugin 0.5
tracmacostheme 1.0.2
tracmacropost 0.2
tracmsofficexmlplugin 0.1
tracnav 4.2.dev
tracquerychart 0.2.2
tracsectioneditplugin 0.1
tracthemeengine 2.0
tractocmacro 11.0.0.3
tracusermanagerplugin 0.4r5520
tracwysiwyg 0.12.0.2
tracxdocview 0.1
tracxmlrpc 1.1.0
workfloweditorplugin 1.0.2

Python Traceback

Traceback (most recent call last):
  File "build\bdist.win32\egg\trac\web\main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "build\bdist.win32\egg\trac\web\main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build\bdist.win32\egg\trac\admin\web_ui.py", line 116, in process_request
    path_info)
  File "C:\TracLight\python\lib\site-packages\svnauthzadminplugin-0.1.2._moved.to.trac.0.11_-py2.6.egg\svnauthz\admin_ui.py", line 117, in render_admin_panel
    self._persist_model(self.authz)
  File "C:\TracLight\python\lib\site-packages\svnauthzadminplugin-0.1.2._moved.to.trac.0.11_-py2.6.egg\svnauthz\admin_ui.py", line 409, in _persist_model
    w.write(self.authz_file, m)
  File "C:\TracLight\python\lib\site-packages\svnauthzadminplugin-0.1.2._moved.to.trac.0.11_-py2.6.egg\svnauthz\io.py", line 23, in write
    new = model.serialize()
  File "C:\TracLight\python\lib\site-packages\svnauthzadminplugin-0.1.2._moved.to.trac.0.11_-py2.6.egg\svnauthz\model.py", line 204, in serialize
    ret+=path.serialize() + "\n"
  File "C:\TracLight\python\Lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1123-1124: invalid continuation byte

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 11 years ago

Resolution: cantfix
Status: newclosed

That is a PluginIssue (​th:SvnAuthzAdminPlugin) and a duplicate of #11230. Please report to the plugin maintainers.

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.