/home/XXXXXX/Downloads/grive2-master/libgrive/src/protocol/AuthAgent.cc(191): Throw in function long int gr::AuthAgent::CheckHttpResponse(long int, const string&, const gr::http::Header&)
Opened this issue · 8 comments
/home/XXXXXX/Downloads/grive2-master/libgrive/src/protocol/AuthAgent.cc(191): Throw in function long int gr::AuthAgent::CheckHttpResponse(long int, const string&, const gr::http::Header&)
Dynamic exception type: N5boost16exception_detail10clone_implIXXXXXXXXXXXXXX
Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4http5ErrorEEE
[PN2gr4expt12BacktraceTagE] = #0 0x4fc8b1 :0 gr::Exception::Exception()
#1 0x4d7017 :0 gr::http::Error::Error()
#2 0x4de4bd :0 gr::AuthAgent::CheckHttpResponse(long, std::string const&, gr::http::Header const&)
#3 0x4de006 :0 gr::AuthAgent::Post(std::string const&, std::string const&, gr::DataStream*, gr::http::Header const&)
#4 0x4ced47 :0 gr::v2::Syncer2::DeleteRemote(gr::Resource*)
#5 0x4c3502 :0 gr::Resource::SyncSelf(gr::Syncer*, gr::Val const&)
#6 0x4c30bd :0 gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#7 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer_, gr::DateTime&, gr::Val const&) const
#8 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#9 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource*&)
#10 0x4c51e3 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#11 0x4c31cd :0 gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#12 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#13 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#14 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource*&)
#15 0x4c51e3 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#16 0x4c31cd :0 gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#17 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#18 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#19 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource*&)
#20 0x4c51e3 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#21 0x4c31cd :0 gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#22 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#23 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#24 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource*&)
#25 0x4c51e3 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#26 0x4c31cd :0 gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#27 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#28 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#29 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource*&)
#30 0x4c51e3 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#31 0x4c31cd :0 gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#32 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#33 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#34 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource*&)
#35 0x4c51e3 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > >)
#36 0x4c31cd :0 gr::Resource::Sync(gr::Syncer*, gr::DateTime&, gr::Val const&)
#37 0x4cc4b7 :0 gr::State::Sync(gr::Syncer*, gr::Val const&)
#38 0x4beffb :0 gr::Drive::Update()
#39 0x4a4467 :0 Main(int, char**)
#40 0x4a4a14 :0 main
#41 0x7fa56485cec5 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#42 0x4a31a9 :0 _start
[PN2gr4http15HttpResponseTagE] = 403
[PN2gr4http6UrlTagE] = https://www.googleapis.com/drive/v2/files/XXXXXXXXXXXXXXXX/trash
[PN2gr4http9HeaderTagE] = If-Match: "XXXXXXXXXXXXXX/XXXXXXXX"
Authorization: Bearer XXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
GData-Version: 3.0
Shall I restart everything from scratch again?
Yes, I think you can try it...
It looks like it couldn't move some file into trash because drive responded with HTTP 403... but I don't know what it means and it seems drive API documentation says nothing on HTTP response code...
There's something here https://developers.google.com/drive/web/handle-errors
I think I should add some logging to see what the error means when a crash occurs...
From the scratch shows up grive -V:
exception: /home/XXX/Downloads/grive2-master/libgrive/src/util/File.cc(128): Throw in function void gr::File::Open(const boost::filesystem::path&, int, int)
Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4File5ErrorEEE
[PN2gr4expt12BacktraceTagE] = #0 0x4fc8b1 :0 gr::Exception::Exception()
#1 0x4f79e5 :0 gr::File::Error::Error()
#2 0x4f6e1c :0 gr::File::Open(boost::filesystem::path const&, int, int)
#3 0x4f6efd :0 gr::File::OpenForRead(boost::filesystem::path const&)
#4 0x4f6bae :0 gr::File::File(boost::filesystem::path const&)
#5 0x4cf927 :0 gr::v2::Syncer2::Upload(gr::Resource_)
#6 0x4cefd3 :0 gr::v2::Syncer2::EditContent(gr::Resource_, bool)
#7 0x4c35ef :0 gr::Resource::SyncSelf(gr::Syncer_, gr::Val const&)
#8 0x4c30bd :0 gr::Resource::Sync(gr::Syncer_, gr::DateTime&, gr::Val const&)
#9 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer_, gr::DateTime&, gr::Val const&) const
#10 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#11 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource&)
#12 0x4c51e3 :0 boost::_bi::bind_t<void, boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::bi::list4boost::arg<1, boost::bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#13 0x4c31cd :0 gr::Resource::Sync(gr::Syncer, gr::DateTime&, gr::Val const&)
#14 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#15 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#16 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource&)
#17 0x4c51e3 :0 boost::_bi::bind_t<void, boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::bi::list4boost::arg<1, boost::bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#18 0x4c31cd :0 gr::Resource::Sync(gr::Syncer, gr::DateTime&, gr::Val const&)
#19 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#20 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#21 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource&)
#22 0x4c51e3 :0 boost::_bi::bind_t<void, boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::bi::list4boost::arg<1, boost::bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#23 0x4c31cd :0 gr::Resource::Sync(gr::Syncer, gr::DateTime&, gr::Val const&)
#24 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#25 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#26 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource&)
#27 0x4c51e3 :0 boost::_bi::bind_t<void, boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::bi::list4boost::arg<1, boost::bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#28 0x4c31cd :0 gr::Resource::Sync(gr::Syncer, gr::DateTime&, gr::Val const&)
#29 0x4c77cd :0 boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>::operator()(gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&) const
#30 0x4c6bad :0 void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>&, boost::_bi::list1gr::Resource*&&, int)
#31 0x4c5e43 :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >::operator()gr::Resource*(gr::Resource&)
#32 0x4c51e3 :0 boost::_bi::bind_t<void, boost::mfi::mf3<void, gr::Resource, gr::Syncer, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Val > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocatorgr::Resource* > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::Syncer*, gr::DateTime&, gr::Val const&>, boost::_bi::list4boost::arg<1, boost::bi::valuegr::Syncer*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Val > >)
#33 0x4c31cd :0 gr::Resource::Sync(gr::Syncer, gr::DateTime&, gr::Val const&)
#34 0x4cc4b7 :0 gr::State::Sync(gr::Syncer, gr::Val const&)
#35 0x4beffb :0 gr::Drive::Update()
#36 0x4a4467 :0 Main(int, char**)
#37 0x4a4a14 :0 main
#38 0x7f7c02260ec5 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#39 0x4a31a9 :0 _start
13, "Permission denied"[PN5boost18errinfo_file_name_E] = ./XXXXg/XXX/XXX.XXX/XXX.pdf
[PN5boost21errinfo_api_function_E] = open
Fix your file permissions...
"Permission denied" --> ./XXXXg/XXX/XXX.XXX/XXX.pdf
fixed the permissions but now from the scratch get the same error from the beginning :/
it's a bit ridiculous that google didn't develop yet "google drive" for the users using GNU/linux
I still think it's something related to file permissions.