-
Notifications
You must be signed in to change notification settings - Fork 226
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
Trying to submit with Firefox: error processing file, undefined method `[]' for nil:NilClass #1134
Comments
Hi @Mat2095 that does look like something we should look into. I have however just tested the demo site on firefox, with a tar file and it still seemed to work fine. May I know what kind of file did you try to submit? I suspect that the filetype / the file itself could be relevant to the issue this time around. |
Okay, I guess I did get a few things wrong. Doing the same thing fails on firefox (hello.c from https://github.com/autolab/Autolab/blob/master/examples/hello/src/hello.c ). |
Note that the CMU instance has had this problem in the past: |
Closing because fix has been merged in #1138 |
Now there is a nice error message "Submission was blank - please upload again". |
Hey @Mat2095, sorry about that - could I check which version of Firefox you are on, and whether you have tried this with all extensions disabled? I could not replicate this issue on Firefox 74.0.1 on Linux after submitting 5 times |
For me this error occurs on a Ubuntu 18.04 VM where nothing besides Autolab is installed. Firefox is on version 76.0 with no addons. But it also happens on my Windows PC using Firefox 76.0.1 on the http://autolab.ml site. I've recorded a small video: https://www.youtube.com/watch?v=ZKMTDuvKRAI |
Thanks for the recording, I will try to replicate the issue on Windows using your setup |
For However, for the error to display when So somehow, the length is changing between the drag-and-drop, and the checking of the checkbox. But this should not happen since It would be great if the root cause can be identified, but I'll close this issue as can't repro for now. |
I'm trying to submit a file on the demo-site using firefox.
I can drag the file in and the file-info is correct.
But when I check the "I affirm..."-checkbox, the file disappears and an error is shown which says "There was an error processing your file, please try again."
Then I can drag the file in again and click submit.
This however results in an error-page:
This happened on two machines (windows and linux) using Firefox, while Chrome works fine.
The text was updated successfully, but these errors were encountered: