#256 mysterious crash


I am running Epydoc, version 3.0.1, patched as described in bug # 1892820

An epydoc config file contains:

css: white
parse: yes
introspect: no
imports: no
include-log: no
graph: all
modules: pyraf
output: html

The module "pyraf" contains only a single source file __init__.py that contains:

from Tkinter import *
class a(Widget, b):

When I run the command:

epydoc --debug -v --config tmp.cfg -o dir

I get this output:

Traceback (most recent call last): Progress: 00:00
File "/usr/stsci/pyssgdev/Python-2.5.1/bin/epydoc", line 13, in <module>==========================================================-----------------]
cli() Writing HTML docs to 'dir': int-class.html
File "/usr/stsci/pyssgdev/2.5.1/epydoc/cli.py", line 965, in cli
main(options, names)
File "/usr/stsci/pyssgdev/2.5.1/epydoc/cli.py", line 783, in main
write_html(docindex, options)
File "/usr/stsci/pyssgdev/2.5.1/epydoc/cli.py", line 823, in write_html
File "/usr/stsci/pyssgdev/2.5.1/epydoc/docwriter/html.py", line 641, in write
self._write(self.write_class, directory, filename, doc)
File "/usr/stsci/pyssgdev/2.5.1/epydoc/docwriter/html.py", line 711, in _write
write_func(f.write, *args)
File "/usr/stsci/pyssgdev/2.5.1/epydoc/docwriter/html.py", line 851, in write_class
self.write_class_tree_graph(out, doc, uml_class_tree_graph)
File "/usr/stsci/pyssgdev/2.5.1/epydoc/docwriter/html.py", line 944, in write_class_tree_graph
self.render_graph(graphmaker(doc, linker, doc)))
File "/usr/stsci/pyssgdev/2.5.1/epydoc/docwriter/dotgraph.py", line 1098, in uml_class_tree_graph
File "/usr/stsci/pyssgdev/2.5.1/epydoc/docwriter/dotgraph.py", line 470, in __init__
for var in class_doc.sorted_variables:
TypeError: iteration over non-sequence

It I delete either one of the two lines in __init__.py, it does not crash.

If I change the name of "Widget" to "c", it does not crash.

If I remove "graph: all" from the config file, it does not crash.

If you would like more information, you can send me email at stsci.edu. My email address is sienkiew.


  • Edward Loper

    Edward Loper - 2008-02-18

    Logged In: YES
    Originator: NO

    Fixed in svn 1728.

  • Edward Loper

    Edward Loper - 2008-02-18
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks