question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document workarounds for file upload size limit

See original GitHub issue

Is there a size limit property in FileUpload widget or a restriction for big files? Using a FileUpload with a file of 6MB, I can access to data and value fields, but when I choose a file of 10MB counter changes but data and value fields are empty.

  • python=3.6.7
  • notebook=6.0.0
  • ipywidgets=7.5.0

Using conda-forge channel (Anaconda) for installation.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:30 (11 by maintainers)

github_iconTop GitHub Comments

7reactions
cosmoscaliburcommented, Jul 30, 2019

Yes, because with the popularity of Jupyter notebooks and now, the support of tools as voila to create web apps from notebooks, we can think in support upload of big files for analytics. For example, an image easily is bigger than 10 MB and a short video without codec applied also is bigger than 10 MB.
Also, for clarity, this is a limitation in the functionality of the widgets, and this is not mentioned.

3reactions
Alexboiboicommented, Sep 17, 2021

Just generating the file jupyter_notebook_config.py with the modification mentioned above and leaving it inside the folder .jupyter does not work for me.

"websocket_max_message_size": 100 * 1024 * 1024

What is working for me is to copy the config file to the same folder as the notebook I working on. Then I launch the notebook using the config file.

jupyter notebook --config="jupyter_notebook_config.py" my_notebook.ipynb

I hope it helps

Cheers

Hi @danjmp, I tried to use your trick with voilà but sadly the widget still only accepts 10MB.

Is there any other workaround to make this work within a voilà app?

@jasongrout any thoughts ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing the File Upload Size Limit
The maximum individual file size allowed in Jotform is 1GB (1048576 KB) and the maximum recommended number of file uploads is 25 per...
Read more >
File Upload Cheat Sheet
Restrict the allowed characters if possible; Set a file size limit; Only allow authorized users to upload files; Store the files on a...
Read more >
File size limit error when you upload files to Sway - Office
Include the description of the types of files that you try to upload and the size of the files. This information will help...
Read more >
Discord File Size Limit: How To Bypass [2022 Guide]
We recommend trying WeTransfer, as it supports uploads up to 2GB and doesn't require ...
Read more >
File Size Limits Of The Most Popular Cloud Storage Providers
In terms of file sizes, you can upload up to 2 GB using the IDrive web interface. For files up to 10 GB...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found