Coder Social home page Coder Social logo

Comments (8)

sgbeal avatar sgbeal commented on July 21, 2024

PS: i'm running e79ff15.

from grive.

match065 avatar match065 commented on July 21, 2024

Looks like you are running the latest code. I just added the new scope today. Can you comment out the invalid scope "https://www.googleapis.com/auth/drive.file/" from src/protocol/OAuth2.cc and try again?

By the way, you sure have google drive enabled in your account, haven't you? Anyway I guess the "drive.file" scope is not required. I will remove it if it works in your case.

Thanks!!

from grive.

sgbeal avatar sgbeal commented on July 21, 2024

Hi!

That got me a bit further, and now i've stumbled upon a probably missing feature:

...
Please input the authenication code here
...
downloading ./Docs/Work/Consol/2012-04-XX HTML5-5 Fragen-5 Antworten_ v2.doc
downloading counters/ship-0077.svg
terminate called after throwing an instance of 'std::runtime_error'
what(): cannot open file counters/ship-0077.svg for writing
Aborted (core dumped)
[stephan@host:/cvs/grive/foo]$ ../grive
downloading counters/ship-0077.svg
terminate called after throwing an instance of 'std::runtime_error'
what(): cannot open file counters/ship-0077.svg for writing
Aborted (core dumped)
[stephan@host:
/cvs/grive/foo]$ mkdir counters
[stephan@host:~/cvs/grive/foo]$ ../grive
downloading counters/ship-0077.svg
downloading counters/ship-0076.svg
downloading counters/ships-counters-halfinch.svg
^C

Just FYI (but i'm sure you knew about that already).

Thanks for the code! Very cool!

from grive.

match065 avatar match065 commented on July 21, 2024

This is something new. I don't know why grive cannot download the file. Does the directory "counter" exist after grive quits?

from grive.

sgbeal avatar sgbeal commented on July 21, 2024

i had to manually create it, then grive was happy. i have stopped testing for the time being because i ended up (apparently) syncing/uploading an incomplete file which i had broken by ctrl-C'ing grive. During the download i interrupted it, then on the next run grive thought it was newer and (as far as i can tell) uploaded the new 0-byte file. No big deal (they're versioned), but it could have gone badly had i not been paying attention and the revision history had expired (30 days, IIRC). Until GDrive has a linux client i've still got everything in dropbox, anyway.

But to be clear: i understand that this is early in development, so i'm not complaining :). i'm looking forward to what you achieve with your code. A hypothetical libgrive could give cloud storage access to all sorts of apps. i could add a wrapper for libs11n (http://s11n.net) to de/serialize near-arbitrary C++ objects directly from/to GDrive :).

from grive.

sgbeal avatar sgbeal commented on July 21, 2024

i might have found the difference: grive creates folders for my gdrive folders except in one case: the counters folder is shared. Let me test with another shared folder... nope, that's not it. And it's not synching all folders. i'll ping you off-list with screenshots and details.

from grive.

match065 avatar match065 commented on July 21, 2024

Great!! That is great help! I am going to test it out on my own with some shared folders and get back to you.

from grive.

match065 avatar match065 commented on July 21, 2024

I have open a new issue to track this problem: https://github.com/match065/grive/issues/8

from grive.

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.