{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/59904267","id":59904267,"diff_hunk":"@@ -40,15 +40,52 @@\n # import so that associated listener is instantiated and gets emails\n from website.notifications.events.files import FileEvent  # noqa\n \n-FILE_GONE_ERROR_MESSAGE = u'''\n+# TODO - make distiction between filenodes that had GUIDs and were trashed","path":"website/addons/base/views.py","position":5,"original_position":5,"commit_id":"758ae53cff007e7799bd2f32d791d6e2c997c8e9","original_commit_id":"758ae53cff007e7799bd2f32d791d6e2c997c8e9","user":{"login":"felliott","id":86835,"avatar_url":"https://avatars.githubusercontent.com/u/86835?v=3","gravatar_id":"","url":"https://api.github.com/users/felliott","html_url":"https://github.com/felliott","followers_url":"https://api.github.com/users/felliott/followers","following_url":"https://api.github.com/users/felliott/following{/other_user}","gists_url":"https://api.github.com/users/felliott/gists{/gist_id}","starred_url":"https://api.github.com/users/felliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felliott/subscriptions","organizations_url":"https://api.github.com/users/felliott/orgs","repos_url":"https://api.github.com/users/felliott/repos","events_url":"https://api.github.com/users/felliott/events{/privacy}","received_events_url":"https://api.github.com/users/felliott/received_events","type":"User","site_admin":false},"body":"Does this TODO still apply?  If not, please delete it.","created_at":"2016-04-15T16:48:27Z","updated_at":"2016-04-15T16:48:27Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5329#discussion_r59904267","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/59904267"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/5329#discussion_r59904267"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329","id":64638306,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5329","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/5329.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/5329.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5329","number":5329,"state":"open","locked":false,"title":"[RFR][Feature] OSF-5883 MFR render failures. Show a better error message.","user":{"login":"TomBaxter","id":407143,"avatar_url":"https://avatars.githubusercontent.com/u/407143?v=3","gravatar_id":"","url":"https://api.github.com/users/TomBaxter","html_url":"https://github.com/TomBaxter","followers_url":"https://api.github.com/users/TomBaxter/followers","following_url":"https://api.github.com/users/TomBaxter/following{/other_user}","gists_url":"https://api.github.com/users/TomBaxter/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBaxter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBaxter/subscriptions","organizations_url":"https://api.github.com/users/TomBaxter/orgs","repos_url":"https://api.github.com/users/TomBaxter/repos","events_url":"https://api.github.com/users/TomBaxter/events{/privacy}","received_events_url":"https://api.github.com/users/TomBaxter/received_events","type":"User","site_admin":false},"body":"## Purpose:\r\n[OSF-5883](https://openscience.atlassian.net/browse/OSF-5883)\r\nWhen MFR render fails. Show a better error message.\r\n\r\n## Changes:\r\nupdate website/addons/base/views.py update for more palatable error messages\r\n\r\nupdate website/files/models/base.py add \"def get_guid\" to \"class TrashedFileNode\" to allow for better message in website/addons/base/views.py\r\n\r\n## Side effects:\r\nNone\r\n\r\n#5883","created_at":"2016-03-30T14:38:54Z","updated_at":"2016-04-15T16:48:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee73a0658d9687fdd6957f828295cdb06e6776ec","assignee":null,"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/67","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.68.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/67/labels","id":1685281,"number":67,"title":"0.68.0","description":"","creator":{"login":"icereval","id":3111541,"avatar_url":"https://avatars.githubusercontent.com/u/3111541?v=3","gravatar_id":"","url":"https://api.github.com/users/icereval","html_url":"https://github.com/icereval","followers_url":"https://api.github.com/users/icereval/followers","following_url":"https://api.github.com/users/icereval/following{/other_user}","gists_url":"https://api.github.com/users/icereval/gists{/gist_id}","starred_url":"https://api.github.com/users/icereval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icereval/subscriptions","organizations_url":"https://api.github.com/users/icereval/orgs","repos_url":"https://api.github.com/users/icereval/repos","events_url":"https://api.github.com/users/icereval/events{/privacy}","received_events_url":"https://api.github.com/users/icereval/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":26,"state":"open","created_at":"2016-04-05T17:51:06Z","updated_at":"2016-04-15T16:48:09Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5329/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/758ae53cff007e7799bd2f32d791d6e2c997c8e9","head":{"label":"TomBaxter:feature/osf-5883","ref":"feature/osf-5883","sha":"758ae53cff007e7799bd2f32d791d6e2c997c8e9","user":{"login":"TomBaxter","id":407143,"avatar_url":"https://avatars.githubusercontent.com/u/407143?v=3","gravatar_id":"","url":"https://api.github.com/users/TomBaxter","html_url":"https://github.com/TomBaxter","followers_url":"https://api.github.com/users/TomBaxter/followers","following_url":"https://api.github.com/users/TomBaxter/following{/other_user}","gists_url":"https://api.github.com/users/TomBaxter/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBaxter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBaxter/subscriptions","organizations_url":"https://api.github.com/users/TomBaxter/orgs","repos_url":"https://api.github.com/users/TomBaxter/repos","events_url":"https://api.github.com/users/TomBaxter/events{/privacy}","received_events_url":"https://api.github.com/users/TomBaxter/received_events","type":"User","site_admin":false},"repo":{"id":49153405,"name":"osf.io","full_name":"TomBaxter/osf.io","owner":{"login":"TomBaxter","id":407143,"avatar_url":"https://avatars.githubusercontent.com/u/407143?v=3","gravatar_id":"","url":"https://api.github.com/users/TomBaxter","html_url":"https://github.com/TomBaxter","followers_url":"https://api.github.com/users/TomBaxter/followers","following_url":"https://api.github.com/users/TomBaxter/following{/other_user}","gists_url":"https://api.github.com/users/TomBaxter/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBaxter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBaxter/subscriptions","organizations_url":"https://api.github.com/users/TomBaxter/orgs","repos_url":"https://api.github.com/users/TomBaxter/repos","events_url":"https://api.github.com/users/TomBaxter/events{/privacy}","received_events_url":"https://api.github.com/users/TomBaxter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TomBaxter/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/TomBaxter/osf.io","forks_url":"https://api.github.com/repos/TomBaxter/osf.io/forks","keys_url":"https://api.github.com/repos/TomBaxter/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TomBaxter/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TomBaxter/osf.io/teams","hooks_url":"https://api.github.com/repos/TomBaxter/osf.io/hooks","issue_events_url":"https://api.github.com/repos/TomBaxter/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/TomBaxter/osf.io/events","assignees_url":"https://api.github.com/repos/TomBaxter/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/TomBaxter/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/TomBaxter/osf.io/tags","blobs_url":"https://api.github.com/repos/TomBaxter/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TomBaxter/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TomBaxter/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/TomBaxter/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TomBaxter/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/TomBaxter/osf.io/languages","stargazers_url":"https://api.github.com/repos/TomBaxter/osf.io/stargazers","contributors_url":"https://api.github.com/repos/TomBaxter/osf.io/contributors","subscribers_url":"https://api.github.com/repos/TomBaxter/osf.io/subscribers","subscription_url":"https://api.github.com/repos/TomBaxter/osf.io/subscription","commits_url":"https://api.github.com/repos/TomBaxter/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/TomBaxter/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/TomBaxter/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/TomBaxter/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/TomBaxter/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/TomBaxter/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TomBaxter/osf.io/merges","archive_url":"https://api.github.com/repos/TomBaxter/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TomBaxter/osf.io/downloads","issues_url":"https://api.github.com/repos/TomBaxter/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/TomBaxter/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/TomBaxter/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/TomBaxter/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TomBaxter/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/TomBaxter/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/TomBaxter/osf.io/deployments","created_at":"2016-01-06T18:24:54Z","updated_at":"2016-01-11T14:41:20Z","pushed_at":"2016-04-14T12:51:43Z","git_url":"git://github.com/TomBaxter/osf.io.git","ssh_url":"git@github.com:TomBaxter/osf.io.git","clone_url":"https://github.com/TomBaxter/osf.io.git","svn_url":"https://github.com/TomBaxter/osf.io","homepage":"http://osf.io","size":127963,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"2c651ea8ec14612c7d47b863a72ef17580829f35","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/deployments","created_at":"2013-05-21T15:53:37Z","updated_at":"2016-04-11T14:54:41Z","pushed_at":"2016-04-15T16:42:44Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":272829,"stargazers_count":211,"watchers_count":211,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":162,"mirror_url":null,"open_issues_count":208,"forks":162,"open_issues":208,"watchers":211,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/5329"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5329"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5329/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5329/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/758ae53cff007e7799bd2f32d791d6e2c997c8e9"}}}}