{"action":"opened","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1521","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1521/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1521/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1521/events","html_url":"https://github.com/sphinx-doc/testing2/issues/1521","id":53300149,"number":1521,"title":"IOError with sphinx.ext.graphviz","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-03T10:11:58Z","updated_at":"2015-01-03T10:11:58Z","closed_at":null,"body":"This works:\n```\n.. graph:: bla\n\n   \"First\"  -- \"Second\";\n```\n\nNow I want to switch to this, which would also work:\n```\n.. digraph:: bla\n\n   \"First\"  -> \"Second\";\n```\n\nBut instead by mistake write:\n```\n.. graph:: bla\n\n   \"First\"  -> \"Second\";\n```\n\nThis doesn't work and says \"Please also report this if it was a user error, so that a better error message can be provided next time.\"\n\n```\n# Sphinx version: 1.2b1\n# Python version: 2.7.2\n# Docutils version: 0.10 release\n# Jinja2 version: 2.6\nTraceback (most recent call last):\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\cmdline.py\", line 247, in main\n    app.build(force_all, filenames)\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\application.py\", line 211, in build\n    self.builder.build_update()\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\builders\\__init__.py\", line 211, in build_update\n    'out of date' &#37; len(to_build))\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\builders\\__init__.py\", line 267, in build\n    self.write(docnames, list(updated_docnames), method)\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\builders\\__init__.py\", line 310, in write\n    self._write_serial(sorted(docnames), warnings)\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\builders\\__init__.py\", line 323, in _write_serial\n    self.write_doc(docname, doctree)\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\builders\\html.py\", line 432, in write_doc\n    self.docwriter.write(doctree, destination)\n  File \"c:\\Python27\\lib\\site-packages\\docutils-0.10-py2.7.egg\\docutils\\writers\\__init__.py\", line 80, in write\n    self.translate()\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\writers\\html.py\", line 41, in translate\n    self.document.walkabout(visitor)\n  File \"c:\\Python27\\lib\\site-packages\\docutils-0.10-py2.7.egg\\docutils\\nodes.py\", line 174, in walkabout\n    if child.walkabout(visitor):\n  File \"c:\\Python27\\lib\\site-packages\\docutils-0.10-py2.7.egg\\docutils\\nodes.py\", line 174, in walkabout\n    if child.walkabout(visitor):\n  File \"c:\\Python27\\lib\\site-packages\\docutils-0.10-py2.7.egg\\docutils\\nodes.py\", line 174, in walkabout\n    if child.walkabout(visitor):\n  File \"c:\\Python27\\lib\\site-packages\\docutils-0.10-py2.7.egg\\docutils\\nodes.py\", line 166, in walkabout\n    visitor.dispatch_visit(self)\n  File \"c:\\Python27\\lib\\site-packages\\docutils-0.10-py2.7.egg\\docutils\\nodes.py\", line 1627, in dispatch_visit\n    return method(node)\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\ext\\graphviz.py\", line 237, in html_visit_graphviz\n    render_dot_html(self, node, node['code'], node['options'])\n  File \"c:\\Python27\\lib\\site-packages\\sphinx-1.2b1-py2.7.egg\\sphinx\\ext\\graphviz.py\", line 213, in render_dot_html\n    mapfile = open(outfn + '.map', 'rb')\nIOError: [Errno 2] No such file or directory: u'C:\\\\SphinxProject\\\\_build\\\\html\\\\_images\\\\graphviz-367d8a20015790dd3c1b80948bd0d2a28865e3ca.png.map'\n\n```\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/1521\n- Originally reported by: Anonymous\n- Originally created at: 2014-07-25T11:04:11.896\n"}}