Giter VIP home page Giter VIP logo

dash-resumable-upload's People

Contributors

rmarren1 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dash-resumable-upload's Issues

Documentation available?

I wonder if there is a record on how to use this component in a dash app. I screened the git repo readme file, but did not find a link or a description about the available options and callback components.
Thanks

Don't trigger callbacks using the data right after it finishes loading.

This just caught me up when doing some integration tests. When the component has the completeClass that does not mean the data is actually available, just that the last chunk has been acked by the server and it is beginning to zip the files.

Workaround is just to put a time.sleep() before attempting to read any files.

The usage.py renders nothing when run in my local machine

I have install Dash-resumable-uplaod through pip and version installed was 0.0.3.

Only problem was the codepen css file wasn't available.
when I run, I see nothing on my screen.
If I check the console logs, his is what I see.
image

Uploading multiple files

Hi,

Is it possible to upload multiple files at once? I have set the maxFiles option to 10 and progress freezes at 99% regardless of the number of files I try to upload. Switching back to maxFiles = 1 works fine for one file. Here is the output I get:

  • Running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET / HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_renderer/[email protected]?v=0.13.0 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_html_components/bundle.js?v=0.11.0 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_renderer/[email protected]?v=0.13.0 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_resumable_upload/bundle.js?v=0.0.3 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_core_components/plotly-1.39.1.min.js?v=0.26.0 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_core_components/bundle.js?v=0.26.0 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_table_experiments/bundle.js?v=0.6.0 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:07] "GET /_dash-component-suites/dash_renderer/bundle.js?v=0.13.0 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "GET /_dash-layout HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "GET /_dash-dependencies HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:09] "POST /_dash-update-component HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=3&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-consolelog&resumableFilename=console.log&resumableRelativePath=console.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=4&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-consolelog&resumableFilename=console.log&resumableRelativePath=console.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=5&resumableChunkSize=1024000&resumableCurrentChunkSize=1867877&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-consolelog&resumableFilename=console.log&resumableRelativePath=console.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=1&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-console1log&resumableFilename=console1.log&resumableRelativePath=console1.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=2&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-console1log&resumableFilename=console1.log&resumableRelativePath=console1.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=3&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-console1log&resumableFilename=console1.log&resumableRelativePath=console1.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=4&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-console1log&resumableFilename=console1.log&resumableRelativePath=console1.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:13] "POST /upload_resumable?resumableChunkNumber=5&resumableChunkSize=1024000&resumableCurrentChunkSize=1867877&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-console1log&resumableFilename=console1.log&resumableRelativePath=console1.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:14] "POST /upload_resumable?resumableChunkNumber=1&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-consolelog&resumableFilename=console.log&resumableRelativePath=console.log&resumableTotalChunks=5 HTTP/1.1" 200 -
    127.0.0.1 - - [22/Aug/2018 21:44:14] "POST /upload_resumable?resumableChunkNumber=2&resumableChunkSize=1024000&resumableCurrentChunkSize=1024000&resumableTotalSize=5963877&resumableType=text%2Fx-log&resumableIdentifier=5963877-consolelog&resumableFilename=console.log&resumableRelativePath=console.log&resumableTotalChunks=5 HTTP/1.1" 200 -

Impossible to import package if installed with pip

First, thank you for this component, which seems to be great (even though I have not been able to use it yet).

I installed in with pip, but then importing fails because of a metadata file:

import dash_resumable_upload
> FileNotFoundError: [Errno 2] No such file or directory: '/Users/lamourj/anaconda/lib/python3.6/site-packages/dash_resumable_upload-0.0.1-py3.6.egg/dash_resumable_upload/metadata.json'

From my understanding, this is related to npm, but I'm not sure whether I am doing anything wrong or if the file is missing (I figured it is in your gitignore).

Thanks a lot for any help ๐Ÿ™

How to change the style of buttons?

Hi, I want to change the button size and font size as they are too big to my page.
I am not familiar with Javascript, so would anyone help to guide me where to start modifying the code?
Thanks a lot!

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.