Skip to content

Instantly share code, notes, and snippets.

@sideshowbarker
Created January 2, 2012 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sideshowbarker/1549710 to your computer and use it in GitHub Desktop.
Save sideshowbarker/1549710 to your computer and use it in GitHub Desktop.
anolis error "argument to reversed() must be a sequence"
anolis --dump-xrefs=data/xrefs/dom/url.json Overview.src.html /tmp/spec
Traceback (most recent call last):
File "/usr/local/bin/anolis", line 279, in <module>
main()
File "/usr/local/bin/anolis", line 62, in main
tree = generator.fromFile(input, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/anolis-1.1dev-py2.6.egg/anolislib/generator.py", line 87, in fromFile
process(tree, processes, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/anolis-1.1dev-py2.6.egg/anolislib/generator.py", line 43, in process
getattr(process_module, process)(tree, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/anolis-1.1dev-py2.6.egg/anolislib/processes/toc.py", line 41, in __init__
self.buildToc(ElementTree, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/anolis-1.1dev-py2.6.egg/anolislib/processes/toc.py", line 51, in buildToc
sections = [(section, 0) for section in reversed(outline)]
TypeError: argument to reversed() must be a sequence
make: *** [data/xrefs/dom/url.json] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment