-
Notifications
You must be signed in to change notification settings - Fork 378
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
Crash during initial sync #114
Comments
I've got the same problem. I'm on Ubuntu 12.04, if it matters. Interestingly, it also crashs when it tries to sync a file from my TitaniumBackup backup folder.
anssi10, did you maybe find a solution in the meantime? |
@alexs77, no, didn't find any solutions unfortunately. |
Hi guys. Not sure it will help, but I got that error when added a file with the same path from two devices. The second device was my ubuntu box and when it tried to upload it got that error. I deleted the file locally and didn't get the error anymore. Hopes it helps! |
Thanks, but that's not it for me. I only had Grive partially setup on one Well - it falls flat down on its face... :-\ |
Hi Guys, I was getting this error here. sync "./passwords2.ods" changed in local. uploading I renamed my file "password2.ods" to "passwords3.ods" (the version on my local hard drive). And then the Sync worked. Not 100% sure if that is what fixed it as I was playing with a few other things at the same time. |
👍 @SamAnthony I got the same error and deleted the local file. Must have been a corrupt download or something (this was a first sync) |
I was seeing this issue when I had a file from my Drive folder still opened in MS Word (in a VirtualBox mapped drive). Closing MS Word in VirtualBox resolved it; it might have been due to some kind of file locking. |
I have this issue too on Ubuntu 14.04 exception: /build/buildd/grive-0.3.0/libgrive/src/protocol/AuthAgent.cc(174): Throw in function long int gr::AuthAgent::CheckHttpResponse(long int, const string&, const gr::http::Header&) [gr::http::HttpResponseTag_] = 400 |
It looks like it's because of the new Google API, Grive is getting 400 error "Bad request". I thing that Grive developers sould start coding again! |
I get a similar error: Reading local directories [gr::http::HttpResponseTag_] = 400 |
Warning : You should not share your Authorization token publicly, anyone could use it to access your documents. |
Regarding the issue, it is due to google API changes. https://www.thefanclub.co.za/how-to/ubuntu-google-drive-client-grive-and-grive-tools |
this project is dead, check activity at https://github.com/linwiz/grive |
@fommil I still get a 400 with this tool. Also, last commit was made almost 4 months ago. While googling for this problem I found two alternatives to Grive :
Haven't tested any of them yet, but I'm probably gonna give jdrivesync a try. |
I've switched to https://github.com/odeke-em/drive |
@pdecat Awesome. Thanks man ! |
Take a look at https://github.com/prasmussen/gdrive |
I just pulled Grive from git. During the initial sync I got a crash, details below. On two machines now, but different files. Also this leaves behind a local zero length file which grive tries to upload on the next run but crashes again.
sync ./TitaniumBackup-GNex/com.android.soundrecorder-20120617-205912.properties created in remote. creating local
exception: /work/src/grive/libgrive/src/protocol/AuthAgent.cc(174): Throw in function long int gr::AuthAgent::CheckHttpResponse(long int, const std::string&, const gr::http::Header&)
Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4http5ErrorEEE
std::exception::what: std::exception
[PN2gr4http9HeaderTagE] = Authorization: Bearer ya29.AHES6ZR_WoqzIV4KV82ehEnhmxCIB5eW_9gTeUAs7ndBZmc
GData-Version: 3.0
[PN2gr4http6UrlTagE] = https://doc-14-28-docs.googleusercontent.com/docs/securesc/bqbu31dha62ggj5a9uc5okdh17n97aba/841lsnoouso7f3gimmvhrjr8jlc40fq6/1343995200000/02482661572964810104/02482661572964810104/0ByZZWNdPgCdeaGVYYnJ3OHBYaTA?h=16653014193614665626&e=download&gd=true
[PN2gr4http15HttpResponseTagE] = 404
[PN2gr4expt12BacktraceTagE] = #0 0x4cb6a3 ./grive gr::Exception::Exception()
#1 0x4b49ab ./grive gr::http::Error::Error()
#2 0x4c101a ./grive gr::AuthAgent::CheckHttpResponse(long, std::string const&, gr::http::Header const&)
#3 0x4c0a3c ./grive gr::AuthAgent::Get(std::string const&, gr::http::Receivable*, gr::http::Header const&)
#4 0x4a87e6 ./grive gr::Resource::Download(gr::http::Agent*, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&) const
#5 0x4a7bae ./grive gr::Resource::SyncSelf(gr::http::Agent*, gr::Json const&)
#6 0x4a73ba ./grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#7 0x4ae5f5 ./grive boost::mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>::operator()(gr::Resource, gr::http::Agent_, gr::DateTime&, gr::Json const&) const
#8 0x4ad6ff ./grive void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>&, boost::_bi::list1gr::Resource*&&, int)
#9 0x4ac95a ./grive void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >::operator()gr::Resource*(gr::Resource*&)
#10 0x4ab4c3 ./grive boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > 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::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > >(__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::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::bi::valuegr::Json > >)
#11 0x4a74be ./grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#12 0x4ae5f5 ./grive boost::mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>::operator()(gr::Resource, gr::http::Agent, gr::DateTime&, gr::Json const&) const
#13 0x4ad6ff ./grive void boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list1gr::Resource*& >(boost::_bi::type, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>&, boost::_bi::list1gr::Resource*&&, int)
#14 0x4ac95a ./grive void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >::operator()gr::Resource*(gr::Resource*&)
#15 0x4ab4c3 ./grive boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > 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::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > > >(__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::http::Agent*, gr::DateTime&, gr::Json const&>, boost::_bi::list4boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::reference_wrappergr::DateTime, boost::_bi::valuegr::Json > >)
#16 0x4a74be ./grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&, gr::Json const&)
#17 0x4913f2 ./grive gr::State::Sync(gr::http::Agent*, gr::Json const&)
#18 0x498fd2 ./grive gr::Drive::Update()
#19 0x477bd9 ./grive Main(int, char**)
#20 0x477dff ./grive main
#21 0x7f8dc2ac6c4d /lib/libc.so.6 __libc_start_main
#22 0x4763b9 ./grive
The text was updated successfully, but these errors were encountered: