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