click crashed with click.chroot.ClickChrootException in create(): Chroot click-ubuntu-sdk-13.10-armhf already exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
click chroot create should only print a human readable error message and exit instead of crashing with a python stack trace and firing up apport when someting isn't fine.
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: click 0.4.19
ProcVersionSign
Uname: Linux 3.13.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Mon Mar 24 17:27:41 2014
ExecutablePath: /usr/bin/click
InstallationDate: Installed on 2012-11-10 (498 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64+mac (20120926)
InterpreterPath: /usr/bin/python3.4
ProcCmdline: /usr/bin/python3 /usr/bin/click chroot -a armhf create
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US
SHELL=/bin/bash
PythonArgs: ['/usr/bin/click', 'chroot', '-a', 'armhf', 'create']
SourcePackage: click
SystemImageInfo: Error: [Errno 2] No such file or directory: 'system-image-cli'
Title: click crashed with click.chroot.
UpgradeStatus: Upgraded to trusty on 2013-10-22 (153 days ago)
UserGroups:
Related branches
- Colin Watson: Approve
- Michael Vogt: Needs Resubmitting
-
Diff: 233 lines (+85/-16)2 files modifiedclick/chroot.py (+20/-7)
click/commands/chroot.py (+65/-9)
- click hackers: Pending requested
-
Diff: 225 lines (+77/-16)2 files modifiedclick/chroot.py (+20/-7)
click/commands/chroot.py (+57/-9)
- Colin Watson: Approve
-
Diff: 100 lines (+35/-10)2 files modifiedclick/tests/integration/test_signatures.py (+27/-10)
debian/changelog (+8/-0)
- Colin Watson: Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 485 lines (+269/-70)11 files modifiedREADME (+1/-0)
click/build.py (+10/-22)
click/framework.py (+138/-0)
click/install.py (+8/-28)
click/paths.py.in (+1/-0)
click/tests/helpers.py (+29/-0)
click/tests/test_build.py (+39/-5)
click/tests/test_install.py (+2/-4)
debian/changelog (+8/-0)
doc/file-format.rst (+1/-2)
doc/index.rst (+32/-9)
tags: | removed: need-duplicate-check |
Changed in click (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in click (Ubuntu): | |
status: | New → Triaged |
Changed in click (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
status: | Triaged → In Progress |
Changed in click (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package click - 0.4.23.1
---------------
click (0.4.23.1) utopic; urgency=medium
[ Colin Watson ] introspection, although libgirepository 1.0-dev
* chroot: Force dpkg-architecture to recalculate everything rather than
picking up values from the environment, to avoid the test suite getting
confused by environment variables exported by dpkg-buildpackage.
* tox.ini: Regularise whitespace.
* Lintian complains about dh --with gir without a direct Build-
Depends: gobject-
depends on it. Build-depend on both.
* Factor out some repetitive PackageKit error-reporting code.
* Fix test coverage glitch.
* Avoid ensure_dbing multiple times.
* /custom/click, not /custom.
* Remove trailing whitespace.
* Document chroot session management.
* Make manifest.json example actually be valid JSON.
* Document that click chroot -s is mainly for debugging.
* Allow specifying a framework base directly.
* Fix docstring.
* Add appropriate Since: annotations.
* formatting
* merge lp:~mvo/click/documentation-tweak
* merge lp:~mvo/click/avoid-exposing-envvars
click (0.4.23) utopic; urgency=medium
[ Michael Vogt ] broken- chroot is used)
* Show human-readable error message when a click chroot subcommand fails
because of existing or non-existing chroots (LP: #1296820).
* Selectively disable logging on some tests to avoid message spam during
the test runs.
* When running hooks, remove hook symlinks if framework requirements are
not met (LP: #1271944).
* Cleanup the chroot if "click chroot create" fails (unless
--keep-
* Fix sources.list generation when native_arch and target_arch are on the
same archive server (part of LP #1319153).
* Add "click framework list" command to list available frameworks
(LP: #1294659).
[ Pete Woods ]
* Add libunity-scopes-dev package to chroot (LP: #1320786).
[ Sergio Schvezov ]
* click chroot creation depends on dpkg-architecture, so recommend
dpkg-dev.
[ Colin Watson ]
* chroot: Handle the case where we can execute binaries for the target
architecture directly and thus don't need a cross-compiler
(LP: #1319153).
-- Ubuntu daily release <email address hidden> Tue, 20 May 2014 13:15:41 +0000