{"action":"opened","issue":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/237","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/237/comments","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-python/issues/237/events","html_url":"https://github.com/heroku/heroku-buildpack-python/issues/237","id":96868309,"number":237,"title":"Collectstatic dry run failures need to be more informative","user":{"login":"stickywes","id":521813,"avatar_url":"https://avatars.githubusercontent.com/u/521813?v=3","gravatar_id":"","url":"https://api.github.com/users/stickywes","html_url":"https://github.com/stickywes","followers_url":"https://api.github.com/users/stickywes/followers","following_url":"https://api.github.com/users/stickywes/following{/other_user}","gists_url":"https://api.github.com/users/stickywes/gists{/gist_id}","starred_url":"https://api.github.com/users/stickywes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stickywes/subscriptions","organizations_url":"https://api.github.com/users/stickywes/orgs","repos_url":"https://api.github.com/users/stickywes/repos","events_url":"https://api.github.com/users/stickywes/events{/privacy}","received_events_url":"https://api.github.com/users/stickywes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T17:57:05Z","updated_at":"2015-07-23T17:57:05Z","closed_at":null,"body":"I recently ran into a problem where, after pushing to Heroku, the collectstatic step would fail.\r\n\r\nThe behavior in the collectstatic step when the dry run fails is to recommend running the command.\r\n```\r\n        echo \"       Collectstatic configuration error. To debug, run:\"\r\n        echo \"       $ heroku run python $MANAGE_FILE collectstatic --noinput\"\r\n```\r\nHowever, this is not always the way to diagnose the problem.  I was stuck with a website that suddenly broke after a buildpack update because the dry run failed, but 'heroku run python $MANAGE_FILE collectstatic --noinput\"' ran perfectly fine.\r\n\r\nSomething nicer than sending errors to /dev/null should probably be happening.  Even something as dumb as \r\n```\r\npython $MANAGE_FILE collectstatic --dry-run --noinput &> .collectstatic_errors\r\n```\r\nwould have saved me hours of time."}}