Autolab icon indicating copy to clipboard operation
Autolab copied to clipboard

500 Error when attempting to view non-supported binary files

Open 20wildmanj opened this issue 3 years ago • 0 comments

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:

  1. Make a submission including a binary file that's unsupported by Autolab (sample: test.tgz)
  2. View the submission with a binary file
  3. 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.

20wildmanj avatar Sep 22 '22 18:09 20wildmanj