Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking "upload file" produces error #13

Closed
danrademacher opened this issue Jul 7, 2015 · 2 comments
Closed

Clicking "upload file" produces error #13

danrademacher opened this issue Jul 7, 2015 · 2 comments
Assignees

Comments

@danrademacher
Copy link
Member

Once I logged in and clicked "upload file" I got this error:

IndexError at /reblock/review/
list index out of range
Request Method: GET
Request URL:    http://openreblock.berkeley.edu/reblock/review/
Django Version: 1.4
Exception Type: IndexError
Exception Value:    
list index out of range
Exception Location: /var/www/openreblock.berkeley.edu/localcode/reblock/views.py in review, line 313
Python Executable:  /usr/bin/python
Python Version: 2.6.6
Python Path:    
['/usr/bin/python',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages/gtk-2.0',
 '/usr/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
 '/var/www/openreblock.berkeley.edu',
 '/var/www/openreblock.berkeley.edu/localcode',
 '/']
Server time:    Tue, 7 Jul 2015 10:03:25 -0700
@danrademacher
Copy link
Member Author

Ah, I clicked that without first selecting a file, so there needs to be an error state if no file is selected.

@cesandoval
Copy link

extends #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants