Skip to content
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

[Bug]: Display DANDI in combination with Google drive creates 100 GB file (+resulting sync issue) #279

Open
2 tasks done
Diirkk opened this issue Feb 23, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Diirkk
Copy link

Diirkk commented Feb 23, 2023

What happened?

Use 'Panel' to display repository on DANDI (all run on local computer). The jupyter notebook is saved on a Google drive (Windows extension). Opening a repository from dandi pre-allocates ~100 GB on the disc, which Google Drive attempts to sync.

Steps to Reproduce

Run Panel from jupyter notebook file that is stored on Google Drive windows extension and load arbitrary dandi file.

Traceback

No response

Operating System

Windows

Python Version

3.9

Package Versions

No response

Code of Conduct

@Diirkk Diirkk added the bug Something isn't working label Feb 23, 2023
@CodyCBakerPhD
Copy link
Collaborator

What we need to do here, at the very least on the Panel side, is allow user selection of the cache folder so they can place it somewhere outside the directory that the notebook is stored

Beyond that though, I'll do some experimentation on my side to see if I can methodically reproduce this problem, which could reveal an interesting behavior I was not previously aware of when locally streaming very large files

If it works as we observed, then we would want to add a caution note to the streaming tutorial as well raise issues upstream to try to determine if its something fsspec is able to resolve on its side, or perhaps an issue with Drive specifically

@luiztauffer
Copy link
Collaborator

I agree that the simplest solution would be to add an argument on Panel for the user to choose the cache folder

@bendichter
Copy link
Collaborator

You could also just disable the cache

@luiztauffer
Copy link
Collaborator

@Diirkk cache is now optional, you can check/uncheck it within the Panel interface
could you please try it and let us know if we can close this Issue? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants