Opened 10 years ago
Last modified 10 years ago
#11518 closed defect
UnicodeEncodeError: 'decimal' codec can't encode character u'\u8b70' in position 2: invalid decimal Unicode string — at Initial Version
Reported by: | hirano | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12.6 |
Component: | wiki system | Version: | 0.12.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /wiki/3月4日 開発会議 議事録
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'page': u'3\u67084\u65e5\u3000\u958b\u767a\u4f1a\u8b70\u3000\u8b70\u4e8b\u9332', 'version': u'1/\u8b70\u4e8b\u9332'}
User agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0
System Information
Trac | 0.12.4.ja1
|
Babel | 0.9.5
|
CustomFieldAdmin | 0.2.8
|
Docutils | 0.7
|
Genshi | 0.6 (without speedups)
|
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.2-r9970
|
setuptools | 0.6c11
|
SQLite | 3.5.9
|
Subversion | 1.6.17 (r1128011)
|
jQuery | 1.4.4
|
Enabled Plugins
advancedticketworkflowplugin | 0.11dev-r9962
|
batchmodify | 0.8.0a1-trac0.12
|
blockdiagplugin | 0.5.1
|
exceldownloadplugin | 0.12.0.1
|
footnotemacro | 1.03
|
hudsontracplus | 0.4
|
iniadmin | 0.2
|
lightningtheme | 1.0
|
newwikipagebutton | 1.01
|
privatewikis | 1.0.0
|
reportincludeplugin | 0.5-snapshot
|
svnauthzadminplugin | 0.1.2.-moved.to.trac.0.11-
|
ticket-clone | Rev
|
ticketimport | 0.8
|
trac-jsgantt | 0.2.0-ja
|
tracaccountmanager | 0.3
|
tracaddcommentmacro | 0.3
|
tracautowikify | 0.1
|
tracavatarplugin | 0.3
|
traccompleteuserplugin | 0.4
|
traccustomfieldadmin | 0.2.8
|
tracdatefield | 1.0.1
|
tracdiscussion | 0.8-r9877
|
tracdragdrop | 0.12.0.10
|
tracflashembedmacro | 0.95rc1
|
tracganttcalendarplugin | 0.5-r801
|
tracmacostheme | 1.0.3
|
tracmacropost | 0.2
|
tracnav | 4.2.dev
|
tracquerychart | 0.2.3
|
tracsectioneditplugin | 0.1
|
tracsubticketsplugin | 0.1.1.dev-20130429
|
tracthemeengine | 2.0.1
|
tractocmacro | 11.0.0.3
|
tracusermanagerplugin | 0.4r5520
|
tracwysiwyg | 0.12.0.4-r9676
|
tracxdocview | 0.1
|
tracxmlrpc | 1.1.2-r9970
|
workfloweditorplugin | 1.1.5
|
Python Traceback
Traceback (most recent call last): File "C:\TracLight\python\lib\site-packages\trac-0.12.4.ja1-py2.6.egg\trac\web\main.py", line 522, in _dispatch_request dispatcher.dispatch(req) File "C:\TracLight\python\lib\site-packages\trac-0.12.4.ja1-py2.6.egg\trac\web\main.py", line 243, in dispatch resp = chosen_handler.process_request(req) File "C:\TracLight\python\lib\site-packages\trac-0.12.4.ja1-py2.6.egg\trac\wiki\web_ui.py", line 119, in process_request versioned_page = WikiPage(self.env, pagename, version=version) File "C:\TracLight\python\lib\site-packages\trac-0.12.4.ja1-py2.6.egg\trac\wiki\model.py", line 40, in __init__ version = int(version) # must be a number or None UnicodeEncodeError: 'decimal' codec can't encode character u'\u8b70' in position 2: invalid decimal Unicode string
Note:
See TracTickets
for help on using tickets.