django-chunked-upload-demo icon indicating copy to clipboard operation
django-chunked-upload-demo copied to clipboard

The demo is not working

Open bahiamartins opened this issue 9 years ago • 6 comments

Hi, I have tried the demo to understand how to use in my project. But its returning 500 error when I select some file jpg, mp4 or pdf.

bahiamartins avatar May 08 '16 00:05 bahiamartins

+1 - demo is not working.

vsoch avatar Feb 01 '17 00:02 vsoch

Works for me

olitomas avatar May 04 '17 13:05 olitomas

not work and only for python2

IOError at /api/chunked_upload
File not open for writing

Request Method: POST
Request URL: http://127.0.0.1:8000/api/chunked_upload

fortunto2 avatar Sep 15 '17 21:09 fortunto2

It's a bug in django. https://code.djangoproject.com/ticket/13809 I don't have any experience in using django, so I don't know which version fix it and which version mark file.read and file.write deprecated.

MisLink avatar Nov 09 '17 16:11 MisLink

If it helps, I got it working nicely in django, here is the Upload class:

https://github.com/vsoch/docfish/blob/master/docfish/apps/storage/views.py#L40

and the views:

https://github.com/vsoch/docfish/tree/master/docfish/apps/storage/templates/upload

vsoch avatar Nov 09 '17 17:11 vsoch

Hi, I have tried the demo to understand how to use in my project. But its returning 500 error when I select some file jpg, mp4 or pdf.

I experienced the same. It returned 500 (INTERNAL SERVER ERROR).

mjperpinosa avatar Feb 27 '19 04:02 mjperpinosa