id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 4760,Fix for Markup(map) with unicoded strings when using MasterTicketsPlugin depgraph,Dmitry Shurupov,Christian Boos,"I'm using [http://trac-hacks.org/wiki/MasterTicketsPlugin MasterTicketsPlugin] with GraphvizPlugin. And I have some cyrillic symbols in my tickets. When I was trying to create a depgraph for any ticket, I was getting this error: {{{ Trac detected an internal error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 43: ordinal not in range(128) }}} That's the source of this problem: {{{ File ""build/bdist.linux-x86_64/egg/depgraph/web_ui.py"", line 146, in process_requestFile ""build/bdist.linux-x86_64/egg/depgraph/depgraph.py"", line 240, in expand_macroFile ""build/bdist.linux-x86_64/egg/graphviz/graphviz.py"", line 406, in expand_macro }}} I don't know Python language, but I've figured how to fix it. I've changed the ""open(map_path, 'r')"" to ""codecs.open(map_path, 'r', 'utf-8')"" and added ""import codecs"". Now, this problem has gone, and everything seems to work. Patch for graphvizplugin 0.11-0.7.4 is attached. Feel free to make something more reasonable than stupid code from non-python (non-)programmer.",defect,new,high,GraphvizPlugin,normal,,unicode,,0.11