Grive / grive

an open source Linux client for Google Drive
http://www.lbreda.com/grive/start
GNU General Public License v2.0
1.59k stars 379 forks source link

Grive does not work #310

Open simeonborko opened 9 years ago

simeonborko commented 9 years ago

I have been using Grive for long time. It worked perfectly. But today it says:

Reading local directories Synchronizing folders exception: /build/buildd/grive-0.2.0/libgrive/src/http/CurlAgent.cc(149): Throw in function long int gr::http::CurlAgent::ExecCurl(const string&, gr::http::Receivable*, const gr::http::Header&) Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4http5ErrorEEE std::exception::what: std::exception [PN2gr4expt6MsgTagE] = [PN2gr4http11CurlCodeTagE] = 0 [PN2gr4http15HttpResponseTagE] = 400 [PN2gr4http6UrlTagE] = https://docs.google.com/feeds/default/private/full/-/folder?max-results=50&showroot=true [PN2gr4http9HeaderTagE] = Authorization: Bearer ya29.WwGWXdYnw_iNWNJeXTO4sZHnmEzwqFFoqJN1HjHPzyMki2xvcGPIOG8ADE6XvsHHE9X48pw_UTSKDA GData-Version: 3.0

What does it mean? What should I do in order to repair it? Thank you very much.

dmcgrath commented 9 years ago

Grive is using an API for Drive that was deprecated in 2012 and finally turned off today. It looks like they stopped maintaining this project and haven't migrated it to the supported API since there are earlier tickets on this issue tracker asking about the API deprecation that went unanswered.

fastcat commented 9 years ago

you might find https://github.com/astrada/google-drive-ocamlfuse a useful replacement ... I am

colinkeenan commented 9 years ago

Same problem for me, and I guess everyone. I will look at the ocamlfuse one.

PeterSprague commented 9 years ago

check out a python alternative: https://github.com/iwonbigbro/gsync Additional doc: http://wiki.linuxquestions.org/wiki/Rsync_with_Google_Drive

colinkeenan commented 9 years ago

I've chosen to use https://github.com/odeke-em/drive

aelzenaar commented 9 years ago

Are the maintainers still around (is there a chance it could be ported to a new API)?

Cilke commented 9 years ago

After 2 days of browsing the issue I found now why. Colinkeenan is this woks like grive?

Thanks guys for your guidance,

colinkeenan commented 9 years ago

@Cilke After installing, initializing, and getting through the first run, "drive push" works essentially the same as grive. It has many other functions though, and you will need to read the documentation to at least get the directory initialized: https://github.com/odeke-em/drive#drive

pbreuer commented 9 years ago

I was told by the author of a grive fork that corrects this issue where to find it .. and it appears to work fine (not that I've checked the diff - all I can say of the source is that certain compile issues in the original are also corrected, so recent maintenance work has definitely been done and configure and compile now goes very smoothly under gcc 4.9 on debian stable):

Google has shut down old "Document List" API since April. Use my fork:
https://github.com/vitalif/grive2 - it supports new REST API

Cilke commented 9 years ago

@pbreuer thanks for this great news!

I will give a try right now. Have a safe weekend!

Cheers!

Cilke commented 9 years ago

@colinkeenan Thanks for your guidance too!