- changed status to resolved
Students are not able to download submitted files
Issue #28
resolved
Nginx error when try to download submitted file as a student. Downloading as a grader works.
Part of the error message in the log:
Apr 10 11:24:35 xdat09 uwsgi[282]: File "/home/fire_datastructures/.fire-virtualenv/lib/python2.7/site-packages/fire/views/students.py", line 190, in student_download_file
Apr 10 11:24:35 xdat09 uwsgi[282]: fileinfo = next((f for f in fs['files'] if f['name'] == filename), None)
Apr 10 11:24:35 xdat09 uwsgi[282]: File "/home/fire_datastructures/.fire-virtualenv/lib/python2.7/site-packages/fire/views/students.py", line 190, in <genexpr>
Apr 10 11:24:35 xdat09 uwsgi[282]: fileinfo = next((f for f in fs['files'] if f['name'] == filename), None)
Apr 10 11:24:35 xdat09 uwsgi[282]: TypeError: 'FileMetadata' object has no attribute '__getitem__'
Comments (1)
-
- Log in to comment
Fix
#28→ <<cset 0e4b57cd4570>>