Closed ksurya closed 10 years ago
@pv @lomegor could you please take a look into this fix and let me know if you are getting any errors.
There's one problem: if I upload the same zip file, I still get a Django error page, instead of some error in the page. Also, as soon as the edit submission page loads, it tells me there is an error in the form (that I haven't uploaded a file, which of course I haven't since I just loaded the page).
For the error to happen, you have to download the zip and then try uploading that zip you downloaded.
You are getting a error in the form when uploading ZIP file or a 500? In case of form error, the below might be the issue
our code assumes zip files to have content-type application/zip
. However, when I tested the uploading, the files content type is taken as application/octet-stream
.
I'm getting a 500 error. Can you please try to reproduce what I told you?
Sure, I will look into it.Strange, didn't observe it before
I am looking into this PR now. There is some misbehaviour I can see (there might be other errors too)
One simple way to fix everything is to revert https://github.com/scipy/SciPyCentral/commit/9cec5bf1fac3cc125342eb5f7138aa84fb6cd265
Fix issue: https://github.com/scipy/SciPyCentral/issues/140