Project

General

Profile

Bug #24660

admin/build-doc fails during autodoc on rados module: "AttributeError: __next__"

Added by Florian Haas 4 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/26/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Component(RADOS):

Description

I'm trying to send a doc patch and am running admin/build-doc in my local environment explained in [[http://docs.ceph.com/docs/master/start/documenting-ceph/]]. Here's what I get, right after start/quick-start-preflight, on Ubuntu Xenial with both the master and mimic branches.

/home/florian/git/ceph/doc/rados/api/python.rst:385: (WARNING/2) autodoc: failed to import method u'XattrIterator.__next__' from module u'rados'; the following exception was raised:
Traceback (most recent call last):
  File "/home/florian/git/ceph/build-doc/virtualenv/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 664, in import_object
    obj = self.get_attr(obj, part)
  File "/home/florian/git/ceph/build-doc/virtualenv/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 554, in get_attr
    return safe_getattr(obj, name, *defargs)
  File "/home/florian/git/ceph/build-doc/virtualenv/local/lib/python2.7/site-packages/sphinx/util/inspect.py", line 185, in safe_getattr
    raise AttributeError(name)
AttributeError: __next__

I'll go ahead and send my patch as a WIP PR anyway, but it would be great if this could be fixed, or the doc contributor documentation updated if I'm doing something wrong.

History

#1 Updated by Florian Haas 4 months ago

  • Subject changed from admin/build-doc fails to admin/build-doc fails during autodoc on rados module: "AttributeError: __next__"

#2 Updated by Greg Farnum 3 months ago

  • Project changed from Ceph to RADOS
  • Category deleted (documentation)

Also available in: Atom PDF