vitalif / grive2

Google Drive client with support for new Drive REST API and partial sync
http://yourcmc.ru/wiki/Grive2
GNU General Public License v2.0
1.52k stars 141 forks source link

exception when running grive -a #398

Closed smilesun closed 4 months ago

smilesun commented 4 months ago

request failed due to temporary error: 500 (body: ). retrying in 5 seconds

grive2/libgrive/src/json/JsonParser.cc(165): Throw in function void gr::
JsonParser::Parse(const char*, std::size_t)                                                              
Dynamic exception type: boost::wrapexcept<gr::JsonParser::Error>                                         
[gr::expt::BacktraceTag*] = #0 0x55bf769bfc3d grive gr::Exception::Exception()                           
#1 0x55bf7699a413 grive gr::JsonParser::Error::Error()                                                   
#2 0x55bf76999fbc grive gr::JsonParser::Parse(char const*, unsigned long)                                
#3 0x55bf769aea41 grive gr::http::ValResponse::Write(char const*, unsigned long)                         
#4 0x55bf76990726 grive gr::http::CurlAgent::Receive(void*, unsigned long, unsigned long, gr::http::CurlA
gent*)                                                                                                   
#5 0x7f961151666f /lib/x86_64-linux-gnu/libcurl.so.4                                                     
#6 0x7f9611528e0b /lib/x86_64-linux-gnu/libcurl.so.4                                                     
#7 0x7f9611532c74 /lib/x86_64-linux-gnu/libcurl.so.4                                                     
#8 0x7f9611534091 /lib/x86_64-linux-gnu/libcurl.so.4 curl_multi_perform                                  
#9 0x7f961152a50b /lib/x86_64-linux-gnu/libcurl.so.4 curl_easy_perform                                   
#10 0x55bf76990adc grive gr::http::CurlAgent::ExecCurl(std::__cxx11::basic_string<char, std::char_traits<
char>, std::allocator<char> > const&, gr::DataStream*, gr::http::Header const&)                          
#11 0x55bf76990fb9 grive gr::http::CurlAgent::Request(std::__cxx11::basic_string<char, std::char_traits<c
har>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloca
tor<char> > const&, gr::SeekStream*, gr::DataStream*, gr::http::Header const&, unsigned long long)       
#12 0x55bf769aeee5 grive gr::AuthAgent::Request(std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<ch
ar> > const&, gr::SeekStream*, gr::DataStream*, gr::http::Header const&, unsigned long long)
#14 0x55bf769e27b8 grive gr::v2::Feed2::GetNext(gr::http::Agent*)
#15 0x55bf769757e5 grive gr::Drive::DetectChanges()
#16 0x55bf769512c3 grive Main(int, char**)
#17 0x55bf76951e45 grive main
#18 0x7f9610bc5083 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#19 0x55bf7694f5fe grive _start

[gr::JsonText*] = {
  "nextPageToken": "xxx",
  "kind": "drive#fileList",
  "etag": "\""",
  "selfLink": "xxx",
  "incompleteSearch": false,
  "nextLink": "https://www.googleapis.com/drive/v2/files?maxResults=xxxxx
[gr::ParseErr*] = parse error: trailing garbage
                                       {   "nextPageToken": "~!!~AI9FV
                     (right here) ------^
smilesun commented 4 months ago

this execpt disappears after waiting for 1 hour and sync again.