Modify ↓
Opened 4 years ago
Closed 4 years ago
#13842 closed defect (fixed)
UnicodeEncodeError occured in component admin page
Reported by: | anonymous | Owned by: | Cinc-th |
---|---|---|---|
Priority: | normal | Component: | SimpleMultiProjectPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
I got non-English user who use non-Ascii code in component name.
I got these error after updating latest revision with Trac1.2
when I tried to edit component "{TRAC ENV/admin/ticket/component"
UnicodeEncodeError: 'ascii' codec can't encode character u'\u6388' in position 121: ordinal not in range(128)
File "build/bdist.linux-x86_64/egg/simplemultiproject/milestone.py"、 Line 85, Function create_projects_table_j
近辺のコード:
80 tr = u"" 81 for prj in filtered_projects: 82 sel = ' checked' if prj[1] in comp_prj else '' 83 tr += tr_templ.format(p_id=prj[0], p_name=prj[1], input_type=input_type, sel=sel) 84 85 return table_tmpl.format(tr=tr) 86 87 88 def create_cur_projects_table(smp_model, name): 89 """Create a table holding projects for this milestone.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
I can see the problem on my system.
Thanks for the report.