Coder Social home page Coder Social logo

Crash during grive -a about grive HOT 13 CLOSED

grive avatar grive commented on July 21, 2024
Crash during grive -a

from grive.

Comments (13)

nestal avatar nestal commented on July 21, 2024

Did you compile Grive from source or using the binary packages? Is it v0.1.0 or it's the latest code?

from grive.

nestal avatar nestal commented on July 21, 2024

BTW, I also like fallout.

from grive.

donhilion avatar donhilion commented on July 21, 2024

I have the problem with v0.1.0 and the latest code from git.
My system is Arch Linux and I installed both version from the AUR.

The v0.1.0 ("grive" in AUR) is the binary.
When I install "grive-git", the latest code is downloaded and compiled.

from grive.

nestal avatar nestal commented on July 21, 2024

The exception handling on -a is not good. Grive is not able to give useful
info. I will put the auth code inside the try block tonight when I have
access to my linux box.

from grive.

antiplex avatar antiplex commented on July 21, 2024

i can confirm having the exact same problem that donhillon described with the pre-build package '0.1.0-1+git20120601webupd8precise1' pulled from 'ppa:nilarimogard/webupd8' as described in http://www.webupd8.org/2012/06/grive-update-brings-full-google-drive.html
i'm running ubuntu 12.04 64bit and had google drive (successfully) enabled on another device (android) before running 'grive -a'

regards,
anti

from grive.

nestal avatar nestal commented on July 21, 2024

Thanks.

I havent look at it in depth yet. Is it the same as #43?

from grive.

donhilion avatar donhilion commented on July 21, 2024

I just compiled the new sources (20120606) and now the error is gone.
Instead nothing happens. No download and no .grive folder.

from grive.

nestal avatar nestal commented on July 21, 2024

Can you run "grive -l log.txt" and take a look at the logs to see if
anything goes wrong?

from grive.

donhilion avatar donhilion commented on July 21, 2024

It seems that grive tries to read a config file in the folder it was build in.
The complete log:

cannot read config: /tmp/yaourt-tmp-name/aur-grive-git/src/grive/libgrive/src/protocol/Json.cc(154): Throw in function gr::Json gr::Json::operator[](const string&) const
Dynamic exception type: boost::exception_detail::clone_implgr::Json::Error
std::exception::what: std::exception
[gr::expt::BacktraceTag_] = #0 0x7f96f3e01639 /usr/lib/libgrive.so.0 gr::Exception::Exception()
#1 0x7f96f3dfb4e5 /usr/lib/libgrive.so.0 gr::Json::Error::Error()
#2 0x7f96f3dfa7e2 /usr/lib/libgrive.so.0 gr::Json::operator[](std::string const&) const
#3 0x40fae6 grive Main(int, char_*)
#4 0x40eeda grive main
#5 0x7f96f3058455 /lib/libc.so.6 __libc_start_main
#6 0x40f0e9 grive

[gr::expt::MsgTag_] = key: refresh_token is not found in object
[gr::JsonTag_] = { }

Please run grive with the "-a" option if this is the first time you're accessing your Google Drive!

from grive.

nestal avatar nestal commented on July 21, 2024

donhilion, did you run with -a?

from grive.

donhilion avatar donhilion commented on July 21, 2024

Yes. grive -al log.txt

from grive.

nestal avatar nestal commented on July 21, 2024

I am not able to reproduce it.

Can you delete the .grive file and retry?

from grive.

donhilion avatar donhilion commented on July 21, 2024

There never was a .grive file.
But I have used a new API key and now it is working.

Maybe there should be a test and a notification, if there is something wrong with the API key.

from grive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.