Found it: this was a problem with pngmath_use_preview . Not sure why it suddenly stopped working, but disabling it solved my problem.
On Jan 13, 10:35 am, daspostloch <daspostl...@googlemail.com> wrote: > Hi, > > when compiling my project documentation I get the following error: > > preparing documents... done > writing output... [ 27%] my_project/pageA > Exception occurred: > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/util/ > png.py", line 54, in write_png_depth > f.write(struct.pack('!i', binascii.crc32(DEPTH_CHUNK_START + > data))) > struct.error: 'i' format requires -2147483648 <= number <= 2147483647 > The full traceback has been saved in /tmp/sphinx-err-ea_gck.log, if > you want to report the issue to the developers. > > Any ideas what the problem can be? How can I debug this? Is it a bug > or problem with my input (it is not related to the file mentioned > right before, as I tried uncommenting that one..). Any and all help is > greatly appreciated. Thanks and best, Paul > > P.S.: the log file in /tmp/ reads: > > # Sphinx version: 1.1.2 > # Python version: 3.2.2 > # Docutils version: 0.8.1 release > # Jinja2 version: 2.6 > Traceback (most recent call last): > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ > cmdline.py", line 189, in main > app.build(force_all, filenames) > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ > application.py", line 204, in build > self.builder.build_update() > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ > builders/__init__.py", line 196, in build_update > 'out of date' % len(to_build)) > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ > builders/__init__.py", line 252, in build > self.write(docnames, list(updated_docnames), method) > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ > builders/__init__.py", line 292, in write > self.write_doc(docname, doctree) > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ > builders/html.py", line 419, in write_doc > self.docwriter.write(doctree, destination) > File "/home/.../build/lib/python/docutils-0.8.1-py3.2.egg/docutils/ > writers/__init__.py", line 77, in write > self.translate() > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ > writers/html.py", line 38, in translate > self.document.walkabout(visitor) > File "/home/.../build/lib/python/docutils-0.8.1-py3.2.egg/docutils/ > nodes.py", line 173, in walkabout > if child.walkabout(visitor): > File "/home/.../build/lib/python/docutils-0.8.1-py3.2.egg/docutils/ > nodes.py", line 173, in walkabout > if child.walkabout(visitor): > File "/home/.../build/lib/python/docutils-0.8.1-py3.2.egg/docutils/ > nodes.py", line 173, in walkabout > if child.walkabout(visitor): > File "/home/.../build/lib/python/docutils-0.8.1-py3.2.egg/docutils/ > nodes.py", line 165, in walkabout > visitor.dispatch_visit(self) > File "/home/.../build/lib/python/docutils-0.8.1-py3.2.egg/docutils/ > nodes.py", line 1604, in dispatch_visit > return method(node) > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ext/ > pngmath.py", line 213, in html_visit_displaymath > fname, depth = render_math(self, latex) > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/ext/ > pngmath.py", line 166, in render_math > write_png_depth(outfn, depth) > File "/home/.../build/lib/python/Sphinx-1.1.2-py3.2.egg/sphinx/util/ > png.py", line 54, in write_png_depth > f.write(struct.pack('!i', binascii.crc32(DEPTH_CHUNK_START + > data))) > struct.error: 'i' format requires -2147483648 <= number <= 2147483647 -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.