Package Details: gcalcli 3.3.2-3

Git Clone URL: https://aur.archlinux.org/gcalcli.git (read-only)
Package Base: gcalcli
Description: Google Calendar Command Line Interface
Upstream URL: https://github.com/insanum/gcalcli
Licenses: MIT
Submitter: None
Maintainer: ninedotnine
Last Packager: polyzen
Votes: 100
Popularity: 1.412440
First Submitted: 2007-10-03 21:45
Last Updated: 2015-11-01 02:05

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

vollekannehoschi commented on 2016-03-01 09:06

I get errors after installing that package, see https://bbs.archlinux.org/viewtopic.php?pid=1603281#p1603281

I don't use this package anymore, but want to inform you.

polyzen commented on 2015-11-22 13:53

Try python2-oauth2client1412-2

polyzen commented on 2015-11-12 23:21

sleduc, thank you for figuring this out. Hacky, yes, but .. haven't heard any better ideas :p

The branch that supports the current oauth2client could probably be packaged, but according to the one working on it, Brian Hartvigsen, ".. there are a lot of behavior changes in how we parse command line options that I haven't documented yet, but `gcalcli --help` will likely get you the info you need. I have been using it and tried to test all the angles, but I may have missed things. So think of it as alpha ready."
https://github.com/insanum/gcalcli/issues/165#issuecomment-145191477

sleduc commented on 2015-11-12 18:48

Hello,

I think there is a problem with the package python2-oauth2client1412 (a dependency of gcalcli).
To build this package, it basically does:
mv "$pkgdir"/usr/lib/python2.7/site-packages/oauth2client{,1412}

And in gcalcli :
sed -i -e '1s/$/2/' -e 's/oauth2client/oauth2client1412/' gcalcli-$pkgver

The problem is that inside the oauth2client1412 library itself, there is this code :
from oauth2client.old_run import run

This tries to import old_run from the oauth2client library (provided by python2-oauth2client, so not the python2-oauthclient1412), and this does not exist.
Basically doing this seems to work around the problem :
https://gist.github.com/sleduc/05469217b707e4193da6

But it is not really clean and I am not sure what would be the proper solution here.
I guess one possibility would be, in the package of python2-oauth2client1412, to sed all the "oauth2client" imports into "oauth2client1412" imports, but not sure if there is a better solution...

cube777 commented on 2015-11-12 17:05

I keep getting the same error as doratheextruder - I also have python2-gflags installed but to no avail. Any hope for the future so far?

polyzen commented on 2015-11-11 21:35

abstrakct, good to know :)

abstrakct commented on 2015-11-11 15:17

Works for me now. I have "python2-gflags" installed (note that it's python2, not python, important difference!)

basdi commented on 2015-11-09 16:05

Same here...

doratheextruder commented on 2015-11-02 15:04

3.3.2-3 is giving this runtime error:

File "/usr/lib/python2.7/site-packages/oauth2client1412/tools.py", line 247, in run
'The gflags library must be installed to use tools.run(). '
NotImplementedError: The gflags library must be installed to use tools.run(). Please install gflags or preferrably switch to using tools.run_flow().

tried installing python-gflags using pacman and easy_install with no luck (was already installed already).....

polyzen commented on 2015-11-01 02:18

Droggelbecher, okurz, basdi: give 3.3.2-3 a try

All comments