{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry/issues/1392","labels_url":"https://api.github.com/repos/getsentry/sentry/issues/1392/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry/issues/1392/comments","events_url":"https://api.github.com/repos/getsentry/sentry/issues/1392/events","html_url":"https://github.com/getsentry/sentry/issues/1392","id":55035147,"number":1392,"title":"Problem fetching event data","user":{"login":"deejay1","id":41211,"avatar_url":"https://avatars.githubusercontent.com/u/41211?v=3","gravatar_id":"","url":"https://api.github.com/users/deejay1","html_url":"https://github.com/deejay1","followers_url":"https://api.github.com/users/deejay1/followers","following_url":"https://api.github.com/users/deejay1/following{/other_user}","gists_url":"https://api.github.com/users/deejay1/gists{/gist_id}","starred_url":"https://api.github.com/users/deejay1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deejay1/subscriptions","organizations_url":"https://api.github.com/users/deejay1/orgs","repos_url":"https://api.github.com/users/deejay1/repos","events_url":"https://api.github.com/users/deejay1/events{/privacy}","received_events_url":"https://api.github.com/users/deejay1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-21T15:42:10Z","updated_at":"2015-01-22T08:59:21Z","closed_at":"2015-01-21T19:03:33Z","body":"When trying to access /foo/bar-2/group/22857/events/latest/json/ I get an internal server error:\r\n\r\n```python\r\n[ERROR] Internal Server Error: /foo/bar-2/group/22857/events/latest/json/\r\nTraceback (most recent call last):\r\n  File \"/home/sentry/local/lib/python2.7/site-packages/django/core/handlers/base.py\", line 112, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/home/sentry/local/lib/python2.7/site-packages/sentry/web/decorators.py\", line 176, in _wrapped\r\n    return func(request, *args, **kwargs)\r\n  File \"/home/sentry/local/lib/python2.7/site-packages/sentry/web/frontend/groups.py\", line 494, in group_event_details_json\r\n    return HttpResponse(json.dumps(event.as_dict()), mimetype='application/json')\r\n  File \"/home/sentry/lib/python2.7/site-packages/sentry/models/event.py\", line 177, in as_dict\r\n    data['culprit'] = self.group.culprit\r\nAttributeError: 'NoneType' object has no attribute 'culprit'\r\n```\r\n\r\nAlso no event data is visible at foo/bar-2/group/22857/ (graph, status, last seen and the side bar are visible)\r\n\r\nSentry version 7.1.3"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry/issues/comments/70989752","html_url":"https://github.com/getsentry/sentry/issues/1392#issuecomment-70989752","issue_url":"https://api.github.com/repos/getsentry/sentry/issues/1392","id":70989752,"user":{"login":"dcramer","id":23610,"avatar_url":"https://avatars.githubusercontent.com/u/23610?v=3","gravatar_id":"","url":"https://api.github.com/users/dcramer","html_url":"https://github.com/dcramer","followers_url":"https://api.github.com/users/dcramer/followers","following_url":"https://api.github.com/users/dcramer/following{/other_user}","gists_url":"https://api.github.com/users/dcramer/gists{/gist_id}","starred_url":"https://api.github.com/users/dcramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcramer/subscriptions","organizations_url":"https://api.github.com/users/dcramer/orgs","repos_url":"https://api.github.com/users/dcramer/repos","events_url":"https://api.github.com/users/dcramer/events{/privacy}","received_events_url":"https://api.github.com/users/dcramer/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T08:59:21Z","updated_at":"2015-01-22T08:59:21Z","body":"I'm not sure we actually pushed a release with the group.culprit fix.\r\n\r\nThe issue in this case is that the group you're looking at has no event, so it cant dump the  data."}}