The package available in xenial-proposed fixes the issue.

Evidence:

$ gcalcli 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

Sun Jun 26           [...]
$ sudo apt-get install python-googleapi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-lokdocview-0.1 libjpeg62 libreoffice-gtk3 libvala-0.28-0 
linux-tools-4.4.0-22
  linux-tools-4.4.0-22-generic python-charmworldlib squashfs-tools 
ubuntu-core-launcher
  valac-0.28-vapi
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  python-googleapi
1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B/36.7 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
(Reading database ... 340557 files and directories currently installed.)
Preparing to unpack .../python-googleapi_1.4.2-1ubuntu1.1_all.deb ...
Unpacking python-googleapi (1.4.2-1ubuntu1.1) over (1.4.2-1ubuntu1) ...
Setting up python-googleapi (1.4.2-1ubuntu1.1) ...
$ gcalcli agenda

Sun Jun 26           [...]


** Tags removed: verification-needed
** Tags added: verification-done

** Changed in: python-googleapi (Ubuntu Xenial)
     Assignee: (unassigned) => Felipe Reyes (freyes)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1594437

Title:
  ImportError: No module named locked_file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-googleapi/+bug/1594437/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to