{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/301","repository_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery","labels_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/301/comments","events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/301/events","html_url":"https://github.com/sphinx-gallery/sphinx-gallery/issues/301","id":263749203,"number":301,"title":"option to control verbosity","user":{"login":"jasmainak","id":15852194,"avatar_url":"https://avatars3.githubusercontent.com/u/15852194?v=4","gravatar_id":"","url":"https://api.github.com/users/jasmainak","html_url":"https://github.com/jasmainak","followers_url":"https://api.github.com/users/jasmainak/followers","following_url":"https://api.github.com/users/jasmainak/following{/other_user}","gists_url":"https://api.github.com/users/jasmainak/gists{/gist_id}","starred_url":"https://api.github.com/users/jasmainak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasmainak/subscriptions","organizations_url":"https://api.github.com/users/jasmainak/orgs","repos_url":"https://api.github.com/users/jasmainak/repos","events_url":"https://api.github.com/users/jasmainak/events{/privacy}","received_events_url":"https://api.github.com/users/jasmainak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-08T20:28:55Z","updated_at":"2017-10-08T20:53:59Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The newer version of sphinx-gallery does not anymore print the output from the executed examples on the console. This can be problematic when some of the examples are slightly longer as Circle CI times out if there is no output for 5 minutes. \r\n\r\nThis is what I've been facing for [autoreject](https://github.com/autoreject/autoreject/pull/82) where some of the examples are on the longer side. Granted this is not ideal and I'm working on improving the build timing, but I feel this is orthogonal to the issue of verbosity. I prefer to see the output as it also makes debugging easier.\r\n\r\nI'm posting the issue as @larsoner mentioned he had some ideas to solve it which could be discussed here.\r\n\r\nThanks a ton!"},"comment":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/comments/335037763","html_url":"https://github.com/sphinx-gallery/sphinx-gallery/issues/301#issuecomment-335037763","issue_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/301","id":335037763,"user":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars2.githubusercontent.com/u/713451?v=4","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"created_at":"2017-10-08T20:53:59Z","updated_at":"2017-10-08T20:53:59Z","author_association":"OWNER","body":"\nWe reduced verbosity because now we can separately capture failing\nexamples finish the build with error code. Thus our output was\nunnecessarily verbose for some of our users. We also adopted the status\niterators which reduce output size even further.\n\nThe easy control on verbosity is to build with the flags '-v', '-vv', '-vvv'.\nAnd one of those options gives you the standard output of every file.\n\nBut there was a fundamental change on how we capture the output in the\nlast version. Before we would pass the output through a T, log one exit\nand have the other exit go to the stream buffer. Then you would have the\nstdout be shown every time the buffer flushes. Now we just capture all\nthe output until the codeblock finishes execution. Then save that log to\nbuild the rst file, and also send that log the Sphinx logger.\n\nThis change means, that increasing the verbosity will not help you with\nthe timeout problem. Since sphinx will only have the output of the block\nwhen the code block finishes execution.\n\nWe could check if Sphinx's status iterator supports having a progress\nindicator: a Slash that spins, a dot that moves back an forth. That\nwould keep logs short, and help with the timeout problem.\n\n"}}
{"actor":{"display_login":"Titan-C"}}