Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After entering API Key: Error #287

Closed
ghost opened this issue Dec 2, 2014 · 1 comment
Closed

After entering API Key: Error #287

ghost opened this issue Dec 2, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 2, 2014

Hi!, thanks for a great script. im having this problem and have no idea how to solve. i follow the steps in http://tech.rgou.net/en/linux-2/backup-script-on-google-drive-for-linux/ and everything goes fine untill i enter the API key and then i get everything you see below. Any help would be much appreciated. Thanks in advance!

bert@ubuntu:/mnt/GoogleDrive$ grive -al log.txt

Please go to this URL and get an authentication code:

https://accounts.google.com/o/oauth2******


Please input the authentication code here:
4/vxY5vzQYG*****mev33diQlX_f2SwDSNo-8o***z47aPVGskToiIBeO6P2m9g3rATlAI
exception: /build/buildd/grive-0.3.0+git20131230/libgrive/src/util/File.cc(128): Throw in function void gr::File::Open(const boost::filesystem::path&, int, int)
Dynamic exception type: boost::exception_detail::clone_implgr::File::Error
[gr::expt::BacktraceTag
] = #0 0x46fed0 grive gr::Exception::Exception()
#1 0x46f341 grive gr::File::Error::Error()
#2 0x46edc0 grive gr::File::File(boost::filesystem::path const&, int)
#3 0x471659 grive gr::Config::Save()
#4 0x43060f grive Main(int, char
)
#5 0x42e6ab grive main
#6 0x7f0d3be62ec5 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#7 0x42f4cf grive

13, "Permission denied"[boost::errinfo_file_name__] = ./.grive
[boost::errinfo_api_function__] = open


log.txt:

grive version 0.3.0-pre Apr 3 2014 15:27:05
current time: 2014-11-25T07:41:07.267Z
config file name "./.grive"
last sync time: 1970-01-01T00:00:00.000Z
Reading local directories
file .grive is ignored by grive
previous change stamp is -1
Synchronizing folders
HTTP GET "https://docs.google.com/feeds/default/private/full/-/folder?max-results=50&showroot=true"
HTTP response 401
resquest failed due to auth token expired: 401. refreshing token
HTTP GET "https://docs.google.com/feeds/default/private/full/-/folder?max-results=50&showroot=true"
exception: /build/buildd/grive-0.3.0+git20131230/libgrive/src/xml/TreeBuilder.cc(76): Throw in function void gr::xml::TreeBuilder::ParseData(const char_, std::size_t, bool)
Dynamic exception type: boost::exception_detail::clone_implgr::xml::Error
[gr::xml::ExpatApiError__] = XML_Parse
[gr::expt::BacktraceTag*] = #0 0x46fed0 grive gr::Exception::Exception()
#1 0x474dc1 grive gr::xml::Error::Error()
#2 0x4742a8 grive gr::xml::TreeBuilder::ParseData(char const*, unsigned long, bool)
#3 0x4576ef grive gr::http::XmlResponse::Write(char const*, unsigned long)
#4 0x7f64ad8c0c60 /usr/lib/x86_64-linux-gnu/libcurl.so.4
#5 0x7f64ad8da360 /usr/lib/x86_64-linux-gnu/libcurl.so.4
#6 0x7f64ad8d4b87 /usr/lib/x86_64-linux-gnu/libcurl.so.4
#7 0x7f64ad8de88c /usr/lib/x86_64-linux-gnu/libcurl.so.4
#8 0x7f64ad8df031 /usr/lib/x86_64-linux-gnu/libcurl.so.4 curl_multi_perform
#9 0x7f64ad8d6663 /usr/lib/x86_64-linux-gnu/libcurl.so.4 curl_easy_perform
#10 0x4587e8 grive gr::http::CurlAgent::ExecCurl(std::string const&, gr::DataStream*, gr::http::Header const&)
#11 0x458d6b grive gr::http::CurlAgent::Get(std::string const&, gr::DataStream*, gr::http::Header const&)
#12 0x466bdd grive gr::AuthAgent::Get(std::string const&, gr::DataStream*, gr::http::Header const&)
#13 0x441786 grive gr::v1::Drive::SyncFolders()
#14 0x442487 grive gr::v1::Drive::DetectChanges()
#15 0x430799 grive Main(int, char**)
#16 0x42e6ab grive main
#17 0x7f64abffbec5 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#18 0x42f4cf grive

@ghost
Copy link
Author

ghost commented Dec 2, 2014

I found the problem! it was a problem on my side.

Install this:

sudo apt-get install qt-sdk

then follow this

http://www.lbreda.com/grive/installation

Thanks for a great app!!

@ghost ghost closed this as completed Dec 2, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants