ZeroDivisionError after upgrade to 1.7
Created originally on Bitbucket by Anonymous
Hello,
after upgrade of cloud theme to 1.7 I'm getting ZeroDivisionError error:
#!python
# Sphinx version: 1.3.1
# Python version: 3.4.1 (CPython)
# Docutils version: 0.12 release
# Jinja2 version: 2.7.3
# Last messages:
# writing output... [ 99%] workflows/WEBSHOP-WRAPPER
# writing output... [100%] workflows/WEBSHOP-WRAPPER/v1.1/WEBSHOP-WRAPPER_v1.1
#
# generating indices...
# genindex
#
# writing additional pages...
# search
#
# copying static files...
# Loaded extensions:
# sphinx.ext.extlinks (1.3.1) from /appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/ext/extlinks.py
# sphinx.ext.todo (1.3.1) from /appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/ext/todo.py
# sphinx.ext.graphviz (1.3.1) from /appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/ext/graphviz.py
# alabaster (0.7.6) from /appl/qorus/sw/lib/python3.4/site-packages/alabaster-0.7.6-py3.4.egg/alabaster/__init__.py
Traceback (most recent call last):
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/cmdline.py", line 245, in main
app.build(opts.force_all, filenames)
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/application.py", line 264, in build
self.builder.build_update()
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/builders/__init__.py", line 245, in build_update
'out of date' % len(to_build))
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/builders/__init__.py", line 319, in build
self.finish()
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/builders/html.py", line 459, in finish
self.finish_tasks.add_task(self.copy_static_files)
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/util/parallel.py", line 39, in add_task
res = task_func()
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/builders/html.py", line 599, in copy_static_files
self, ctx)
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/util/__init__.py", line 181, in copy_static_entry
exclude_matchers=exclude_matchers)
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/util/__init__.py", line 165, in copy_static_entry
fdst.write(builder.templates.render_string(fsrc.read(), context))
File "/appl/qorus/sw/lib/python3.4/site-packages/Sphinx-1.3.1-py3.4.egg/sphinx/jinja2glue.py", line 141, in render_string
return self.environment.from_string(source).render(context)
File "/appl/qorus/sw/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/appl/qorus/sw/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "/appl/qorus/sw/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_compat.py", line 36, in reraise
raise value.with_traceback(tb)
File "<template>", line 1031, in <module>
File "/appl/qorus/sw/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/sandbox.py", line 356, in call
return __context.call(__obj, *args, **kwargs)
File "<template>", line 162, in <module>
File "/appl/qorus/sw/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/sandbox.py", line 356, in call
return __context.call(__obj, *args, **kwargs)
File "<template>", line 136, in <module>
ZeroDivisionError: float division by zero
After rollback to 1.6 the error is gone.