[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-12-11 Thread Launchpad Bug Tracker
This bug was fixed in the package click - 0.4.41+16.04.20151211-0ubuntu1

---
click (0.4.41+16.04.20151211-0ubuntu1) xenial; urgency=medium

  [ Colin Watson ]
  * Fix spurious test_sync_without_user_db test failure.
  * Fix test failures under Python 2.
  * Forbid installing packages with data tarball members whose names do not
start with "./" (LP: #1506467).
  * Take evasive action in case the conflicting "click" package has been
installed locally from PyPI (LP: #1486841).
  * Drop use of apt_pkg from click.install, since it's no longer needed
there (LP: #1510015).

  [ Dimitri John Ledkov ]
  * Require specific Click version, to avoid gi warnings that fail
test-suite (LP: #1522608).
  * Set Vcs-* fields to the actual development branch.

  [ CI Train Bot ]
  * No-change rebuild.

 -- Colin Watson   Fri, 11 Dec 2015 01:31:29
+

** Changed in: click (Ubuntu)
   Status: Fix Committed => Fix Released

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Fix Released

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-11-24 Thread Colin Watson
Thanks for the strace output to confirm this!

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Fix Committed

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-11-24 Thread Colin Watson
Right, there's an unfortunate name clash with an entirely different
Python package called "click" and it looks like you had the latter
installed in your home directory.  A better workaround would probably be
"pip3 uninstall click".

I've committed a patch for our next release to take evasive action in
this case.

** Changed in: click (Ubuntu)
   Status: Incomplete => Fix Committed

** Changed in: click (Ubuntu)
 Assignee: (unassigned) => Colin Watson (cjwatson)

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Fix Committed

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-11-24 Thread Launchpad Bug Tracker
** Branch linked: lp:click/devel

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Fix Committed

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-11-23 Thread Raymond Wan
Colin,

Thank you for the suggestion!  I generated the strace output as you
suggested [see attached file] and looked through it before attaching it.
I realized it was looking in my ~/.local/ directory.  So, I guessed [I
only know some Python...not too knowledgeable about it] renaming
~/.local/lib/python3.4/ might help and indeed it worked and click
installed successfully.

Of course, I don't know if it will solve other people's problems, but it
solved mine.  Hopefully the attached strace output can help you come up
with a better solution for others?

I'm not too sure what I've broken by renaming that directory...I guess
as it's local to my home directory, it should be fine.

Thank you!


** Attachment added: "strace output for running click"
   
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+attachment/4524449/+files/click.trace

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Incomplete

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-11-20 Thread Colin Watson
Perhaps somebody could run:

  strace -f -o click.trace -s 1024 click

... and attach the resulting click.trace file to this bug?  It might be
possible to work out the problem from that.

** Changed in: click (Ubuntu)
   Status: Confirmed => Incomplete

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Incomplete

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-11-19 Thread Raymond Wan
Problem also exists in click (0.4.39.1+15.10.20150702-0ubuntu2) on
Ubuntu 15.10 :

-
$ sudo apt-get install click
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following NEW packages will be installed:
  click
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.1 kB of archives.
After this operation, 86.0 kB of additional disk space will be used.
Selecting previously unselected package click.
(Reading database ... 407814 files and directories currently installed.)
Preparing to unpack .../click_0.4.39.1+15.10.20150702-0ubuntu2_amd64.deb ...
Unpacking click (0.4.39.1+15.10.20150702-0ubuntu2) ...
Processing triggers for shared-mime-info (1.3-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up click (0.4.39.1+15.10.20150702-0ubuntu2) ...
Traceback (most recent call last):
  File "/usr/bin/click", line 31, in 
from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing package click (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 click
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ click
Traceback (most recent call last):
  File "/usr/bin/click", line 31, in 
from click import commands
ImportError: cannot import name 'commands'
-

Tried on more than one Ubuntu 15.10 system.  Works on some; doesn't work
on one of them.  I guess some combination of packages that I have is
causing it.

Already tried "apt-get install --reinstall" on python, python3, and
python3-click .  Even removed everything in /usr/local/lib/python* ,
thinking they might be conflicting somehow.

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Confirmed

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-10-20 Thread Alberto Salvia Novella
** Changed in: click (Ubuntu)
   Importance: Undecided => High

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Confirmed

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-10-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: click (Ubuntu)
   Status: New => Confirmed

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  Confirmed

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1486841] Re: from click import commands: ImportError: cannot import name 'commands'

2015-08-20 Thread Steve Beattie
The click-apparmor package failed with the same python traceback,
because it invoked click.

** Summary changed:

- package click-apparmor 0.3.8 failed to install/upgrade: subprocess installed 
post-installation script returned error exit status 1
+ from click import commands: ImportError: cannot import name 'commands'

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

Title:
  from click import commands: ImportError: cannot import name 'commands'

Status in click package in Ubuntu:
  New

Bug description:
  Fails on startup

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: click-apparmor 0.3.8
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  Date: Wed Aug 19 13:58:31 2015
  DuplicateSignature: package:click-apparmor:0.3.8:subprocess installed 
post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error 
exit status 1
  InstallationDate: Installed on 2015-07-19 (31 days ago)
  InstallationMedia: Ubuntu 15.04 Vivid Vervet - Release amd64 (20150422)
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.1
  SourcePackage: click-apparmor
  Title: package click-apparmor 0.3.8 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp