When trying to generate html output, epydoc crashes with:
File "/usr/local/lib/python2.6/dist-packages/epydoc-3.0.1-py2.6.egg/epydoc/markup/pyval_repr.py", line 476, in _colorize_re_tree
log.error("Error colorizing regexp: unknown elt %r" % elt)
NameError: global name 'log' is not defined
If i understand correctly, epydoc fails to generate an error message while colorizing a regexp, due to a missing elif-branch. I wasn't able to create a simple regexp, that would demonstrate the bug (partly due to not having a nice error message). However, the missing elif-branch would be this:
elif op == sre_constants.GROUPREF_EXISTS:
...
Epydoc was called with '--html --docformat plaintext -v --debug'. The crash does not occur with '--parse-only'.
Epydoc was version 3.0.1 installed with easy_install, python 2.6.
A full backtrace is attached.
If i could provide any other helpful information, please let me know.
python backtrace