Coder Social home page Coder Social logo

Comments (2)

avindra avatar avindra commented on May 24, 2024

Started getting this recently as well. Any clues yet?

Is this the same as #34 also?

from gcsf.

harababurel avatar harababurel commented on May 24, 2024

Since 88ee06b (included in 0.1.24), special Drive files which cannot be exported are represented as dummy text files containing a message similar to:

UNEXPORTABLE_FILE: The MIME type of this file is "application/vnd.google-apps.map", which can not be exported from Drive. Web content link provided by Drive: None

which should get rid of the BadRequest errors. I have so far only found Maps and Forms to fit in this category, but will add others if anyone reports them. Other special files (Sites and Drawings) can be exported and are now supported by GCSF.

#34 is a different issue altogether, caused by a mix of:

  • having >100 GB of data on Drive; note that only the file count influences the mount time, not the file size
  • the design decision to make GCSF fetch everything at mount time instead of being lazy and fetching as needed
  • Drive API allowing callers to request between 100 and 1000 files per page (see the pageSize parameter) but providing no guarantee on how many files it will actually return (only 460/page in this case).
  • the likelihood of a user having a significant number of files shared with them, which can't be easily excluded from the API response (see Google Drive API files setq sharedWithMe=false causes β€œ500 Internal Server Error” on stack overflow). The workaround described in the comments is not a viable option -- for instance I am the owner of some files within a large shared directory owned by someone else. These files match 'me' in owners but they do not belong to my drive, which means that using this workaround by itself makes a bunch of unrelated files suddenly lose their hierarchical order and appear flattened in the mount directory.

Solving #34 requires a bit more work and possibly a redesign of the file system.

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.