Created
April 11, 2014 23:03
-
-
Save bwhaley/10508449 to your computer and use it in GitHub Desktop.
ansible make webdocs error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rendering: slack | |
rendering: slurp | |
rendering: sns | |
rendering: stackdriver | |
Traceback (most recent call last): | |
File "../hacking/module_formatter.py", line 323, in <module> | |
main() | |
File "../hacking/module_formatter.py", line 318, in main | |
process_category(category, categories, options, env, template, outputname) | |
File "../hacking/module_formatter.py", line 268, in process_category | |
result = process_module(module, options, env, template, outputname, module_map) | |
File "../hacking/module_formatter.py", line 234, in process_module | |
text = template.render(doc) | |
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 969, in render | |
return self.environment.handle_exception(exc_info, True) | |
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 742, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "../hacking/templates/rst.j2", line 64, in top-level template code | |
<td>{% for desc in v.description -%}@{ desc | html_ify }@{% endfor -%}{% if v['version_added'] %} (added in Ansible @{v['version_added']}@){% endif %}</td> | |
File "../hacking/module_formatter.py", line 79, in html_ify | |
t = cgi.escape(text) | |
File "/usr/lib/python2.7/cgi.py", line 1035, in escape | |
s = s.replace("&", "&") # Must be done first! | |
AttributeError: 'dict' object has no attribute 'replace' | |
make[1]: *** [modules] Error 1 | |
make[1]: Leaving directory `/vagrant/ansible/docsite' | |
make: *** [webdocs] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment