Opened 8 years ago

Closed 7 years ago

# [[DepGraph]] macro fails, when there is non ascii characters in ticket or ticket priorities

Reported by: Owned by: Ilmars Poikans Felix Tiede normal TracTicketDepgraphPlugin normal 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

### Changed 8 years ago by Ilmars Poikans

Stack trace from trac.log

### comment:1 Changed 8 years ago by Felix Tiede

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

### comment:2 follow-up:  3 Changed 8 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 8 years ago by Felix Tiede

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

Resolution: → invalid new → closed

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

### Modify Ticket

Change Properties