Project

General

Profile

Actions

Bug #24660

open

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

Added by Florian Haas almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Florian Haas almost 6 years ago

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

Updated by Greg Farnum almost 6 years ago

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

Also available in: Atom PDF