Cannot generate documentation locally

Bug #1744334 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-bgpvpn
Fix Released
Undecided
Édouard Thuleau

Bug Description

From a fresh clone of the networking_bgpvpn repository, generating documentation with appropriate tox command (tox -edocs) fails:

running build_sphinx
[pbr] Writing ChangeLog
[pbr] Generating ChangeLog
[pbr] ChangeLog complete (0.0s)
[pbr] Generating AUTHORS
[pbr] AUTHORS complete (0.0s)
Running Sphinx v1.6.6

Configuration error:
There is a programable error in your configuration file:

Traceback (most recent call last):
  File "/home/doude/Documents/sources/openstack/networking-bgpvpn/.tox/docs/lib/python3.6/site-packages/sphinx/config.py", line 157, in __init__
    execfile_(filename, config)
  File "/home/doude/Documents/sources/openstack/networking-bgpvpn/.tox/docs/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "conf.py", line 111, in <module>
    for conf in _config_generator_config_files
  File "conf.py", line 111, in <listcomp>
    for conf in _config_generator_config_files
  File "conf.py", line 102, in _get_config_generator_config_definition
    config_file_path = '../../etc/oslo-config-generator/%s' % conf
NameError: name 'conf' is not defined

Tags: docs
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-bgpvpn (master)

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

Changed in bgpvpn:
assignee: nobody → Édouard Thuleau (ethuleau)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-bgpvpn (master)

Reviewed: https://review.openstack.org/535794
Committed: https://git.openstack.org/cgit/openstack/networking-bgpvpn/commit/?id=f30a15baef35b1cbc5c87aef04616d203157f285
Submitter: Zuul
Branch: master

commit f30a15baef35b1cbc5c87aef04616d203157f285
Author: Édouard Thuleau <email address hidden>
Date: Fri Jan 19 16:08:36 2018 +0100

    Fix small typo in docs configuration file

    Change-Id: I3359c56e0dfca297500796887cda70cd509dfbb2
    Closes-Bug: #1744334

Changed in bgpvpn:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-bgpvpn 8.0.0.0b3

This issue was fixed in the openstack/networking-bgpvpn 8.0.0.0b3 development milestone.

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.