Skip to content

can't syn properly #179

Open
Open

Description

@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

Activity

  1. Taurolyon commented on Jun 21, 2013

    @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.

  2. oportsac commented on Oct 17, 2013

    @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

  3. tkruse commented on Sep 24, 2014

    @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.
    
  4. ljkenny commented on Dec 2, 2014

    @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?

  5. added a commit that references this issue on Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions