group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #05853
[Bug 1594437] Re: ImportError: No module named locked_file
This bug was fixed in the package python-googleapi - 1.4.2-1ubuntu1.1
---------------
python-googleapi (1.4.2-1ubuntu1.1) xenial; urgency=medium
* d/p/0001-Allow-using-oauth2client-versions-2.patch: Fix oauth2client cache
module import (LP: #1594437).
-- Felipe Reyes <felipe.reyes@xxxxxxxxxxxxx> Mon, 20 Jun 2016 12:06:43
-0400
** Changed in: python-googleapi (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1594437
Title:
ImportError: No module named locked_file
Status in python-googleapi package in Ubuntu:
Fix Released
Status in python-googleapi source package in Xenial:
Fix Released
Bug description:
[Impact]
When using google's python client, it's not possible to benefit from
caching capabilities provided by oauth2client due to a wrong import.
This was fixed in 1.5.1, which is the version available in yakkety.
[Test Case]
* Install gcalcli (apt-get install gcalcli)
* Run gcalcli and log in to your account
* Run "gcalcli agenda"
Expected Result:
The calendar's agenda view is printed
Actual Result:
A ImportError is printed and then agenda
WARNING:root:No module named locked_file
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/googleapiclient/discovery_cache/__init__.py", line 38, in autodetect
from . import file_cache
File "/usr/lib/python2.7/dist-packages/googleapiclient/discovery_cache/file_cache.py", line 32, in <module>
from oauth2client.locked_file import LockedFile
ImportError: No module named locked_file
[Regression Potential]
* Low, eventually stale caching files may give problems, but this will be unveiling issues in the cache management.
* I've been testing the proposed fix locally and it works OK for my use cases.
[Other Info]
* Upstream fix: https://github.com/google/google-api-python-
client/commit/bb324623
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python-googleapi 1.4.2-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Mon Jun 20 11:51:22 2016
InstallationDate: Installed on 2015-10-19 (244 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitecture: all
SourcePackage: python-googleapi
UpgradeStatus: Upgraded to xenial on 2016-04-08 (72 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-googleapi/+bug/1594437/+subscriptions