On Tuesday, 6 March 2012 07:47:59 UTC-5, Rita Morgan wrote: > > Exception occurred: > File "/usr/lib/pymodules/python2.7/sphinx/builders/html.py", line > 644, in add_sidebars > for pattern, patsidebars in self.config.html_sidebars.iteritems(): > AttributeError: 'set' object has no attribute 'iteritems' >
One final comment on this subject (which I should have included in my original post). 8) What Python is telling you here is that it expects "html_sidebars" to point to an object ("have a value") that is an "iterable" (that is, it's an ordered list-y type thing that has certain built-in properties, one of which being that it can iteratively (in order) return each contained item in its sequence, with the built-in function iteritems() ). For the precise language definition of "iterable", see <http://docs.python.org/glossary.html#term-iterable> Your assignment created a "set" which I believe is not an "iterable" thing because it's by definition "un-ordered". -- V. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/gy3sdDF2cKYJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.