Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

uploads break #93

Open
eyerouge opened this Issue · 15 comments

6 participants

@eyerouge

sync "./www/paperclip.svg" already in sync
sync "./www/archer-bg.png" doesn't exist in server, uploading
exception: /build/buildd/grive-0.2.0/libgrive/src/http/CurlAgent.cc(149): Throw in function long int gr::http::CurlAgent::ExecCurl(const string&, gr::http::Receivable, const gr::http::Header&)
Dynamic exception type: boost::exception_detail::clone_implgr::http::Error
std::exception::what: std::exception
[gr::expt::BacktraceTag
] = #0 0x4603df grive gr::Exception::Exception()
#1 0x4539c9 grive gr::http::CurlAgent::ExecCurl(std::string const&, gr::http::Receivable, gr::http::Header const&)
#2 0x453f57 grive gr::http::CurlAgent::Put(std::string const&, std::string const&, gr::http::Receivable
, gr::http::Header const&)
#3 0x44b754 grive gr::Resource::Upload(gr::http::Agent, std::string const&, gr::http::Header const&, bool)
#4 0x44becc grive gr::Resource::Create(gr::http::Agent
, gr::http::Header const&)
#5 0x44d6ba grive gr::Resource::SyncSelf(gr::http::Agent, gr::http::Header const&)
#6 0x44d909 grive gr::Resource::Sync(gr::http::Agent
, gr::http::Header const&)
#7 0x44df35 grive boost::_bi::bind_t, boost::_bi::list3boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::_bi::valuegr::http::Header > > std::for_each<__gnu_cxx::__normal_iterator > >, boost::_bi::bind_t, boost::_bi::list3boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::_bi::valuegr::http::Header > > >(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, boost::_bi::bind_t, boost::_bi::list3boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::_bi::valuegr::http::Header > >)
#8 0x44d97e grive gr::Resource::Sync(gr::http::Agent, gr::http::Header const&)
#9 0x44df35 grive boost::_bi::bind_t<void, boost::_mfi::mf2<void, gr::Resource, gr::http::Agent
, gr::http::Header const&>, boost::_bi::list3boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::_bi::valuegr::http::Header > > std::for_each<__gnu_cxx::__normal_iterator > >, boost::_bi::bind_t, boost::_bi::list3boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::_bi::valuegr::http::Header > > >(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, boost::_bi::bind_t, boost::_bi::list3boost::arg<1, boost::_bi::valuegr::http::Agent*, boost::_bi::valuegr::http::Header > >)
#10 0x44d97e grive gr::Resource::Sync(gr::http::Agent, gr::http::Header const&)
#11 0x436d5f grive gr::State::Sync(gr::http::Agent
, gr::http::Header const&)
#12 0x43c385 grive gr::Drive::Update()
#13 0x4276ac grive Main(int, char**)
#14 0x424939 grive main
#15 0x7f2ee6b7c76d /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#16 0x4255d1 grive

[gr::expt::MsgTag] =
[gr::http::CurlCodeTag
] = 0
[gr::http::HttpResponseTag] = 400
[gr::http::UrlTag
] = https://docs.google.com/feeds/upload/create-session/default/private/full/folder%3A0B1K7mka7vmsOSGNyeHpDSFVQOGs/contents?convert=false&upload_id=AEnB2Upk4EfKPKOcOR3c7l_mrlSnnl9k0Yqf_alcyFuQlAtWoXEDS4oOEa18R0pMMVxcUWx9NsS5rDeTTNpWuAUmPVBeLdrYSw
[gr::http::HeaderTag*] = Expect:
Accept:

snowdrop@snow:~/WTactics$ grive -v
grive version 0.2.0 Jul 12 2012 10:23:58
snowdrop@snow:~/WTactics$

@nestal
Owner

Does it occur every time you sync this file?

@eyerouge

It happens most often, yes. If it isn't that specific file then it is some other one: It behaves like that with many different files.

@nexces

It happens also to me. Here is the stack trace:

adrianp@ol-sdc-piotrowicz:~/grive$ grive 
Reading local directories
Synchronizing folders
Reading remote server file list
Detecting changes from last sync
Synchronizing files
sync "./Pictures/[REMOVED].CR2" doesn't exist in server, uploading
sync "./Pictures/[REMOVED].JPG" doesn't exist in server, uploading
sync "./Pictures/[REMOVED].JPG" doesn't exist in server, uploading
sync "./Pictures/[REMOVED].JPG" doesn't exist in server, uploading
sync "./Pictures/[REMOVED].JPG" doesn't exist in server, uploading
sync "./Pictures/[REMOVED].CR2" doesn't exist in server, uploading
exception: /home/adrianp/Install/grive/libgrive/src/http/CurlAgent.cc(168): Throw in function long int gr::http::CurlAgent::ExecCurl(const string&, gr::http::Receivable*, const gr::http::Header&)
Dynamic exception type: boost::exception_detail::clone_impl<gr::http::Error>
std::exception::what: std::exception
[gr::expt::BacktraceTag*] = #0 0x4d3d2e :0 gr::Exception::Exception()
#1 0x4c63f1 :0 gr::http::Error::Error()
#2 0x4c5813 :0 gr::http::CurlAgent::ExecCurl(std::string const&, gr::http::Receivable*, gr::http::Header const&)
#3 0x4c5c27 :0 gr::http::CurlAgent::Put(std::string const&, gr::StdioFile&, gr::http::Receivable*, gr::http::Header const&)
#4 0x4ae73d :0 gr::Resource::Upload(gr::http::Agent*, std::string const&, gr::http::Header const&, bool, gr::DateTime&)
#5 0x4adfd0 :0 gr::Resource::Create(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#6 0x4ac9f9 :0 gr::Resource::SyncSelf(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#7 0x4ac69a :0 gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)                                                                       
#8 0x4b2820 :0 boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>::operator()(gr::Resource*, gr::http::Agent*, gr::http::Header const&, gr::DateTime&) const                                                                                                                            
#9 0x4b1acb :0 void boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list1<gr::Resource*&> >(boost::_bi::type<void>, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>&, boost::_bi::list1<gr::Resource*&>&, int)
#10 0x4b0eac :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >::operator()<gr::Resource*>(gr::Resource*&)
#11 0x4b0187 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >)
#12 0x4ac769 :0 gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#13 0x4b2820 :0 boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>::operator()(gr::Resource*, gr::http::Agent*, gr::http::Header const&, gr::DateTime&) const
#14 0x4b1acb :0 void boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list1<gr::Resource*&> >(boost::_bi::type<void>, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>&, boost::_bi::list1<gr::Resource*&>&, int)
#15 0x4b0eac :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >::operator()<gr::Resource*>(gr::Resource*&)
#16 0x4b0187 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >)
#17 0x4ac769 :0 gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#18 0x4b2820 :0 boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>::operator()(gr::Resource*, gr::http::Agent*, gr::http::Header const&, gr::DateTime&) const
#19 0x4b1acb :0 void boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list1<gr::Resource*&> >(boost::_bi::type<void>, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>&, boost::_bi::list1<gr::Resource*&>&, int)
#20 0x4b0eac :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >::operator()<gr::Resource*>(gr::Resource*&)
#21 0x4b0187 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >)
#22 0x4ac769 :0 gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#23 0x4b2820 :0 boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>::operator()(gr::Resource*, gr::http::Agent*, gr::http::Header const&, gr::DateTime&) const
#24 0x4b1acb :0 void boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list1<gr::Resource*&> >(boost::_bi::type<void>, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>&, boost::_bi::list1<gr::Resource*&>&, int)
#25 0x4b0eac :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >::operator()<gr::Resource*>(gr::Resource*&)
#26 0x4b0187 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >)
#27 0x4ac769 :0 gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#28 0x4b2820 :0 boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>::operator()(gr::Resource*, gr::http::Agent*, gr::http::Header const&, gr::DateTime&) const
#29 0x4b1acb :0 void boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list1<gr::Resource*&> >(boost::_bi::type<void>, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>&, boost::_bi::list1<gr::Resource*&>&, int)
#30 0x4b0eac :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >::operator()<gr::Resource*>(gr::Resource*&)
#31 0x4b0187 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >)
#32 0x4ac769 :0 gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#33 0x4b2820 :0 boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>::operator()(gr::Resource*, gr::http::Agent*, gr::http::Header const&, gr::DateTime&) const
#34 0x4b1acb :0 void boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> >::operator()<boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list1<gr::Resource*&> >(boost::_bi::type<void>, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>&, boost::_bi::list1<gr::Resource*&>&, int)
#35 0x4b0eac :0 void boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >::operator()<gr::Resource*>(gr::Resource*&)
#36 0x4b0187 :0 boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > std::for_each<__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > > >(__gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, __gnu_cxx::__normal_iterator<gr::Resource**, std::vector<gr::Resource*, std::allocator<gr::Resource*> > >, boost::_bi::bind_t<void, boost::_mfi::mf3<void, gr::Resource, gr::http::Agent*, gr::http::Header const&, gr::DateTime&>, boost::_bi::list4<boost::arg<1>, boost::_bi::value<gr::http::Agent*>, boost::_bi::value<gr::http::Header>, boost::reference_wrapper<gr::DateTime> > >)
#37 0x4ac769 :0 gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&, gr::DateTime&)
#38 0x4b7c6d :0 gr::State::Sync(gr::http::Agent*, gr::http::Header const&)
#39 0x4a70aa :0 gr::Drive::Update()
#40 0x48a215 :0 Main(int, char**)
#41 0x48a911 :0 main
#42 0x7f8d2476b76d /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main
#43 0x4891b9 :0 _start

[gr::expt::MsgTag*] = 
[gr::http::CurlCodeTag*] = 0
[gr::http::HttpResponseTag*] = 400
[gr::http::UrlTag*] = https://docs.google.com/feeds/upload/create-session/default/private/full/folder%3A0B9-KoRmAwgIVaktwYzNHRjA5cUU/contents?convert=false&upload_id=[REMOVED]
[gr::http::HeaderTag*] = Expect:
Accept:


adrianp@ol-sdc-piotrowicz:~/grive$ grive -v
grive version 0.2.0 Jul 19 2012 11:37:35
@nestal
Owner

eyerouge, are you sure that these two problems are related? Was the last sync time 0 when HTTP 400 occurs?

@eyerouge

Nopes, i have no real proof they are related. Could be indep. (It's just that I have seldom managed to do a sync without it crashing, so I thought they might be connected...)

@eyerouge

Here's a logg, just happened again >> http://pastebin.com/raw.php?i=uu0GZawi

@eric70x7

Hi - It's my first time on github. I see the same thing. It gets a little farther each time, successfully syncing a few more files, and then failing:

sync ./myTunes/Sammy Hagar/Standing Hampton/05 Heavy Metal.mp3 already in sync
sync ./myTunes/Sammy Hagar/Standing Hampton/cover.jpg already in sync
sync ./myTunes/Sammy Hagar/Standing Hampton/02 Baby's on Fire.mp3 already in sync
sync ./myTunes/Sammy Hagar/Standing Hampton/08 Inside Lookin' In.mp3 doesn't exist in server, uploading
sync ./myTunes/Sammy Hagar/Standing Hampton/07 Surrender.mp3 doesn't exist in server, uploading
sync ./myTunes/Sammy Hagar/Standing Hampton/10 Piece of My Heart.mp3 doesn't exist in server, uploading
sync ./myTunes/Sammy Hagar/Standing Hampton/03 Can't Get Loose.mp3 doesn't exist in server, uploading
sync ./myTunes/Zebra doesn't exist in server, uploading
sync ./myTunes/Zebra/Zebra doesn't exist in server, uploading
sync ./myTunes/Zebra/Zebra/07 Take Your Fingers From My Hair.mp3 doesn't exist in server, uploading
sync ./myTunes/Zebra/Zebra/02 One More Chance.mp3 doesn't exist in server, uploading
exception: /build/buildd/grive-0.2.0/libgrive/src/http/CurlAgent.cc(168): Throw in function long int gr::http::CurlAgent::ExecCurl(const std::string&, gr::http::Receivable*, const gr::http::Header&)
Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4http5ErrorEEE
std::exception::what: std::exception
[PN2gr4expt6MsgTagE] = GnuTLS recv error (-9): A TLS packet with unexpected length was received.
[PN2gr4http9HeaderTagE] = Expect:
Accept:
Authorization: Bearer ya29.AHES6ZQK5BOXMsR-aqWDZR0ZPGPvfEhni2bSykI2yUWABCA9Q4KdLA
GData-Version: 3.0

[PN2gr4http6UrlTagE] = https://docs.google.com/feeds/upload/create-session/default/private/full/folder%3A0Bxsk0UznBfZjRXg3bVNjYjNiMzg/contents?convert=false&upload_id=AEnB2UpUn5JXIGXPFFv-kpjFpqBXy3lVG5zOEbuFIDux--5YGkHf3h4VH1orVxjnJtZX08aC1bmzLe2a1QxM3amU5KtBudWPzw
[PN2gr4http15HttpResponseTagE] = 0
[PN2gr4http11CurlCodeTagE] = 55
[PN2gr4expt12BacktraceTagE] = #0 0x45e946 grive gr::Exception::Exception()
#1 0x44bf1d grive gr::http::CurlAgent::ExecCurl(std::string const&, gr::http::Receivable*, gr::http::Header const&)
#2 0x44d318 grive gr::http::CurlAgent::Put(std::string const&, gr::StdioFile&, gr::http::Receivable*, gr::http::Header const&)
#3 0x456442 grive gr::AuthAgent::Put(std::string const&, gr::StdioFile&, gr::http::Receivable*, gr::http::Header const&)
#4 0x43e125 grive gr::Resource::Upload(gr::http::Agent*, std::string const&, bool, gr::DateTime&)
#5 0x43f39c grive gr::Resource::Create(gr::http::Agent*, gr::DateTime&)
#6 0x43fb16 grive gr::Resource::SyncSelf(gr::http::Agent*, gr::DateTime&)
#7 0x43fcb8 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&)
#8 0x43fd18 grive gr::Resource::Sync(gr::http::Agent*, gr::DateTime&)

@nestal
Owner

Eric, let me guess, you are using debian, aren't you?

This is an error from the GnuTLS library. I didn't come across it when using Fedora (which uses OpenSSL)

@eyerouge

I'm on latest Ubuntu, which is Debian-based and probably has the same. Here's what I have installed: http://ompldr.org/vZXU1Mw/gnutls.png

@taisph

I am also getting the exception on uploads. I'm on Ubuntu 12.04 using grive version 0.2.0 Jul 20 2012 13:27:42.

@taisph

Btw. isn't this issue the same as #82?

@nestal
Owner

I don't think it is the same as #82, which is HTTP 500. This one is HTTP 400 (bad request)

@taisph

@nestal Ok. I was focusing on the exception and not so much the HTTP response code.

@ylite

(cross posting from #136)

Look at this:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/926548

Is there a way to have grive use OpenSSL instead of GnuTLS? I'm using Ubuntu 12.04 and GnuTLS is known to be screwed up there.

@ylite

(cross posting from #136)

I have started this thread on askubuntu, hope it helps:
http://askubuntu.com/questions/231335/upgrade-the-gnutls-in-use-by-12-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.