Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/128.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ grive验证失败,异常类型为:boost::exception\u detail::clone\u impl Gentoo_C++_Google App Engine_Boost_Google Drive Api - Fatal编程技术网

C++ grive验证失败,异常类型为:boost::exception\u detail::clone\u impl Gentoo

C++ grive验证失败,异常类型为:boost::exception\u detail::clone\u impl Gentoo,c++,google-app-engine,boost,google-drive-api,C++,Google App Engine,Boost,Google Drive Api,我用portage安装grive。它安装时没有错误,但是当第一次尝试使用时,它会回退一个异常 gdrive # grive -a ----------------------- Please go to this URL and get an authentication code: https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+h

我用portage安装grive。它安装时没有错误,但是当第一次尝试使用时,它会回退一个异常

gdrive # grive -a
-----------------------
Please go to this URL and get an authentication code:

https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fdocs.google.com%2Ffeeds%2F+https%3A%2F%2Fdocs.googleusercontent.com%2F+https%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=22314510474.apps.googleusercontent.com

-----------------------
Please input the authentication code here: 
4/CVoD_uotkiP6UVPO51JBkZFLSPmAdXZQzBkSuM55vk
Reading local directories
Synchronizing folders
exception: /home/abuild/rpmbuild/BUILD/grive-master/libgrive/src/protocol/AuthAgent.cc(174): Throw in function long int gr::AuthAgent::CheckHttpResponse(long int, const string&, const gr::http::Header&)
Dynamic exception type: boost::exception_detail::clone_impl<gr::http::Error>
[gr::expt::BacktraceTag*] = #0 0x524b64 grive gr::Exception::Exception()
#1 0x505917 grive gr::http::Error::Error()
#2 0x50cd23 grive gr::AuthAgent::CheckHttpResponse(long, std::string const&, gr::http::Header const&)
#3 0x50c7db grive gr::AuthAgent::Get(std::string const&, gr::DataStream*, gr::http::Header const&)
#4 0x4ebc78 grive gr::v1::Drive::SyncFolders()
#5 0x4ec1da grive gr::v1::Drive::DetectChanges()
#6 0x4c981e grive Main(int, char**)
#7 0x4c9dca grive main
#8 0x7f61ae2cbb05 /lib64/libc.so.6 __libc_start_main
#9 0x4c8738 grive 

[gr::http::HttpResponseTag*] = 400
[gr::http::UrlTag*] = https://docs.google.com/feeds/default/private/full/-/folder?max-results=50&showroot=true
[gr::http::HeaderTag*] = Authorization: Bearer ya29.Ci8CA690emlxfHZzy2ZlVycWYAntDSmFEQTZNLgJV3CTb6OtoDHbgAiwqHG779h6mQ
GData-Version: 3.0
gdrive#grive-a
-----------------------
请转到此URL并获取身份验证代码:
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fdocs.google.com%2Ffeeds%2F+https%3A%2F%2Fdocs.googleusercontent.com%2F+https%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2&redirect\u uri=urn:ietf:wg:oauth:2.0:oob&response\u-type=code&client_id=22314510474.apps.googleusercontent.com
-----------------------
请在此处输入身份验证代码:
4/CVoD_uotkiP6UVPO51JBkZFLSPmAdXZQzBkSuM55vk
读取本地目录
同步文件夹
异常:/home/abuild/rpmbuild/BUILD/grive master/libgrive/src/protocol/AuthAgent.cc(174):插入函数long int gr::AuthAgent::CheckHttpResponse(long int,const string&,const gr::http::Header&)
动态异常类型:boost::exception\u detail::clone\u impl
[gr::expt::BacktraceTag*]=#0 0x524b64 grive gr::Exception::Exception()
#1 0x505917 grive gr::http::Error::Error()
#2 0x50cd23 grive gr::AuthAgent::CheckHttpResponse(长,标准::字符串常量&,gr::http::头常量&)
#3 0x50c7db grive gr::AuthAgent::Get(std::string常量&,gr::DataStream*,gr::http::Header常量&)
#4 0x4ebc78 grive gr::v1::驱动器::同步文件夹()
#5 0x4ec1da grive gr::v1::驱动器::检测更改()
#6 0x4c981e格栅干管(内部,字符**)
#7 0x4c9dca格栅干管
#8 0x7f61ae2cbb05/lib64/libc.so.6\u libc\u start\u main
#9 0x4c8738格里夫
[gr::http::HttpResponseTag*]=400
[gr::http::UrlTag*]=https://docs.google.com/feeds/default/private/full/-/folder?max-结果=50&showroot=true
[gr::http::HeaderTag*]=授权:承载ya29.ci8ca690emlxfhzzy2zlvycwyantsmfeqtznlgjv3ctb6otodhbgaiwqhg779h6mq
GData版本:3.0

如何在安装后连接到grive?

您是否尝试转到该URL并获取身份验证码?@Adam yes,如帖子所示,我会根据需要将密钥发布到cli,然后它就会消失。您是否尝试转到该URL并获取身份验证码?@Adam yes,如帖子所示,我根据需要将密钥发布到cli,然后它就死了。