Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

can't syn properly #179

Open
optimum opened this Issue · 4 comments

5 participants

@optimum

$ grive -V -d -l log.txt -f
config file name "./.grive"
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 "./libgrive" is created in remote
folder "./libgrive/CMakeFiles" is created in remote
folder "./cmake" is created in remote
file "./grive" has unknown checksum in remote. assuned in sync
folder "./cmake/Modules" is created in remote
grive: /google/grive/libgrive/src/drive/State.cc:183: bool gr::v1::State::Update(const gr::v1::Entry&): Assertion `parent->IsFolder()' failed.
[1] 42728 abort (core dumped) grive -V -d -l log.txt -f

$ cat log.txt
grive version 0.3.0-pre Jun 10 2013 23:39:42
current time: 2013-06-10T19:52:36.134Z
config file name "./.grive"
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 "./libgrive" is created in remote
folder "./libgrive/CMakeFiles" is created in remote
folder "./cmake" is created in remote
file "./grive" has unknown checksum in remote. assuned in sync
folder "./cmake/Modules" is created in remote

grive -V -d -l log.txt

config file name "./.grive"
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 "./libgrive" is created in remote
folder "./libgrive/CMakeFiles" is created in remote
folder "./cmake" is created in remote
file "./grive" has unknown checksum in remote. assuned in sync
folder "./cmake/Modules" is created in remote
grive: /google/grive/libgrive/src/drive/State.cc:183: bool gr::v1::State::Update(const gr::v1::Entry&): Assertion `parent->IsFolder()' failed.
[1] 42900 abort (core dumped) grive -V -d -l log.txt

@Taurolyon

I get a similar issue when syncing many files:

exception: /home/jay/grive/src/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_impl<gr::http::Error>
std::exception::what: std::exception
[gr::expt::MsgTag*] = 
[gr::http::CurlCodeTag*] = 0
[gr::http::HttpResponseTag*] = 404
[gr::http::UrlTag*] = https://doc-0c-c4-docs.googleusercontent.com/docs/securesc/(((_omitted_)))&e=download&gd=true
[gr::http::HeaderTag*] = Authorization: Bearer (((_omitted_)))
GData-Version: 3.0

This occurs after a random number of files (normally in excess of 100+).

Note: I omitted sensitive hash.

@oportsac

exception: /home/joseluis/src/debian/Grive-Debian-packaging/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 0x4569bc grive gr::Exception::Exception()
#1 0x44df09 grive gr::http::Error::Error()
#2 0x44d52d grive gr::http::CurlAgent::ExecCurl(std::string const&, gr::http::Receivable, gr::http::Header const&)
#3 0x44d93d grive gr::http::CurlAgent::Get(std::string const&, gr::http::Receivable
, gr::http::Header const&)
#4 0x462616 grive gr::Resource::Download(gr::http::Agent, boost::filesystem3::path const&, gr::http::Header const&) const
#5 0x464932 grive gr::Resource::SyncSelf(gr::http::Agent
, gr::http::Header const&)
#6 0x464aa9 grive gr::Resource::Sync(gr::http::Agent, gr::http::Header const&)
#7 0x464b3b grive gr::Resource::Sync(gr::http::Agent
, gr::http::Header const&)

[gr::expt::MsgTag] =
[gr::http::CurlCodeTag
] = 0
[gr::http::HttpResponseTag] = 404
[gr::http::UrlTag
] = https://doc-04-0o-docs.googleusercontent.com/docs/securesc/[omitted]&e=download&gd=true
[gr::http::HeaderTag*] = Authorization: Bearer [omitted]
FData-Version: 3.0

I geta similar error as well. Usually re-authorizing fixes it, but it comes back soon, sometimes after syncing only 10 files or so

@tkruse

Same for Ubuntu 13.10:

grive: /build/buildd/grive-0.3.0/libgrive/src/drive/State.cc:183: bool gr::v1::State::Update(const gr::v1::Entry&): Assertion `parent->IsFolder()' failed.
@ljkenny

Same for Ubuntu 14.04:

grive: /build/buildd/grive-0.3.0/libgrive/src/drive/State.cc:183: bool gr::v1::State::Update(const gr::v1::Entry&): Assertion `parent->IsFolder()' failed.
Aborted (core dumped)

Is anyone actually going to fix this?

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.