Luckily sphinx-build has a pdb option (-P) which let me narrow this
down easily, formencode.Validator triggers it. It's really a sphinx
bug with tricky classes, this fixes it:
http://pylonshq.com/pasties/cd4b0d856ce7efe39b8e7378b931c3ee
Could you maybe log a ticket about this with Sphinx?
I get another even stranger error after this when it's autodocing
WebOb. Do you get this with the patch applied?
Exception occurred:[ 89%] thirdparty/webob
File "/Users/pjenvey/src/python/pylons-apple/lib/python2.5/site-
packages/Sphinx-0.6.1-py2.5.egg/sphinx/ext/autodoc.py", line 844, in
import_object
self.doc_as_attr = (self.objpath[-1] != self.object.__name__)
AttributeError: '_AnyETag' object has no attribute '__name__'
->
>>> from webob.etag import _AnyETag
>>> _AnyETag.__name__
'_AnyETag'
FYI downgrading Sphinx should get around all this.
--
Philip Jenvey
> Yes, I will fill a ticket on sphinx. And I get the error with webob
> docs too.
>
> Reporting the bug right now!
Thanks! I fixed the WebOb problem and a couple other issues w/ sphinx
0.6 in the latest tip. With that patch it should all build, so
hopefully that fix makes it into 0.6.2 =]
--
Philip Jenvey