[Python-modules-team] Bug#527496: python-webob: FTBFS: 'datetime.timedelta' object has no attribute '__name__'

Daniel Schepler dschepler at gmail.com
Thu May 7 20:54:42 UTC 2009

Package: python-webob
Severity: serious

From my pbuilder build log:

mkdir docs/_static # Sphinx needs it
PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-webob/usr/share/doc/python-webob/docs/
Exception occurred:
  File "/usr/lib/pymodules/python2.5/sphinx/ext/autodoc.py", line 844, in import_object
    self.doc_as_attr = (self.objpath[-1] != self.object.__name__)
AttributeError: 'datetime.timedelta' object has no attribute '__name__'
The full traceback has been saved in /tmp/sphinx-err-gkORHk.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error message can be provided next time.
Send reports to sphinx-dev at googlegroups.com. Thanks!
make: *** [build-docs] Error 1
Daniel Schepler

More information about the Python-modules-team mailing list