Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encounter ''NoneType' object is not iterable' #3782

Closed
jichenjc opened this issue May 22, 2017 · 2 comments
Closed

encounter ''NoneType' object is not iterable' #3782

jichenjc opened this issue May 22, 2017 · 2 comments

Comments

@jichenjc
Copy link

https://review.openstack.org/#/c/463446/3
had this issue, master branch didn't have issue while I did not change too much stuff in this patch, might be related to some recent sphinx changes ?

File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/init.py", li ne 440, in _write_serial
34 self.write_doc(docname, doctree)
35 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/html.py", line 5 56, in write_doc
36 self.handle_page(docname, ctx, event_arg=doctree)
37 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/html.py", line 9 40, in handle_page
38 output = self.templates.render(templatename, ctx)
39 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/jinja2glue.py", line 176, in render
40 return self.environment.get_template(template).render(context)
41 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/jinja2/environment.py", line 100 8, in render
42 return self.environment.handle_exception(exc_info, True)
43 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/jinja2/environment.py", line 780 , in handle_exception
44 reraise(exc_type, exc_value, tb)
45 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/themes/basic/page.html", line 10, in top-level template code
46 {%- extends "layout.html" %}
47 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/oslosphinx/theme/openstack/layou t.html", line 2, in top-level template code
48 {% set css_files = css_files + ['_static/tweaks.css'] %}
49 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/themes/basic/../basic/lay out.html", line 128, in top-level template code
50 {%- block csss %}
51 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/themes/basic/../basic/lay out.html", line 129, in block "csss"
52 {{ css() }}
53 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/jinja2/sandbox.py", line 427, in call
54 return __context.call(__obj, *args, **kwargs)
55 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/jinja2/runtime.py", line 553, in _invoke
56 rv = self._func(*arguments)
57 File "/home/jichen/stack-forge-nova-zvm/nova-zvm-virt-driver/.tox/docs/local/lib/python2.7/site-packages/sphinx/themes/basic/../basic/lay out.html", line 108, in template
58 {%- for css in css_files %}

@tk0miya
Copy link
Member

tk0miya commented May 22, 2017

Sorry for inconvenience.
That was already fixed at #3754.

@jichenjc
Copy link
Author

thanks a lot for your help~

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants