{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1258","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1258/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1258/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1258/events","html_url":"https://github.com/sphinx-doc/testing2/issues/1258","id":53296772,"number":1258,"title":"`make clean {html or doctest}` can't find a file sometimes","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"},{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/cmdline","name":"cmdline","color":"FFFFFF"},{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-03T06:56:11Z","updated_at":"2015-01-03T06:56:14Z","closed_at":"2015-01-03T06:56:12Z","body":"To build the documentation, I run `make clean html` and sometimes (not always) it crashes:\n\n\n```\n➜ make clean html\nrm -rf _build/*\nsphinx-build -b html -d _build/doctrees   . _build/html\nMaking output directory...\nRunning Sphinx v1.1.3\nloading pickled environment... not yet created\nbuilding [html]: targets for 4 source files that are out of date\nupdating environment: 4 added, 0 changed, 0 removed\nreading sources... [100&#37;] usage                                                                                                      \nlooking for now-outdated files... none found\npickling environment... done\nchecking consistency... done\npreparing documents... done\nwriting output... [ 50&#37;] features                                                                                                    \nException occurred:\n  File \"/usr/local/lib/python2.7/dist-packages/sphinx/environment.py\", line 1213, in get_doctree\n    f = open(doctree_filename, 'rb')\nIOError: [Errno 2] No such file or directory: '<project>/doc/_build/doctrees/features.doctree'\nThe full traceback has been saved in /tmp/sphinx-err-nCXS0n.log, if you want to report the issue to the developers.\nPlease also report this if it was a user error, so that a better error message can be provided next time.\nEither send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,\nor report them in the tracker at <https://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!\nmake: *** [html] Error 1\n```\n\nA very similar error is given sometimes for `make clean doctest`, but it can't find another file:\n\n```\n➜ make clean doctest\nrm -rf _build/*\nsphinx-build -b doctest -d _build/doctrees   . _build/doctest\nMaking output directory...\nRunning Sphinx v1.1.3\nloading pickled environment... not yet created\n\nException occurred:\n  File \"/usr/lib/python2.7/codecs.py\", line 881, in open\n    file = __builtin__.open(filename, mode, buffering)\nIOError: [Errno 2] No such file or directory: '<project>/doc/_build/doctest/output.txt'\nThe full traceback has been saved in /tmp/sphinx-err-Gwl2SC.log, if you want to report the issue to the developers.\nPlease also report this if it was a user error, so that a better error message can be provided next time.\nEither send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,\nor report them in the tracker at <https://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!\nmake: *** [doctest] Error 1\n```\n\nBoth full traceback logs file is attached.\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/1258\n- Originally reported by: Alexander Plavin\n- Originally created at: 2013-09-09T10:48:43.749\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/comments/68585822","html_url":"https://github.com/sphinx-doc/testing2/issues/1258#issuecomment-68585822","issue_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/1258","id":68585822,"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},"created_at":"2015-01-03T06:56:13Z","updated_at":"2015-01-03T06:56:13Z","body":"_From WAKAYAMA shirou on 2013-09-16 06:08:55+00:00_\n\nIs '<project>' in the error log sphinx output, or just hiding by you?\n\nIf you hiding, is there \"doc/_build\" directory?"}}