click crashed with click.chroot.ClickChrootException in create(): Chroot click-ubuntu-sdk-13.10-armhf already exists

Bug #1296820 reported by Michael Zanetti on 2014-03-24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
click (Ubuntu)
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
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
NonfreeKernelModules: wl
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
 PATH=(custom, no user)
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.ClickChrootException in create(): Chroot click-ubuntu-sdk-13.10-armhf already exists
UpgradeStatus: Upgraded to trusty on 2013-10-22 (153 days ago)

Related branches

Michael Zanetti (mzanetti) wrote :
tags: removed: need-duplicate-check
Changed in click (Ubuntu):
importance: Undecided → Medium
Colin Watson (cjwatson) on 2014-03-25
information type: Private → Public
Changed in click (Ubuntu):
status: New → Triaged
Colin Watson (cjwatson) on 2014-05-15
Changed in click (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
status: Triaged → In Progress
Colin Watson (cjwatson) on 2014-05-20
Changed in click (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package click -

click ( utopic; urgency=medium

  [ Colin Watson ]
  * 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-introspection, although libgirepository1.0-dev
    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 ]
  * 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-broken-chroot is used)
  * 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

  [ 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

Changed in click (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers