Grive / grive

an open source Linux client for Google Drive
http://www.lbreda.com/grive/start
GNU General Public License v2.0
1.59k stars 380 forks source link

exception in CurlAgent.cc #152

Open giupino opened 11 years ago

giupino commented 11 years ago

error during sync causes loss of data.

SO: Debian sid, grive version 0.2.0 Nov 11 2012 16:44:57

follows log:

grive version 0.2.0 Nov 11 2012 16:44:57 current time: 2012-12-06T20:48:40.795Z last sync time: 1970-01-01T00:00:00.000Z Reading local directories file .grive is ignored by grive previous change stamp is -1 Synchronizing folders HTTP GET "https://docs.google.com/feeds/default/private/full/-/folder?max-results=50&showroot=true" HTTP response 200 folder "./Private" is in sync folder "./viaggi" is in sync folder "./Spese" is in sync Reading remote server file list HTTP GET "https://docs.google.com/feeds/default/private/full?showfolders=true&showroot=true" HTTP response 200 file "./SchedaMilleMilgia.pdf" is already in sync spreadsheet "Conto/Spese" is a google document, ignored folder "./Private" is in sync spreadsheet "Italia HT DB" is a google document, ignored file "Emy2.pdf" parent doesn't exist, ignored spreadsheet "Hattrick" is a google document, ignored spreadsheet "Mutuo" is a google document, ignored file "./3935364767.cds" is already in sync spreadsheet "Lista_Fumetti" is a google document, ignored file "./viaggi/Orario So_Na dal 17 settembre 2012.pdf" is already in sync file "./viaggi/Orario Na_So dal 17settembre 2012.pdf" is already in sync file "./viaggi/Orario Na_Pog dal 17 settembre 2012.pdf" is already in sync file "./viaggi/Orario Pog_Na dal 17 settembre 2012.pdf" is already in sync folder "./viaggi" is in sync spreadsheet "To Do List" is a google document, ignored spreadsheet "Toto-PDM" is a google document, ignored file "./vpnclient-winx64-msi-5.0.07.0290-k9.zip" is already in sync file "./PX750.pdf" is already in sync file "./IMG_20120707_181339.jpg" is already in sync file "./IMG_20120707_181502.jpg" is already in sync spreadsheet "TabellaU20" is a google document, ignored document "Indirizzi" is a google document, ignored folder "./Spese" is in sync spreadsheet "liste" is a google document, ignored document "Scouting U20" is a google document, ignored spreadsheet "Serie_TV" is a google document, ignored spreadsheet "Modulo senza titolo" is a google document, ignored document "Prospetti_q2_q3_q4.txt" is a google document, ignored file "./ModuloApertura.pdf" is changed in local spreadsheet "Test MT" is a google document, ignored document "Geek code" is a google document, ignored file "./LaTattica_Guida_base.pdf" change stamp = -1 file "./LaTattica_Guida_base.pdf" is created in remote (change -1) file "LaTattica_Guida_base.pdf" parent doesn't exist, ignored spreadsheet "BB" is a google document, ignored document "BuzzerBeater" is a google document, ignored file "./Ultimate Soccer Manager 98-99 (1999)(Impressions).zip" change stamp = -1 file "./Ultimate Soccer Manager 98-99 (1999)(Impressions).zip" is created in remote (change -1) file "./foxtrick" change stamp = -1 file "./foxtrick" is created in remote (change -1) file "./predictionf.png" change stamp = -1 file "./predictionf.png" is created in remote (change -1) document "Pasti x il lavoro" is a google document, ignored file "./batman_dark_by_a_X_e.jpg" change stamp = -1 file "./batman_dark_by_a_X_e.jpg" is created in remote (change -1) document "SUPERMERCATO DELLE MOGLI" is a google document, ignored Synchronizing files sync "." already in sync sync "./Giovanni_CI.pdf" already in sync sync "./IMG_20120707_181502.jpg" already in sync sync "./SchedaMilleMilgia.pdf" already in sync sync "./IMG_20120707_181339.jpg" already in sync sync "./Travaglio_CI.pdf" already in sync sync "./Spese" already in sync sync "./Spese/Infostrada - Conferma ordine.pdf" already in sync sync "./Spese/tavoli.jpg" already in sync sync "./Private" already in sync sync "./Private/PeppePrivate.kdb" already in sync sync "./Private/Firefox Sync Key.html" already in sync sync "./Private/rinnovo_abbonamento_wired.pdf" already in sync sync "./viaggi" already in sync sync "./viaggi/Orario So_Na dal 17 settembre 2012.pdf" already in sync sync "./viaggi/Orario Na_So dal 17settembre 2012.pdf" already in sync sync "./viaggi/Orario Na_Pog dal 17 settembre 2012.pdf" already in sync sync "./viaggi/Orario Pog_Na dal 17 settembre 2012.pdf" already in sync sync "./Siamese Dream (Deluxe Edition) - Smashing Pumpkins.zip" already in sync sync "./ModuloApertura.pdf" changed in local. uploading HTTP PUT "https://docs.google.com/feeds/upload/create-session/default/private/full/pdf%3A0B7WPpNRWfyfQYzIwNGZjZjUtODEzYS00NzE0LWIyMGMtNjVkZGYxNDNhMzg0" HTTP response 200 HTTP PUT "https://docs.google.com/feeds/upload/create-session/default/private/full/pdf%3A0B7WPpNRWfyfQYzIwNGZjZjUtODEzYS00NzE0LWIyMGMtNjVkZGYxNDNhMzg0?upload_id=AEnB2Ur7pDkbALEkFqZc5JozQzrAxNaFKDAS-Nje0DrNuvjzyeGkpLj-1EmvBjH8ZwrnFxI6uPGmVbBa9IM3444vIKAzZLCjyw" HTTP response 200 sync "./PX750.pdf" already in sync sync "./log.txt" doesn't exist in server, uploading HTTP POST "https://docs.google.com/feeds/upload/create-session/default/private/full?convert=false" with "<?xml version='1.0' encoding='UTF-8'?>

log.txt" HTTP response 200 HTTP PUT "https://docs.google.com/feeds/upload/create-session/default/private/full?convert=false&upload_id=AEnB2Urpey1-LU7NnhyDaydE8KBnzfR8LK2oQ4JWQ61zF3cg92wEV6Y2gHU1Np6mZ0khmQRunD-b8huPWG2nlOxRLWbedkmiTg" HTTP response 201 sync "./vpnclient-winx64-msi-5.0.07.0290-k9.zip" already in sync sync "./3935364767.cds" already in sync sync "./LaTattica_Guida_base.pdf" created in remote. creating local HTTP GET "https://doc-04-98-docs.googleusercontent.com/docs/securesc/5h5ddhvkbp3ck16vr0u53j53n34j53u8/c0vugato7229e2vlvh3r2i55v672m9uk/1354824000000/11539846689873886526/11539846689873886526/1U_rumM40snoKkyOJOqxCUWt7cd_a831Th6iRLuWoMWEHecCPNmCCvuLHtmDr?h=16653014193614665626&e=download&gd=true" HTTP response 500 exception: /build/buildd-grive_0.2.0-1-i386-6zx3w0/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 0x809a878 grive gr::http::Error::Error() #1 0x8099d08 grive gr::http::CurlAgent::ExecCurl(std::string const&, gr::http::Receivable*, gr::http::Header const&) #2 0x809a15f grive gr::http::CurlAgent::Get(std::string const&, gr::http::Receivable*, gr::http::Header const&) #3 0x80907a7 grive gr::Resource::Download(gr::http::Agent*, boost::filesystem3::path const&, gr::http::Header const&) const #4 0x80928c8 grive gr::Resource::SyncSelf(gr::http::Agent*, gr::http::Header const&) #5 0x8092a43 grive gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&) #6 0x8092ad5 grive gr::Resource::Sync(gr::http::Agent*, gr::http::Header const&) #7 0x8082168 grive gr::State::Sync(gr::http::Agent*, gr::http::Header const&) #8 0x808ab86 grive gr::Drive::Update() #9 0x8072d5f grive Main(int, char**) #10 0x8070435 grive main #11 0xb71f2e46 /lib/i386-linux-gnu/i686/cmov/libc.so.6 __libc_start_main #12 0x8071551 grive [gr::expt::MsgTag_] = [gr::http::CurlCodeTag_] = 0 [gr::http::HttpResponseTag_] = 500 [gr::http::UrlTag_] = https://doc-04-98-docs.googleusercontent.com/docs/securesc/5h5ddhvkbp3ck16vr0u53j53n34j53u8/c0vugato7229e2vlvh3r2i55v672m9uk/1354824000000/11539846689873886526/11539846689873886526/1U_rumM40snoKkyOJOqxCUWt7cd_a831Th6iRLuWoMWEHecCPNmCCvuLHtmDr?h=16653014193614665626&e=download&gd=true [gr::http::HeaderTag*] = Authorization: Bearer ya29.AHES6ZTYt2IGvSjFulOIYBMyEEMADUI7IlZrKs7vX9nuhDk GData-Version: 3.0 bye
avishorp commented 11 years ago

I'm getting the same error during upload.