click crashed with click.chroot.ClickChrootException in run(): Chroot click-ubuntu-sdk-13.10-armhf does not exist

Bug #1299732 reported by Kostiantyn Rybnikov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
click (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Just followed cordova tutorial. At first there was another error regarding not installed click-dev and schroot, but I figured that out. Now I had this error when doing "cordova platform add ubuntu"

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: click 0.4.20
ProcVersionSignature: Ubuntu 3.13.0-20.42-generic 3.13.7
Uname: Linux 3.13.0-20-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Mar 30 12:50:40 2014
ExecutablePath: /usr/bin/click
InstallationDate: Installed on 2014-03-12 (17 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140311)
InterpreterPath: /usr/bin/python3.4
ProcCmdline: /usr/bin/python3 /usr/bin/click chroot -aarmhf -s trusty run cmake /home/username/workspace/cordova-play/platforms/ubuntu/build -DCMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt -DCMAKE_INSTALL_PREFIX=/home/username/workspace/cordova-play/platforms/ubuntu/armhf/prefix
PythonArgs: ['/usr/bin/click', 'chroot', '-aarmhf', '-s', 'trusty', 'run', 'cmake', '/home/username/workspace/cordova-play/platforms/ubuntu/build', '-DCMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt', '-DCMAKE_INSTALL_PREFIX=/home/username/workspace/cordova-play/platforms/ubuntu/armhf/prefix']
SourcePackage: click
Title: click crashed with click.chroot.ClickChrootException in run(): Chroot click-ubuntu-sdk-13.10-armhf does not exist
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Kostiantyn Rybnikov (k-bx) wrote :
tags: removed: need-duplicate-check
Changed in click (Ubuntu):
importance: Undecided → Medium
Colin Watson (cjwatson)
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in click (Ubuntu):
status: New → Confirmed
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

I followed the same tutorial and I'm stuck at the same place. Marking confirmed.

Revision history for this message
Jarelim (onedoesnotsimplyuse) wrote :

Here is mine ... Confirmed D:

Checking ubuntu requirements...
Running "dpkg-query -Wf'${db:Status-abbrev}' cmake debhelper libx11-dev libicu-dev pkg-config qtbase5-dev qtchooser qtdeclarative5-dev qtfeedback5-dev qtlocation5-dev qtmultimedia5-dev qtpim5-dev qtsensors5-dev qtsystems5-dev 2>/dev/null | grep -q '^i'" (output to follow)

Creating ubuntu project...
chewbahkaa@LUNIX:~/Documents/Programming/Cordova/project1$ cordova build ubuntu
Running command: /home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/cordova/build
pushd /home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/armhf/build
/home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/armhf/build /home/chewbahkaa/Documents/Programming/Cordova/project1
click chroot -aarmhf -s trusty run cmake /home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/build -DCMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt -DCMAKE_INSTALL_PREFIX="/home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/armhf/prefix"
Traceback (most recent call last):
  File "/usr/bin/click", line 86, in <module>
    sys.exit(main())
  File "/usr/bin/click", line 82, in main
    return mod.run(args)
  File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 171, in run
    return args.func(parser, args)
  File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 63, in execute
    return chroot.run(*program)
  File "/usr/lib/python3/dist-packages/click/chroot.py", line 320, in run
    "Chroot %s does not exist" % self.full_name)
click.chroot.ClickChrootException: Chroot click-ubuntu-sdk-13.10-armhf does not exist
click chroot -aarmhf -s trusty run cmake /home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/build -DCMAKE_TOOLCHAIN_FILE=/etc/dpkg-cross/cmake/CMakeCross.txt -DCMAKE_INSTALL_PREFIX="/home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/armhf/prefix" FAILED
Error: /home/chewbahkaa/Documents/Programming/Cordova/project1/platforms/ubuntu/cordova/build: Command failed with exit code 1
    at ChildProcess.whenDone (/usr/lib/node_modules/cordova/src/superspawn.js:126:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.