Created attachment 704498 [details] patch to fix the quoting issue Description of problem: inheritance_diagram extension fails Version-Release number of selected component (if applicable): 1.1.3-6.fc19 How reproducible: always Steps to Reproduce: mkdir test; cd test cat >conf.py <<EOF extensions = ['sphinx.ext.inheritance_diagram'] source_suffix = '.rst' master_doc = 'index' EOF cat >index.rst <<EOF .. inheritance-diagram:: codecs EOF sphinx-build . _build Actual results: [...] Exception occurred: File "/usr/lib/python2.7/site-packages/sphinx/ext/graphviz.py", line 219, in render_dot_html mapfile = open(outfn + '.map', 'rb') IOError: [Errno 2] No such file or directory: '.../test/_build/_images/inheritance-90996c90890e28152202f5e31272c0b2afdca648.png.map' [...] Expected results: Docs being generated without error. Additional info: This is caused by a quoting bug in sphinx/ext/inheritance_diagram.py, which creates wrong input for dot. Seems older dot versions somehow tolerated this. The attached patch fixes the issue. Note this has been fixed upstream in commit https://bitbucket.org/birkenfeld/sphinx/commits/fc1db93d21a5a535d9d62e5a0c9f0a806a8c117a This commit hasn't made it into a release yet, though.
Thanks. I'll apply your patch, since the upstream patch also perform unrelated changes (that might not work properly if applied on top of the latest release)
Thanks for applying the patch. Seems to work (even if a patch in waf was also needed to fix waf's FTBFS bug).
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
This is fixed.