Coder Social home page Coder Social logo

Failure - PayloadTooLarge about gcsf HOT 4 CLOSED

harababurel avatar harababurel commented on May 23, 2024 1
Failure - PayloadTooLarge

from gcsf.

Comments (4)

harababurel avatar harababurel commented on May 23, 2024 1

Most likely happens because of the way GCSF requests chunks of the file tree. It sends a long query of the form "d_1" in parents or "d_2" in parents or ... or "d_k" in parents, where d_1, d_2, ..., d_k are all directories on a given level. I can imagine this type of query exceeds some fixed limit enforced by Drive, especially in the case of very populated accounts.

I'm looking into how I can improve the mount process as described in #4. Requesting all files at once and processing/rearranging them locally would most likely improve the mount time and fix this issue as well.

from gcsf.

AndreiBarsan avatar AndreiBarsan commented on May 23, 2024 1

Amazing work on this project!

But, sadly, I also get this error when I try to mount. :(
For what it's worth, I have a lot of stuff on my (now, nearly 10 year old) Drive... This includes weird stuff like some datasets which may have huge numbers of subdirectories, etc.

from gcsf.

harababurel avatar harababurel commented on May 23, 2024

I have changed the mount mechanism as of version 0.1.17 (ad5d8bb). The file system now requests all files at once (well, in chunks of as many as the API can provide) and rearrange them in the correct hierarchy afterwards. This should fix the PayloadTooLarge error and likely improve the mount time, unless you have a lot of files which are shared with you.

Consider giving this version a try and let me know if it improves your experience.

from gcsf.

Deadolus avatar Deadolus commented on May 23, 2024

Thank you for looking in to this.
Indeed I now no longer receive that error.
You may underestimate the amount of stuff some people have on their Google drives (me included).
I will create another ticket to describe my problem.
Thank you very much for fixing this issue - keep up the good work.

from gcsf.

Related Issues (20)

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.