[Bug 1594437] [NEW] ImportError: No module named locked_file

Launchpad Bug Tracker 1594437 at bugs.launchpad.net
Mon Jun 20 16:14:21 UTC 2016


You have been subscribed to a public bug by Felipe Reyes (freyes):

[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.

[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)

** Affects: python-googleapi (Ubuntu)
     Importance: Undecided
     Assignee: Felipe Reyes (freyes)
         Status: New


** Tags: amd64 apport-bug third-party-packages xenial
-- 
ImportError: No module named locked_file
https://bugs.launchpad.net/bugs/1594437
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list