#314 Crash "iteration over non-sequence"

open
5
2014-05-21
2009-07-09
Anonymous
No

cli.py --config epydoc\epydoc.conf --exclude="epydocGEN|test|treatment" --debug

Here is the traceback :

Traceback (most recent call last):-] Writing HTML docs: int-class.html
File "C:\Python25\Lib\site-packages\epydoc\cli.py", line 1469, in <module>
cli()
File "C:\Python25\Lib\site-packages\epydoc\cli.py", line 965, in cli
main(options, names)
File "C:\Python25\Lib\site-packages\epydoc\cli.py", line 783, in main
write_html(docindex, options)
File "C:\Python25\Lib\site-packages\epydoc\cli.py", line 823, in write_html
html_writer.write(options.target)
File "C:\Python25\lib\site-packages\epydoc\docwriter\html.py", line 641, in write
self._write(self.write_class, directory, filename, doc)
File "C:\Python25\lib\site-packages\epydoc\docwriter\html.py", line 711, in _write
write_func(f.write, *args)
File "C:\Python25\lib\site-packages\epydoc\docwriter\html.py", line 851, in write_class
self.write_class_tree_graph(out, doc, uml_class_tree_graph)
File "C:\Python25\lib\site-packages\epydoc\docwriter\html.py", line 944, in write_class_tree_graph
self.render_graph(graphmaker(doc, linker, doc)))
File "C:\Python25\lib\site-packages\epydoc\docwriter\dotgraph.py", line 1098, in uml_class_tree_graph
bgcolor=SUBCLASS_BG)
File "C:\Python25\lib\site-packages\epydoc\docwriter\dotgraph.py", line 470, in __init__
for var in class_doc.sorted_variables:
TypeError: iteration over non-sequence

Discussion

  • Kaloo

    Kaloo - 2009-07-09

    It was due to a wrong property.
    Precisely, the following line in a class :
    a = property(int, 0)

    instead of a getter and a setter....

     
  • Lukas Pirl

    Lukas Pirl - 2014-05-21

    Looks related to [#364]

     

    Related

    Bugs: #364

  • Lukas Pirl

    Lukas Pirl - 2014-05-21

    Probably fixed in [r1728]

     

    Related

    Commit: [r1728]


Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks