Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#9277 closed defect (worksforme)

It doesn't supports non-ASCII project name

Reported by: shuge.lee@… Owned by: Chris Nelson
Priority: highest Component: TracJsGanttPlugin
Severity: major Keywords: utf8 unicode
Cc: Ryan J Ollos Trac Release: 0.12

Description

If project name is 'chinese characters',

it will throws exception

Trac Error
Genshi UnicodeDecodeError error while rendering template (unknown template location)

Attachments (1)

chinaJsGannt.PNG (18.9 KB) - added by falkb 13 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by anonymous

OS

Linux txsj40 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux

System Information

Trac	0.12.2
Babel	0.9.6
CustomFieldAdmin	0.2.6
Genshi	0.6
Pygments	1.4
pysqlite	2.4.1
Python	2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3]
pytz	2011j
RPC	1.1.2-r10514
setuptools	0.6
SQLite	3.6.22
jQuery:	1.4.2

Installed Plugins

AwesomeAttachmentsPlugin	0.2	/home/trac/foo/plugins/AwesomeAttachmentsPlugin-0.2-py2.6.egg
BlackMagicTicketTweaks	0.12r1	/home/trac/foo/plugins/BlackMagicTicketTweaks-0.12r1-py2.6.egg
BreadCrumbsNavPlugin	0.1	/home/trac/foo/plugins/BreadCrumbsNavPlugin-0.1-py2.6.egg
cc-selector	0.0.4dev	/home/trac/foo/plugins/cc_selector-0.0.4dev-py2.6.egg
graphviz	0.7.6dev	/home/trac/foo/plugins/graphviz-0.7.6dev-py2.6.egg
TicketExtPlugin	0.3.2-r10092	/home/trac/foo/plugins/TicketExtPlugin-0.3.2_r10092-py2.6.egg
timingandestimationplugin	1.2.1b	/home/trac/foo/plugins/timingandestimationplugin-1.2.1b-py2.6.egg
Trac-jsGantt	0.9	/home/trac/foo/plugins/Trac_jsGantt-0.9-py2.6.egg
TracAccountManager	0.4dev-r10396	/home/trac/foo/plugins/TracAccountManager-0.4dev_r10396-py2.6.egg
Tracchildtickets	2.4.4	/home/trac/foo/plugins/Tracchildtickets-2.4.4-py2.6.egg
TracCustomFieldAdmin	0.2.6	/home/trac/foo/plugins/TracCustomFieldAdmin-0.2.6-py2.6.egg
TracMasterTickets	3.0.2	/home/trac/foo/plugins/TracMasterTickets-3.0.2-py2.6.egg
TracSQL	0.2	/home/trac/foo/plugins/TracSQL-0.2-py2.6.egg
TracSubTicketsPlugin	0.1.0	/home/trac/foo/plugins/TracSubTicketsPlugin-0.1.0-py2.6.egg
TracTicketValidator	0.1	/home/trac/foo/plugins/TracTicketValidator-0.1-py2.6.egg
TracTocMacro	11.0.0.3	/home/trac/foo/plugins/TracTocMacro-11.0.0.3-py2.6.egg
TracXMLRPC	1.1.2-r10514	/home/trac/foo/plugins/TracXMLRPC-1.1.2_r10514-py2.6.egg

comment:2 Changed 13 years ago by Chris Nelson

I'd be happy to accept a patch for this problem but I don't have access to Trac 0.12 or any i18n configuration.

comment:3 Changed 13 years ago by Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed

Changed 13 years ago by falkb

Attachment: chinaJsGannt.PNG added

comment:4 Changed 13 years ago by falkb

no problems here in my Babel-powered Trac 0.12.2 test environment with German umlauts or chinese characters in the project name. Look here:

comment:5 Changed 13 years ago by anonymous

Resolution: worksforme
Status: newclosed

comment:6 Changed 13 years ago by falkb

Closing by anonymous possible? Isn't that a bit anarchistic?

Modify Ticket

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