autodoc import error for plugin.rst

Bug #1353645 reported by Arvind Tiwari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
Arvind Tiwari

Bug Description

Getting following error while running tox

loading pickled environment... done
Using openstack theme from /home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/oslosphinx/theme
building [html]: all source files
updating environment: 0 added, 1 changed, 0 removed
Traceback (most recent call last):
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
    obj = self.get_attr(obj, part)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
    return safe_getattr(obj, name, *defargs)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
    raise AttributeError(name)
AttributeError: KEKMetaDTO
Traceback (most recent call last):
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
    obj = self.get_attr(obj, part)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
    return safe_getattr(obj, name, *defargs)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
    raise AttributeError(name)
AttributeError: EncryptDTO
Traceback (most recent call last):
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
    obj = self.get_attr(obj, part)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
    return safe_getattr(obj, name, *defargs)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
    raise AttributeError(name)
AttributeError: DecryptDTO
Traceback (most recent call last):
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
    obj = self.get_attr(obj, part)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
    return safe_getattr(obj, name, *defargs)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
    raise AttributeError(name)
AttributeError: GenerateDTO
Traceback (most recent call last):
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 326, in import_object
    obj = self.get_attr(obj, part)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 232, in get_attr
    return safe_getattr(obj, name, *defargs)
  File "/home/atiwari/cloudDev/barbicanDev/barbican-master/.tox/venv/lib/python2.7/site-packages/sphinx/util/inspect.py", line 70, in safe_getattr
    raise AttributeError(name)
AttributeError: CryptoPluginBase

/home/atiwari/cloudDev/barbicanDev/barbican-master/doc/source/plugin.rst:35: WARNING: autodoc can't import/find class 'barbican.plugin.crypto.KEKMetaDTO', it reported error: "KEKMetaDTO", please check your spelling and sys.path
/home/atiwari/cloudDev/barbicanDev/barbican-master/doc/source/plugin.rst:37: WARNING: autodoc can't import/find class 'barbican.plugin.crypto.EncryptDTO', it reported error: "EncryptDTO", please check your spelling and sys.path
/home/atiwari/cloudDev/barbicanDev/barbican-master/doc/source/plugin.rst:39: WARNING: autodoc can't import/find class 'barbican.plugin.crypto.DecryptDTO', it reported error: "DecryptDTO", please check your spelling and sys.path
/home/atiwari/cloudDev/barbicanDev/barbican-master/doc/source/plugin.rst:41: WARNING: autodoc can't import/find class 'barbican.plugin.crypto.GenerateDTO', it reported error: "GenerateDTO", please check your spelling and sys.path
/home/atiwari/cloudDev/barbicanDev/barbican-master/doc/source/plugin.rst:50: WARNING: autodoc can't import/find class 'barbican.plugin.crypto.CryptoPluginBase', it reported error: "CryptoPluginBase", please check your spelling and sys.path

Changed in barbican:
assignee: nobody → Arvind Tiwari (arvind-tiwari)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

Fix proposed to branch: master
Review: https://review.openstack.org/112390

Changed in barbican:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/112390
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=b80081f18e40a225de04cc6200b9143e049fb0db
Submitter: Jenkins
Branch: master

commit b80081f18e40a225de04cc6200b9143e049fb0db
Author: Arvind Tiwari <email address hidden>
Date: Wed Aug 6 13:25:56 2014 -0600

    autodoc import error for plugin.rst

    Closes-Bug: 1353645

    Change-Id: I0298038418ca771348576b6686069040416a6d8d

Changed in barbican:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in barbican:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: juno-3 → 2014.2
Changed in barbican:
importance: Undecided → High
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.