{"action":"created","issue":{"url":"https://api.github.com/repos/DistrictDataLabs/trinket/issues/2","labels_url":"https://api.github.com/repos/DistrictDataLabs/trinket/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/DistrictDataLabs/trinket/issues/2/comments","events_url":"https://api.github.com/repos/DistrictDataLabs/trinket/issues/2/events","html_url":"https://github.com/DistrictDataLabs/trinket/issues/2","id":111690063,"number":2,"title":"Upload Error:  line contains NULL byte","user":{"login":"bbengfort","id":745966,"avatar_url":"https://avatars.githubusercontent.com/u/745966?v=3","gravatar_id":"","url":"https://api.github.com/users/bbengfort","html_url":"https://github.com/bbengfort","followers_url":"https://api.github.com/users/bbengfort/followers","following_url":"https://api.github.com/users/bbengfort/following{/other_user}","gists_url":"https://api.github.com/users/bbengfort/gists{/gist_id}","starred_url":"https://api.github.com/users/bbengfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbengfort/subscriptions","organizations_url":"https://api.github.com/users/bbengfort/orgs","repos_url":"https://api.github.com/users/bbengfort/repos","events_url":"https://api.github.com/users/bbengfort/events{/privacy}","received_events_url":"https://api.github.com/users/bbengfort/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DistrictDataLabs/trinket/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T19:25:18Z","updated_at":"2015-10-15T19:28:32Z","closed_at":null,"body":"Internal Server Error: /upload/\r\nTraceback (most recent call last):\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/core/handlers/base.py\", line 132, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/views/generic/base.py\", line 71, in view\r\n    return self.dispatch(request, *args, **kwargs)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/braces/views/_access.py\", line 98, in dispatch\r\n    request, *args, **kwargs)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/views/generic/base.py\", line 89, in dispatch\r\n    return handler(request, *args, **kwargs)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/views/generic/edit.py\", line 215, in post\r\n    return self.form_valid(form)\r\n  File \"/app/coffer/views.py\", line 50, in form_valid\r\n    form.save()\r\n  File \"/app/coffer/forms.py\", line 51, in save\r\n    dataset=self.cleaned_data['dataset'], uploader=self.request.user\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/db/models/manager.py\", line 127, in manager_method\r\n    return getattr(self.get_queryset(), name)(*args, **kwargs)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/db/models/query.py\", line 348, in create\r\n    obj.save(force_insert=True, using=self.db)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py\", line 734, in save\r\n    force_update=force_update, update_fields=update_fields)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py\", line 758, in save_base\r\n    update_fields=update_fields)\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/django/dispatch/dispatcher.py\", line 201, in send\r\n    response = receiver(signal=self, sender=sender, **named)\r\n  File \"/app/coffer/signals.py\", line 51, in dataset_file_compute\r\n    header = reader.next()\r\n  File \"/app/.heroku/python/lib/python2.7/site-packages/unicodecsv/py2.py\", line 117, in next\r\n    row = self.reader.next()\r\nError: line contains NULL byte"},"comment":{"url":"https://api.github.com/repos/DistrictDataLabs/trinket/issues/comments/148497395","html_url":"https://github.com/DistrictDataLabs/trinket/issues/2#issuecomment-148497395","issue_url":"https://api.github.com/repos/DistrictDataLabs/trinket/issues/2","id":148497395,"user":{"login":"rebeccabilbro","id":8760385,"avatar_url":"https://avatars.githubusercontent.com/u/8760385?v=3","gravatar_id":"","url":"https://api.github.com/users/rebeccabilbro","html_url":"https://github.com/rebeccabilbro","followers_url":"https://api.github.com/users/rebeccabilbro/followers","following_url":"https://api.github.com/users/rebeccabilbro/following{/other_user}","gists_url":"https://api.github.com/users/rebeccabilbro/gists{/gist_id}","starred_url":"https://api.github.com/users/rebeccabilbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebeccabilbro/subscriptions","organizations_url":"https://api.github.com/users/rebeccabilbro/orgs","repos_url":"https://api.github.com/users/rebeccabilbro/repos","events_url":"https://api.github.com/users/rebeccabilbro/events{/privacy}","received_events_url":"https://api.github.com/users/rebeccabilbro/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T19:28:32Z","updated_at":"2015-10-15T19:28:32Z","body":"@bbengfort  seeing what would happen if I tried to upload a sample (but empty) protected file"}}