ttributeError: 'Sphinx' object has no attribute 'info'

Bug #1836551 reported by Brin Zhang on 2019-07-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
masakari
Undecided
Brin Zhang

Bug Description

2019-07-15 08:11:17.969572 | ubuntu-bionic | [pbr] AUTHORS complete (0.0s)
2019-07-15 08:11:17.971297 | ubuntu-bionic | Running Sphinx v2.1.2
2019-07-15 08:11:18.273663 | ubuntu-bionic | making output directory... done
2019-07-15 08:11:18.288495 | ubuntu-bionic |
2019-07-15 08:11:18.288592 | ubuntu-bionic | Exception occurred:
2019-07-15 08:11:18.288830 | ubuntu-bionic | File "/home/zuul/src/opendev.org/openstack/masakari-specs/.tox/docs/lib/python3.6/site-packages/oslosphinx/__init__.py", line 76, in builder_inited
2019-07-15 08:11:18.288938 | ubuntu-bionic | app.info('Using openstack theme from %s' % theme_dir)
2019-07-15 08:11:18.289040 | ubuntu-bionic | AttributeError: 'Sphinx' object has no attribute 'info'
2019-07-15 08:11:18.289226 | ubuntu-bionic | The full traceback has been saved in /tmp/sphinx-err-4r5t4ggs.log, if you want to report the issue to the developers.
2019-07-15 08:11:18.289402 | ubuntu-bionic | Please also report this if it was a user error, so that a better error message can be provided next time.
2019-07-15 08:11:18.289592 | ubuntu-bionic | A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
2019-07-15 08:11:18.397328 | ubuntu-bionic | ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/masakari-specs/.tox/docs/bin/python setup.py build_sphinx (exited with code 1)
2019-07-15 08:11:18.397492 | ubuntu-bionic | docs finish: run-test after 1.06 seconds
2019-07-15 08:11:18.397627 | ubuntu-bionic | docs start: run-test-post
2019-07-15 08:11:18.397724 | ubuntu-bionic | docs finish: run-test-post after 0.00 seconds
2019-07-15 08:11:18.398040 | ubuntu-bionic | ___________________________________ summary ____________________________________
2019-07-15 08:11:18.398150 | ubuntu-bionic | ERROR: docs: commands failed
2019-07-15 08:11:18.481753 | ubuntu-bionic | ERROR
2019-07-15 08:11:18.482823 | ubuntu-bionic | {
2019-07-15 08:11:18.483156 | ubuntu-bionic | "delta": "0:00:02.655057",
2019-07-15 08:11:18.483288 | ubuntu-bionic | "end": "2019-07-15 08:11:18.414663",
2019-07-15 08:11:18.483404 | ubuntu-bionic | "msg": "non-zero return code",
2019-07-15 08:11:18.483529 | ubuntu-bionic | "rc": 1,
2019-07-15 08:11:18.483640 | ubuntu-bionic | "start": "2019-07-15 08:11:15.759606"
2019-07-15 08:11:18.483748 | ubuntu-bionic | }

I was fixed it with [1], but seems need more info.
Please review [1].
[1] https://review.opendev.org/#/c/670776/

Brin Zhang (zhangbailin) on 2019-07-15
Changed in masakari:
assignee: nobody → Brin Zhang (zhangbailin)
Brin Zhang (zhangbailin) on 2019-07-15
description: updated
Changed in masakari:
status: New → Confirmed
Changed in masakari:
status: Confirmed → In Progress

Reviewed: https://review.opendev.org/670776
Committed: https://git.openstack.org/cgit/openstack/masakari-specs/commit/?id=a77b25756c9da95b65b785c9ee99c990f4cc807b
Submitter: Zuul
Branch: master

commit a77b25756c9da95b65b785c9ee99c990f4cc807b
Author: zhangbailin <email address hidden>
Date: Mon Jul 15 16:00:29 2019 +0800

    Relace the old docs env

    Add the sphinx-build for this project, remove 'oslosphinx' and add
    'penstackdocstheme' to support python3.

    Closes-Bug: #1836551
    Change-Id: I0aac32c27436671841becada6e6da238c0913631

Changed in masakari:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers