Autolab
Autolab copied to clipboard
500 Error when attempting to view non-supported binary files
Submitted by 122 Head TA. A 500 Error occurs when viewing a submission with a non-supported binary file.
Stack dump: sub_273_internal_error_info (1).txt
Steps To Reproduce Steps to reproduce the behavior:
- Make a submission including a binary file that's unsupported by Autolab (sample: test.tgz)
- View the submission with a binary file
- See error
Expected behavior We should be able to still view the submission interface without being able to view the non-displayable binary file.
Chaskiel's advice: The problem seems to be that the first file in the archive is non-displayable binary file (in this case, some MacOS metadata). You can work around this by editing the url and changing the value of header_position until the interface loads.