Modify

Opened 15 years ago

Closed 14 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)

stacktrace.log (7.9 KB) - added by Ilmars Poikans 15 years ago.
Stack trace from trac.log

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by Ilmars Poikans

Attachment: stacktrace.log added

Stack trace from trac.log

comment:1 Changed 15 years ago by Felix Tiede

Do you have any tickets with quotation marks (', ") in their summaries which might be included in depgraph?

comment:2 Changed 15 years ago by Ilmars Poikans

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 in reply to:  2 Changed 15 years ago by Felix Tiede

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 14 years ago by ricardo.ichizo@…

Resolution: invalid
Status: newclosed

This is a bug of Graphviz plugin. There is a patch here.

Modify Ticket

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