#298 no callgraphs created

devel (cvs)
open
Edward Loper
5
2008-11-13
2008-11-13
No

Hi!

I installed epydoc from svn. The Files get parsed here, but no single call-graph is generated (no graphs at all even --graph=all).

GraphViz graphviz-2.18-25.2
GraphViz-python graphviz-python-2.18-25.2

I tried -v and --debug, but didn't see any error.
Please help!

Discussion

  • The problem is that the regular expression used to check the dot version is wrong, and that in SVN this is now being always checked before generating dot graphs.

    Applying the following patch fixes it:

    Index: epydoc/docwriter/dotgraph.py

    --- epydoc/docwriter/dotgraph.py (revision 1812)
    +++ epydoc/docwriter/dotgraph.py (working copy)
    @@ -1495,7 +1495,7 @@
    ######################################################################

    _dot_version = None
    -_DOT_VERSION_RE = re.compile(r'dot version ([\d\.]+)')
    +_DOT_VERSION_RE = re.compile(r'.*version ([\d\.]+)')
    def get_dot_version():
    global _dot_version
    if _dot_version is None: