[Epydoc-devel] AttributeError: _Sentinel instance has no attribute '__getitem__'
Brought to you by:
edloper
From: Nicholas C. <nic...@gm...> - 2007-03-29 13:17:19
|
Hi. I'm using the latest epidoc beta, and it keeps failing with the following error (I've included the warnings, in case they signify for this issue). If this is a known issue, is there anything I can do in my code as a work-around? Best wishes, N. Warning: Module npyscreen.ActionForm is shadowed by a variable with the same name. Warning: Module npyscreen.NewMenu is shadowed by a variable with the same name. Warning: Module npyscreen.Popup is shadowed by a variable with the same name. Warning: Module npyscreen.FormWithMenus is shadowed by a variable with the same name. Warning: Module npyscreen.NPSApp is shadowed by a variable with the same name. Warning: Module npyscreen.NPSAppManaged is shadowed by a variable with the same name. Warning: npyscreen.Menu shadows itself Warning: npyscreen.Form shadows itself Traceback (most recent call last): Progress: 00:02 File "/Library/Frameworks/Python.framework/Versions/Current/bin/epydoc", line 13, in <module> Writing HTML docs: epydoc.js cli() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/epydoc/cli.py", line 946, in cli main(options, names) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/epydoc/cli.py", line 764, in main write_html(docindex, options) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/epydoc/cli.py", line 804, in write_html html_writer.write(options.target) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/epydoc/docwriter/html.py", line 553, in write indices = {'ident': self.build_identifier_index(), File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/epydoc/docwriter/html.py", line 2817, in build_identifier_index name = plaintext_to_html(doc.canonical_name[-1]) AttributeError: _Sentinel instance has no attribute '__getitem__' |