Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Crash during grive -a #47

donhilion opened this Issue · 13 comments

3 participants


When running "grive -a" after inserting the Google API key the program crashes.
This is the output:

Please go to this URL and get an authentication code:

Please input the authentication code here:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<gr::http::Error>'
what(): std::exception

The local directory is empty.
The remote directory contains some Google Docs documents and two folders with subfolders.


Did you compile Grive from source or using the binary packages? Is it v0.1.0 or it's the latest code?


BTW, I also like fallout.


I have the problem with v0.1.0 and the latest code from git.
My system is Arch Linux and I installed both version from the AUR.

The v0.1.0 ("grive" in AUR) is the binary.
When I install "grive-git", the latest code is downloaded and compiled.


i can confirm having the exact same problem that donhillon described with the pre-build package '0.1.0-1+git20120601~webupd8~precise1' pulled from 'ppa:nilarimogard/webupd8' as described in
i'm running ubuntu 12.04 64bit and had google drive (successfully) enabled on another device (android) before running 'grive -a'



I just compiled the new sources (20120606) and now the error is gone.
Instead nothing happens. No download and no .grive folder.


It seems that grive tries to read a config file in the folder it was build in.
The complete log:

cannot read config: /tmp/yaourt-tmp-name/aur-grive-git/src/grive/libgrive/src/protocol/ Throw in function gr::Json gr::Json::operator const
Dynamic exception type: boost::exception_detail::clone_impl<gr::Json::Error>
std::exception::what: std::exception
[gr::expt::BacktraceTag] = #0 0x7f96f3e01639 /usr/lib/ gr::Exception::Exception()
#1 0x7f96f3dfb4e5 /usr/lib/ gr::Json::Error::Error()
#2 0x7f96f3dfa7e2 /usr/lib/ gr::Json::operator const
#3 0x40fae6 grive Main(int, char
#4 0x40eeda grive main
#5 0x7f96f3058455 /lib/ __libc_start_main
#6 0x40f0e9 grive

[gr::expt::MsgTag] = key: refresh_token is not found in object
] = { }

Please run grive with the "-a" option if this is the first time you're accessing your Google Drive!


donhilion, did you run with -a?


Yes. grive -al log.txt


I am not able to reproduce it.

Can you delete the .grive file and retry?


There never was a .grive file.
But I have used a new API key and now it is working.

Maybe there should be a test and a notification, if there is something wrong with the API key.

@donhilion donhilion closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.