I'm using version 3.0 alpha 3.
I've experienced epydoc crashes when generating docs
for my project.
My source files are all ascii encoded, but as I write
comments in French, I use some escaped unicode
charaters like '\xe9' (é) or '\xe0' (à) in my docstrings.
The epydoc command raises a unicode exception
(something like 'ascii' codec can't decode character
'0xc3'...) at line 761 in module epydoc.docwriter.html:
out('<center>\n%s</center>\n' % self.render_graph(graph))
I've been able to correct this error by making the
- in module epydoc.docwriter.html, line 619
f = codecs.open(path, 'w', 'ascii',
f = codecs.open(path, 'w', 'utf-8',
- in module epydoc.docwriter.dotgraph, line 182
This lets me generate the html pages without exception
but I still have to manually change the encoding in my
In order to correct this I've also replaced every line
I've found like
<?xml version="1.0" encoding="ascii_or_iso-8859-1"?>
<?xml version="1.0" encoding="utf-8"?>
Now it works great. UML generation is a wonderful feature.
I hope it can help. Many thanks for your great job.
olivier.thiery at ineo-orrma.fr