Modify ↓
#2994 closed defect (fixed)
Fail to show all tickets dependency graph (asciiCrítico23ordinal not in range(128))
Reported by: | Owned by: | Felix Tiede | |
---|---|---|---|
Priority: | normal | Component: | TracTicketDepgraphPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Hi,
When I'm trying to create a graph with all tickets dependencies, the follow message is displayed:
Error: Macro DepGraph(None) failed asciiCrítico23ordinal not in range(128)
In log, I have:
2008-05-06 12:46:01,942 Trac[formatter] ERROR: Macro DepGraph(None) failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 439, in _macro_formatter return macro.process(self.req, args, True) File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 112, in process text = self.processor(req, text) File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 100, in _macro_processor return self.macro_provider.render_macro(req, self.name, text) File "build/bdist.linux-i686/egg/depgraph/depgraph.py", line 156, in render_macro File "build/bdist.linux-i686/egg/depgraph/depgraph.py", line 75, in _depgraph_all UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 2: ordinal not in range(128)
Looking at log message and configuration of trac, I've verified that the mistake was in a name used for Severity field (the name used was Crítico). The error message said it, but not in clarified form.
My suggestion is to leave this "error" message more explicit.
Regards
Rafael
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Type: | enhancement → defect |
comment:2 Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.
This is a defect in decoding a ticket's severity to colorize the graph nodes. This is fixed in rev [3626]. Unfortunately so far colorizing the graph will not work if non-standard severities are used.