Hi, gcalcli does not work with later versions of oauthclient: https://github.com/insanum/gcalcli/issues/204 this was fixed by upstream install script: https://github.com/insanum/gcalcli/commit/f451bfe752aca705e5b306ceb54d27fc80332b30 But needs to be reflected in gentoo ebuild (until a long term solution is found). Ebuild patch attached. Best regards, Aurélien
Gentoo ebuild doesn't currently depend on oauthclient, but perhaps this could be facilitated with an appropriate USE flag. No patch currently attached, but passing to Rob anyway.
Created attachment 437352 [details, diff] gcalcli-3.3.2.ebuild.patch Sorry here is the patch.
In addition to this, it seem that dev-python/google-api-python-client-1.3.1 is needed, instead of the stable 1.5.0. With the stable version the following error occurs (non fatal): # gcalcli agenda WARNING:root:No module named contrib.locked_file Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/googleapiclient/discovery_cache/__init__.py", line 38, in autodetect from . import file_cache File "/usr/lib64/python2.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 32, in <module> from oauth2client.contrib.locked_file import LockedFile ImportError: No module named contrib.locked_file These seem to be related problems.
Created attachment 447274 [details, diff] The patch. There's a workaround to fix that and doesn't need an specific version of oauth2client. There goes the patch. Tested here with oauth2client-2.2.0 and working.
Thanks for the patch, this worked well for me. However this does not seem to be a perfect solution (problems with newer auths): https://github.com/insanum/gcalcli/pull/211 This has been solved in the tree... not sure which release includes this patch however. https://github.com/freebsd/freebsd-ports/commit/ff3ffbd19720311dbabae5018cbc97979b3ada61
Looks like version 3.4.0 was released. Maybe adding ebuild for 3.4.0 solves this without forcing an old version of the library?
I've opened bug 613850 for a version bump to 3.4.0, including a fix for this too.
InGit