Opened 16 years ago
Closed 15 years ago
#4685 closed defect (invalid)
`[[DepGraph]]` macro fails, when there is non ascii characters in ticket or ticket priorities
Reported by: | Ilmars Poikans | Owned by: | Felix Tiede |
---|---|---|---|
Priority: | normal | Component: | TracTicketDepgraphPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I have checkouted latest TicketDepgraphPlugin [5302], which fixes issues with coloring, when there are ticket priorities with non ascii chars. Then I got next problem, when I included [[DepGraph]]
macro in wiki page
Trac detected an internal error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 62: ordinal not in range(128)
See stack trace for more detailed info in attachment stacktrace.log
Attachments (1)
Change History (5)
Changed 16 years ago by
Attachment: | stacktrace.log added |
---|
comment:1 Changed 16 years ago by
Do you have any tickets with quotation marks (', ") in their summaries which might be included in depgraph?
comment:2 follow-up: 3 Changed 16 years ago by
Yes, there are some tickets with ' and " in summaries. I don't know if they are included in DepGraph call, because they doesn't depend or block any other tickets. I have two tickets with dependencies, but they doesn't contain ' or " in summaries.
comment:3 Changed 16 years ago by
Replying to ilmars@delibero.lv:
Yes, there are some tickets with ' and " in summaries. I don't know if they are included in DepGraph call, because they doesn't depend or block any other tickets. I have two tickets with dependencies, but they doesn't contain ' or " in summaries.
They should not for added orphan check in an earlier revision, but I'm not sure if that really works the way intended. Anyway single quotes might pose a problem due to escaping. I'll look into it. Only thing I can say so far is that a test ticket with almost every character above 0x7f and including ' in its summary works quite well here.
comment:4 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is a bug of Graphviz plugin. There is a patch here.
Stack trace from trac.log