Closed jtakayama closed 10 years ago
A ValueError occurs when a user clicks the "upload" button:
Django console output:
[03/Dec/2013 09:34:47] "GET /player/bulk_upload_form/ HTTP/1.1" 200 2221 [03/Dec/2013 09:35:37] "POST /player/bulk_create/ HTTP/1.1" 500 529 [03/Dec/2013 09:35:52] "POST /player/bulk_create/ HTTP/1.1" 500 529
Django browser output with MAKAHIKI_DEBUG=True in makahiki_env.sh:
ValueError at /player/bulk_create/ The view apps.managers.player_mgr.views.bulk_create didn't return an HttpResponse object. Request Method: POST Request URL: http://192.168.56.4:8000/player/bulk_create/ Django Version: 1.6 Exception Type: ValueError Exception Value: The view apps.managers.player_mgr.views.bulk_create didn't return an HttpResponse object. Exception Location: /usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response, line 132 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path: ['/vagrant/makahiki', '/usr/local/lib/python2.7/dist-packages/pip-1.4.1-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/local/lib/python2.7/dist-packages/newrelic-1.4.0.137', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL'] Server time: Tue, 3 Dec 2013 09:43:43 -1000
The issue was actually the result of my not specifying a file to upload before clicking "Upload." This issue was reported in error and will be closed.
A ValueError occurs when a user clicks the "upload" button:
Django console output:
Django browser output with MAKAHIKI_DEBUG=True in makahiki_env.sh: