← Back to team overview

touch-packages team mailing list archive

[Bug 1368144] [NEW] ImportError: No module named datetime with lp:click-toolbelt

 

Public bug reported:

Using lp:click-toolbelt, I get the attached error when running ./click-
toolbelt with the new python2.7 2.7.8-7.

Short version:
---
Original exception was:
Traceback (most recent call last):
  File "./click-toolbelt", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 33, in <module>
    import plistlib
  File "/usr/lib/python2.7/plistlib.py", line 62, in <module>
    import datetime
ImportError: No module named datetime
---

Downgrading to 2.7.8-6ubuntu1 by downloading the older .deb:s from
Launchpad fixes the issue, upgrading again bring the issue visible
again.

Note: this is a earlier built click-toolbelt I'm running, since the
build process from a clean checkout is quite error-prone.

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "nodatetime.txt"
   https://bugs.launchpad.net/bugs/1368144/+attachment/4201216/+files/nodatetime.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1368144

Title:
  ImportError: No module named datetime with lp:click-toolbelt

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  Using lp:click-toolbelt, I get the attached error when running
  ./click-toolbelt with the new python2.7 2.7.8-7.

  Short version:
  ---
  Original exception was:
  Traceback (most recent call last):
    File "./click-toolbelt", line 5, in <module>
      from pkg_resources import load_entry_point
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 33, in <module>
      import plistlib
    File "/usr/lib/python2.7/plistlib.py", line 62, in <module>
      import datetime
  ImportError: No module named datetime
  ---

  Downgrading to 2.7.8-6ubuntu1 by downloading the older .deb:s from
  Launchpad fixes the issue, upgrading again bring the issue visible
  again.

  Note: this is a earlier built click-toolbelt I'm running, since the
  build process from a clean checkout is quite error-prone.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1368144/+subscriptions


Follow ups

References