{"action":"created","issue":{"url":"https://api.github.com/repos/BlinkUX/ISB-LSDF/issues/164","repository_url":"https://api.github.com/repos/BlinkUX/ISB-LSDF","labels_url":"https://api.github.com/repos/BlinkUX/ISB-LSDF/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/BlinkUX/ISB-LSDF/issues/164/comments","events_url":"https://api.github.com/repos/BlinkUX/ISB-LSDF/issues/164/events","html_url":"https://github.com/BlinkUX/ISB-LSDF/issues/164","id":136246378,"number":164,"title":"Error while uploading data (/projects/data/)","user":{"login":"kleisb","id":2643103,"avatar_url":"https://avatars.githubusercontent.com/u/2643103?v=3","gravatar_id":"","url":"https://api.github.com/users/kleisb","html_url":"https://github.com/kleisb","followers_url":"https://api.github.com/users/kleisb/followers","following_url":"https://api.github.com/users/kleisb/following{/other_user}","gists_url":"https://api.github.com/users/kleisb/gists{/gist_id}","starred_url":"https://api.github.com/users/kleisb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleisb/subscriptions","organizations_url":"https://api.github.com/users/kleisb/orgs","repos_url":"https://api.github.com/users/kleisb/repos","events_url":"https://api.github.com/users/kleisb/events{/privacy}","received_events_url":"https://api.github.com/users/kleisb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BlinkUX/ISB-LSDF/labels/Priority%201","name":"Priority 1","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"rgbohner","id":2424291,"avatar_url":"https://avatars.githubusercontent.com/u/2424291?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbohner","html_url":"https://github.com/rgbohner","followers_url":"https://api.github.com/users/rgbohner/followers","following_url":"https://api.github.com/users/rgbohner/following{/other_user}","gists_url":"https://api.github.com/users/rgbohner/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbohner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbohner/subscriptions","organizations_url":"https://api.github.com/users/rgbohner/orgs","repos_url":"https://api.github.com/users/rgbohner/repos","events_url":"https://api.github.com/users/rgbohner/events{/privacy}","received_events_url":"https://api.github.com/users/rgbohner/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-02-25T01:36:37Z","updated_at":"2016-02-25T02:25:51Z","closed_at":null,"body":"The file is attached. I tested trying the upload the data both as a standalone study and a study extending TCGA.\r\n[data.zip](https://github.com/BlinkUX/ISB-LSDF/files/145790/data.zip)\r\n\r\n\r\nThe POST to ```/projects/data/``` on line 319 (stack trace in Django debug view). Same from application log:\r\n\r\n```\r\nERROR    2016-02-25 01:17:15,611 base.py:231] Internal Server Error: /projects/data/\r\nTraceback (most recent call last):\r\n  File \"/home/vagrant/www/lib/django/core/handlers/base.py\", line 111, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/home/vagrant/www/lib/django/contrib/auth/decorators.py\", line 22, in _wrapped_view\r\n    return view_func(request, *args, **kwargs)\r\n  File \"/home/vagrant/www/projects/views.py\", line 146, in upload_files\r\n    if request.POST['project-type'] == 'new':\r\n  File \"/home/vagrant/www/lib/django/utils/datastructures.py\", line 319, in __getitem__\r\n    raise MultiValueDictKeyError(repr(key))\r\n```\r\n\r\nAlso seeing this error:\r\n```\r\nERROR    2016-02-25 01:24:10,735 base.py:231] Internal Server Error: /projects/data/\r\nTraceback (most recent call last):\r\n  File \"/home/vagrant/www/lib/django/core/handlers/base.py\", line 111, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"/home/vagrant/www/lib/django/contrib/auth/decorators.py\", line 22, in _wrapped_view\r\n    return view_func(request, *args, **kwargs)\r\n  File \"/home/vagrant/www/projects/views.py\", line 190, in upload_files\r\n    file_upload.save()\r\n  File \"/home/vagrant/www/lib/django/db/models/base.py\", line 591, in save\r\n    force_update=force_update, update_fields=update_fields)\r\n  File \"/home/vagrant/www/lib/django/db/models/base.py\", line 619, in save_base\r\n    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)\r\n  File \"/home/vagrant/www/lib/django/db/models/base.py\", line 700, in _save_table\r\n    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)\r\n  File \"/home/vagrant/www/lib/django/db/models/base.py\", line 733, in _do_insert\r\n    using=using, raw=raw)\r\n  File \"/home/vagrant/www/lib/django/db/models/manager.py\", line 92, in manager_method\r\n    return getattr(self.get_queryset(), name)(*args, **kwargs)\r\n  File \"/home/vagrant/www/lib/django/db/models/query.py\", line 921, in _insert\r\n    return query.get_compiler(using=using).execute_sql(return_id)\r\n  File \"/home/vagrant/www/lib/django/db/models/sql/compiler.py\", line 920, in execute_sql\r\n    cursor.execute(sql, params)\r\n  File \"/home/vagrant/www/lib/django/db/backends/utils.py\", line 81, in execute\r\n    return super(CursorDebugWrapper, self).execute(sql, params)\r\n  File \"/home/vagrant/www/lib/django/db/backends/utils.py\", line 65, in execute\r\n    return self.cursor.execute(sql, params)\r\n  File \"/home/vagrant/www/lib/django/db/backends/mysql/base.py\", line 128, in execute\r\n    return self.cursor.execute(query, args)\r\n  File \"/home/vagrant/www/lib/MySQLdb/cursors.py\", line 207, in execute\r\n    if not self._defer_warnings: self._warning_check()\r\n  File \"/home/vagrant/www/lib/MySQLdb/cursors.py\", line 117, in _warning_check\r\n    warn(w[-1], self.Warning, 3)\r\nWarning: Data truncated for column 'file' at row 1\r\n```"},"comment":{"url":"https://api.github.com/repos/BlinkUX/ISB-LSDF/issues/comments/188569878","html_url":"https://github.com/BlinkUX/ISB-LSDF/issues/164#issuecomment-188569878","issue_url":"https://api.github.com/repos/BlinkUX/ISB-LSDF/issues/164","id":188569878,"user":{"login":"kleisb","id":2643103,"avatar_url":"https://avatars.githubusercontent.com/u/2643103?v=3","gravatar_id":"","url":"https://api.github.com/users/kleisb","html_url":"https://github.com/kleisb","followers_url":"https://api.github.com/users/kleisb/followers","following_url":"https://api.github.com/users/kleisb/following{/other_user}","gists_url":"https://api.github.com/users/kleisb/gists{/gist_id}","starred_url":"https://api.github.com/users/kleisb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleisb/subscriptions","organizations_url":"https://api.github.com/users/kleisb/orgs","repos_url":"https://api.github.com/users/kleisb/repos","events_url":"https://api.github.com/users/kleisb/events{/privacy}","received_events_url":"https://api.github.com/users/kleisb/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T02:25:51Z","updated_at":"2016-02-25T02:25:51Z","body":"@phyllers I selected ```A NEW STUDY FOR AN EXISTING PROJECT``` in the Data Upload view and picked an existing project, then filled in the study name for a new study."}}