Comments (26)
could you try https://2i2c.org/pilot/use.html#include-content-in-your-hub ?
from docs.
also you should have an upload button here:
from docs.
I used the upload button, I see that the transfer has started but after that I do not see the bar filling as usual:
from docs.
Hmm weird, it just worked for me. Try an nbgitpuller link and we can debug this later?
from docs.
The nbgitpuller works great. I have a notebook now, and the notebook can load or install the required packages. To test my full notebook, I need the upload function to work, because I cannot put our data files on GitHub.
from docs.
Makes sense. I guess you could try restarting your server and see if it works after doing so. Is the dataset particular large or anything?
from docs.
from docs.
That's bizarre, I will try to look into it though am on baby duty right now!
from docs.
I just tried starting a server as your user and the upload worked fine as well...so I wonder if this could be some kind of oversees usage issue? Either way, perhaps we can find a time to debug together tomorrow morning, or perhaps @yuvipanda has ideas for what's up
another thing you could try is to use jupyterlab (just replace /tree
with /lab
in the URL). You should be able to upload folders/files there by dragging and dropping the files into the UI.
from docs.
The lab gives me the same error.
There seems to be a file size limit (~ 1 MB) in the upload function that is not there for the nbgitpuller
I have made a really tiny notebook and that one I can upload.
from docs.
ahh yeah I bet you're right that the file size is a bottleneck here. I just tried uploading a larger file and it didn't work as well π . It sounds like a 413 error suggests this too: https://confluence.atlassian.com/jirakb/http-error-413-request-entity-too-large-failure-when-attaching-files-693900009.html#:~:text=A%20413%20error%20indicates%20that,willing%20or%20able%20to%20process.
Probably something configurable on the Jupyter server side.
In the meantime as a short-term solution to keep demo-ing, you could try to add a cell at the top of the notebook session that downloads this. e.g.:
!wget https://my-large-file
since persistent storage isn't turned on yet, you may wanna do something like this anyway to avoid having to manually upload each time.
from docs.
This works. My notebook runs fine and ends up with 997 MB of memory usage :). Experience has been good. Missing packages install well without trouble. I have one notebook, which is currently running, that requires ffmpeg
to create movies. Would it be possible to install that? I use this, based on matplotlib
:
# Call the animator. Keyword blit=True means only re-draw the parts that have changed.
anim = animation.FuncAnimation(fig1, animate, init_func=init,
frames=h_prime_out.shape[0], interval=40, blit=True)
HTML(anim.to_html5_video())
from docs.
The upload limit should be fixed now! I'm working on getting ffmpeg installed.
Excited to put this into production! \o/
from docs.
It still does not work here? I am trying to upload a 3.6 MB notebook and 50 MB of data and the same thing as before happens.
from docs.
@Chiil hmm, am investigating again now.
from docs.
@Chiil try now?
from docs.
Now it works! Great.
from docs.
Great! ffmpeg should also be there now.
from docs.
It doesn't work, maybe the script cannot find the executable.
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-10-590854a5f902> in <module>
13 frames=h_prime_out.shape[0], interval=40, blit=True)
14
---> 15 HTML(anim.to_html5_video())
/opt/conda/lib/python3.8/site-packages/matplotlib/animation.py in to_html5_video(self, embed_limit)
1314 # We create a writer manually so that we can get the
1315 # appropriate size for the tag
-> 1316 Writer = writers[mpl.rcParams['animation.writer']]
1317 writer = Writer(codec='h264',
1318 bitrate=mpl.rcParams['animation.bitrate'],
/opt/conda/lib/python3.8/site-packages/matplotlib/animation.py in __getitem__(self, name)
164 if self.is_available(name):
165 return self._registered[name]
--> 166 raise RuntimeError(f"Requested MovieWriter ({name}) not available")
167
168
RuntimeError: Requested MovieWriter (ffmpeg) not available
from docs.
I wonder if you could try installing ffmpeg
from conda until we get it installed on the base image:
conda install -c conda-forge ffmpeg
from docs.
I think it should be present, you might have to try starting / stopping your server. I can see it in my server
from docs.
ah yes - stopping/starting made it work for me
from docs.
also @Chiil - persistent storage should now be enabled, so give it a whirl if you like!
from docs.
It all works. My three notebooks that I tested all work out fine, and the data is persistent. Great π.
from docs.
from docs.
gonna close this one as I think it's finished π
from docs.
Related Issues (20)
- Create a user off-boarding checklist for hub admins
- Document Grafana access for communities HOT 1
- [BUG] readthedocs actions doesn't provide a working URL to deploy preview when updating docs
- Upgrade Hub Service Guide to Jupyter Book HOT 3
- [EPIC] Port existing Hub Service Guide content to Jupyter Book HOT 8
- Document that the configurator is not available if using profileLists
- Write technical content for guiding communities on how to build custom images for their hubs. HOT 7
- Add how to edit users in admin/howto/manage-users/
- Directive to replace custom Python, e.g. list of running hubs and feature tables HOT 5
- [EPIC] Update workflows for the Hub Service Guide (docs.2i2c.org) to aid support work
- How-to guide for adding persistent storage buckets HOT 6
- How-to guide for tracking usage and costs in Grafana HOT 2
- Update how-to-guides/add-packages-to-image.md
- Document the usage of temp rather than $HOME for keeping temporary data files HOT 2
- Move https://github.com/yuvipanda/example-inherit-from-community-image to 2i2c-org and change into template HOT 2
- Create how-to on using dask-gateway for communities HOT 6
- Document use of cloud object storage HOT 4
- Document how to test JupyterHub images locally
- Create redirect from old customise image docs to new customise image docs HOT 3
- Tutorial for data transfer workflow for large datasets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.