-
Notifications
You must be signed in to change notification settings - Fork 31
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
load multiple data issue #44
Comments
Hi! Thank you! As you might have noticed that branch is WIP, but is partly working. Did you check the file paths of the missing files? Is there something in common in them or are they just random files from the chosen location? |
By WIP I meant "Work In Progress". Okay nice to hear that you found out what could be the reason for the behaviour: the implementation might need some additional checks for each file if they are uploaded or not, and then retry if needed. I'm actually considering to switch from resumable.js to some another (flow.js) JS package, as the resumable.js seems not to be maintained anymore. |
Got it, I will keep noticing that, thank you very much XD Best regards, Ricky H Chen |
Do the files all have the same extension? |
I'm working on this now and have a target for getting this fixed in the next 0.7.0 release. I guess this is related to the same issue I faced here. As the problem is related to timing, it has something to do with file access on server side, and would probably be fixed with simple retries when writing the files. |
Please check out the pre-release (0.7.0a1), by installing it with
It should have this bug fixed. Note that the callbacks do have different syntax in >=0.7.0, so they should be defined as: import dash_html_components as html
import dash_uploader as du
@du.callback(
output=Output("callback-output", "children"),
id="dash-uploader",
)
def callback_on_completion(status: du.UploadStatus):
if status.n_uploaded == 0:
return # no files uploaded yet.
print(status)
out = []
if status.uploaded_files is not None:
return html.Ul([html.Li(str(x)) for x in status.uploaded_files])
return html.Div("No Files Uploaded Yet!") |
Hi @np-8 , Thanks for your development, it is amazing. Best regards, |
Hi,
Thanks for you provide amazing functionality for us, It's cool! 👍
One question I want to query you:
When I wanted to load multiple files(291files) in usage.py, I got 288 files actually. It seems some files missing, any comment?
Operation step:
Here is running code(usage.py) and result:
Thanks and best regards,
Ricky H Chen
The text was updated successfully, but these errors were encountered: