← Back to team overview

registry team mailing list archive

[Bug 680504] [NEW] Admindocs fail to build.

 

Public bug reported:

writing output... [  0%] adminguide/binaries
/home/chuck/work/server/openstack/build-area/build/nova-2011.1~bzr412/doc/ext/nova_todo.py:31: DeprecationWarning: docutils.nodes.Element.set_class deprecated; append to Element['classes'] list attribute directly
  lists[i].set_class('todo_list')
Traceback (most recent call last):
  File "setup.py", line 68, in <module>
    'tools/nova-debug'])
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "setup.py", line 32, in run
    BuildDoc.run(self)
  File "/usr/lib/pymodules/python2.6/sphinx/setup_command.py", line 84, in run
    app.builder.build_all()
  File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 228, in build_all
    self.build(None, summary='all source files', method='all')
  File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 320, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 359, in write
    self.write_doc(docname, doctree)
  File "/usr/lib/pymodules/python2.6/sphinx/builders/html.py", line 357, in write_doc
    self.handle_page(docname, ctx, event_arg=doctree)
  File "/usr/lib/pymodules/python2.6/sphinx/builders/html.py", line 672, in handle_page
    output = self.templates.render(templatename, ctx)
  File "/usr/lib/pymodules/python2.6/sphinx/jinja2glue.py", line 107, in render
    return self.environment.get_template(template).render(context)
  File "/usr/lib/pymodules/python2.6/jinja2/environment.py", line 891, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/share/sphinx/themes/basic/page.html", line 1, in top-level template code
    {% extends "layout.html" %}
  File "/home/chuck/work/server/openstack/build-area/build/nova-2011.1~bzr412/doc/source/./_theme/layout.html", line 2, in top-level template code
    {% set css_files = css_files + ['_static/tweaks.css'] %}
jinja2.exceptions.UndefinedError: 'css_files' is undefined

** Affects: nova
     Importance: Undecided
         Status: New

-- 
Admindocs fail to build.
https://bugs.launchpad.net/bugs/680504
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References