Git Product home page Git Product logo

django-chunked-upload-demo's People

Contributors

jerinpetergeorge avatar juliomalegria avatar voidrank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-chunked-upload-demo's Issues

File Upload is not commencing

On a PythonAnywhere-based Django site, my file does not begin uploading after I select it in my file explorer. The file name shows up next to the browse button upon selection, but nothing else happens. I have executed the demo successfully on my local CMD, to note.

There is no error which shows up in my log. Is a .js file not working properly or do I have to write my database syntax in settings.py in a certain way (i.e., os.path.join(db.mysql))?

Multiple files

I was looking at how to use this nice demo with multiple files, but couldn't get it work yet. If the files are uploaded fast enough, it works sometimes. But mostly I get this error:

{
  "detail": "Offsets do not match",
  "offset": 53807448
}

First in the template I changed this:

<input id="chunked_upload" type="file" multiple name="the_file">

I think it does not work because of how chunkdone handles formData (here).

The demo is not working

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.

IOError File not open for writing

Your demo code throws error on first POST request.

File "/venv/local/lib/python2.7/site-packages/chunked_upload/models.py" in append_chunk
  68.         self.file.write(chunk.read())

Exception Type: IOError at /api/chunked_upload
Exception Value: File not open for writing

from django.utils.translation import ugettext as _ ImportError: cannot import name 'ugettext' from 'django.utils.translation'

When I first try to run the app, I get this error: File "C:\Users\j.heijne\Anaconda3\lib\site-packages\chunked_upload\constants.py", line 1, in
from django.utils.translation import ugettext as _
ImportError: cannot import name 'ugettext' from 'django.utils.translation' (C:\Users\j.heijne\Anaconda3\lib\site-packages\django\utils\translation_init_.py).

Can anyone help me how to fix this?

update in Readme

Please change the variable name in Readme
from
virtualenv ven
to
virtualenv venv

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.