I have same @je-vv issue, how to fix it?
Search Criteria
Package Details: grive 0.5.3-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/grive.git (read-only, click to copy) |
---|---|
Package Base: | grive |
Description: | An open source Linux client for Google Drive with support for the new Drive REST API and partial sync |
Upstream URL: | https://github.com/vitalif/grive2 |
Keywords: | drive Google grive2 sync vitalif |
Licenses: | GPL2 |
Submitter: | mrbit |
Maintainer: | edh |
Last Packager: | edh |
Votes: | 282 |
Popularity: | 0.123006 |
First Submitted: | 2012-04-29 22:26 (UTC) |
Last Updated: | 2024-09-14 09:14 (UTC) |
Dependencies (12)
- boost-libs
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- json-c (json-c-gitAUR)
- libgcrypt
- yajl (yajl-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- binutils (optional) – backtrace and libiberty
- cppunit (optional) – unit tests
- inotify-tools (inotify-tools-gitAUR) (optional) – scheduled syncs and syncs on file change events
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 30 Next › Last »
semeion commented on 2019-11-19 20:39 (UTC)
sigma14 commented on 2019-11-18 09:40 (UTC)
@davama, how did you install v 0.52-dev? there does not seem to be a AUR package for it
davama commented on 2019-11-15 20:29 (UTC)
No change with latest master branch :-1:
grive -v
grive version 0.5.2-dev Nov 15 2019 15:25:07
davama commented on 2019-11-15 20:04 (UTC) (edited on 2019-11-15 20:05 (UTC) by davama)
Same as @jev-vv
updated grive to 0.5.1-1
had to remove .grive and .grive_state
ran grive -a and got the:
Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In.
It is interesting that it says "grive2"...
je-vv commented on 2019-11-15 19:50 (UTC) (edited on 2019-11-15 19:53 (UTC) by je-vv)
Same thing here.
As I got oauth failure:
Failed to refresh auth token: HTTP 401, body: exception: /home/vasqueja/.cache/aurutils/snapshot/grive/src/grive2-0.5.1/libgrive/src/protocol/OAuth2.cc(111): Throw in function void gr::OAuth2::Refresh() Dynamic exception type: boost::wrapexcept<gr::OAuth2::AuthFailed> [gr::expt::BacktraceTag*] = #0 0x559c9e093d7c grive gr::Exception::Exception()
<h1>1 0x559c9e0892ea grive gr::OAuth2::AuthFailed::AuthFailed()</h1> <h1>2 0x559c9e088f24 grive gr::OAuth2::Refresh()</h1> <h1>3 0x559c9e089115 grive gr::OAuth2::OAuth2(gr::http::Agent*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)</h1> <h1>4 0x559c9e03947b grive Main(int, char**)</h1> <h1>5 0x559c9e037369 grive main</h1> <h1>6 0x7fe96847a153 /usr/lib/libc.so.6 __libc_start_main</h1> <h1>7 0x559c9e037e9e grive _start</h1>
Then I tried removing ".grive", and "grive -a", and after logging in I got the message:
Sign in with Google temporarily disabled for this app This app has not been verified yet by Google in order to use Google Sign In.
Weird enough is that when attempting to login, the app showed up as grive2. Then I checked on google security, and grive was actually authorized. I'm not sure if the "grive2" app name is the issue...
jsola commented on 2019-11-15 11:55 (UTC)
I'm having issues connecting it to google, google says that the app has not been verified and that logins are disabled, is this normal?
edh commented on 2019-10-25 19:46 (UTC)
@deemon The -git package fetches the very latest version from the repository itself, while the non-git version, i.e. this package, uses the latest tag. This naming convention is used through the AUR and described in much more detail in the ArchWiki.
deemon commented on 2019-10-24 09:31 (UTC)
I see 2 packages, grive and grive-git both maintained by edh and both referring to the same upstream url. Why 2 packages and which one is the better version to use? For a while grive wasn't even updated, but not it seems...?
MagicAndWires commented on 2019-10-08 01:15 (UTC) (edited on 2019-10-08 01:23 (UTC) by MagicAndWires)
So, comparing cmake output between running it within a tty and in X I noticed that the paths were different, which led me to comparing $PATH
.
Turns out that in X something was adding /bin
to my $PATH
. This normally should be fine, /bin
is symlinked to /usr/bin
after all, but for some reason this causes errors in this specific instance.
Changing build() to the following allows makepkg to succeed even within Xorg for me.
PATH="${PATH#/bin:}" cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_EXE_LINKER_FLAGS=-ljson-c ..
make
I have no idea what adds /bin
to the path, it's something specifically sourced by zsh for my user configuration (but when run inside Xorg), as bash
or zsh as root don't have the same problem.
I just added the same addition to my .zshenv, and that removes it from my profile.
If someone has the same issue and this solution works I'd love to compare dotfile configurations, in order to find the offender.
Pinned Comments
edh commented on 2023-10-11 23:00 (UTC)
If you encounter errors similar to
error [...] loading shared libraries
, you most likely need to rebuilt the grive package. Usually no further action is needed except for forcing a rebuilt.The error is due to grive having been built against an older version of the library mentioned in the error message. The library has likely since been updated by
pacman
and grive need to be made aware of this by rebuilding it.