#5901 closed defect (fixed)
[Patch] UnicodeDecodeError
| Reported by: | anonymous | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | WorkflowEditorPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
Trac 0.11.5.ja1においては,テンプレート (テンプレート内の位置が特定できません) のレンダリング中に Genshi のエラー UnicodeDecodeError が発生しました。
Attachments (0)
Change History (7)
comment:1 Changed 16 years ago by
comment:2 Changed 15 years ago by
| Summary: | UnicodeDecodeError → [Patch] UnicodeDecodeError |
|---|
#8459 closed as a duplicate.
comment:3 Changed 15 years ago by
| Owner: | changed from Takanori Suzuki to Ryan J Ollos |
|---|---|
| Status: | new → assigned |
comment:4 follow-up: 7 Changed 15 years ago by
I'm going to go ahead and apply this patch because I see encoding=None as an argument to render when grepping the Trac codebase, but I'm having trouble reproducing the issue. If someone can send the specific workflow test that reproduces the error, that would be a big help. Please test the latest checkin as well.
comment:5 Changed 15 years ago by
comment:6 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:7 Changed 15 years ago by
Replying to rjollos:
I'm going to go ahead and apply this patch because I see
encoding=Noneas an argument torenderwhen grepping the Trac codebase, but I'm having trouble reproducing the issue. If someone can send the specific workflow test that reproduces the error, that would be a big help. Please test the latest checkin as well.
I tested the latest with Trac 0.11-stable in Japanese environment and the issue is fixed. Thanks!
BTW, render() method is in genshi.core.Stream class. When encoding=None, the method returns a unicode object.
cf. http://genshi.edgewall.org/browser/tags/0.6.0/genshi/core.py#L156



I use workfloweditorplugin/0.11@6348 and have a same problem.
In my environment, the problem is fixed by the below patch.
workfloweditor/workfloweditor_admin.py
)