← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1163369] Re: Docs not building with Sphinx 1.2

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1163369

Title:
  Docs not building with Sphinx 1.2

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) grizzly series:
  Fix Released

Bug description:
  Sphinx 1.2b1 came out on the 31st. When running ./run_tests.sh --docs,
  the following happens:

  reading sources... [ 64%] sourcecode/openstack_dashboard/openstack_dashboard.dashboards.project.images_and_snapshots.images.tables
  Exception occurred:
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/sphinx/application.py", line 349, in emit
      self.debug2('[app] emitting event: %r%s', event, repr(args)[:100])
  TypeError: __repr__ returned non-string (type NoneType)
  The full traceback has been saved in /tmp/sphinx-err-xn6noG.log, if you want to report the issue to the developers.
  Please also report this if it was a user error, so that a better error message can be provided next time.

  Not much more information in the indicated logs besides version numbers:
  # Sphinx version: 1.2b1
  # Python version: 2.7.3
  # Docutils version: 0.9.1 release
  # Jinja2 version: 2.6
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 1346, in run
      documenter.generate(more_content=self.content)
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 755, in generate
      self.document_members(all_members)
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 648, in document_members
      for (mname, member, isattr) in self.filter_members(members, want_all):
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 616, in filter_members
      not keep, self.options)
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/sphinx/application.py", line 357, in emit_firstresult
      for result in self.emit(event, *args):
    File "/home/jpichon/devel/horizon/.venv/lib/python2.7/site-packages/sphinx/application.py", line 349, in emit
      self.debug2('[app] emitting event: %r%s', event, repr(args)[:100])
  TypeError: __repr__ returned non-string (type NoneType)

  
  See also http://logs.openstack.org/25901/1/check/gate-horizon-docs/1566/console.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1163369/+subscriptions