click crashed with FileNotFoundError in read_manifest(): [Errno 2] No such file or directory: '/tmp/clickh7pl52/data/manifest.json'

Bug #1228619 reported by Joe Liau
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
click (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

ubuntu-touch:
  Installed: (none)
  Candidate: 1.074
  Version table:
     1.074 0
        500 http://mirror.peer1.net/ubuntu/ saucy/universe amd64 Packages

ubuntu-sdk:
  Installed: 1.074
  Candidate: 1.074
  Version table:
 *** 1.074 0
        500 http://mirror.peer1.net/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: click 0.4.7
ProcVersionSignature: Ubuntu 3.11.0-7.14-generic 3.11.1
Uname: Linux 3.11.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.4-0ubuntu1
Architecture: amd64
Date: Sat Sep 21 10:00:37 2013
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/click
InstallationDate: Installed on 2013-09-08 (13 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130907)
InterpreterPath: /usr/bin/python3.3
MarkForUpload: True
ProcCmdline: /usr/bin/python3 /usr/bin/click build /home/username/Ubuntu One/touch-me/say-ubuntu-app_build
PythonArgs: ['/usr/bin/click', 'build', '/home/username/Ubuntu', 'One/touch-me/say-ubuntu-app_build']
SourcePackage: click
Title: click crashed with FileNotFoundError in read_manifest(): [Errno 2] No such file or directory: '/tmp/clickh7pl52/data/manifest.json'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Revision history for this message
Joe Liau (joe) wrote :
tags: removed: need-duplicate-check
Changed in click (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Colin Watson (cjwatson) wrote :

Did you call "click build" manually, or was it via some other program such as QtCreator?

If you called it manually, then you need to make sure to quote directory names that contain spaces.

If this was via something like QtCreator, then please tell me so that I can reassign the bug to them.

Finally, your package does not appear to contain a manifest.json file, which is the direct cause of this crash.

Changed in click (Ubuntu):
status: New → Incomplete
information type: Private → Public
Revision history for this message
Colin Watson (cjwatson) wrote :

That said, I've at least tweaked click to show a proper error message here rather than crashing.

Changed in click (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
status: Incomplete → Fix Committed
Revision history for this message
Joe Liau (joe) wrote :

I was using QtCreator.

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package click - 0.4.8

---------------
click (0.4.8) saucy; urgency=low

  * Show a proper error message if "click build" or "click buildsource" is
    called on a directory that does not exist or does not contain a manifest
    file, rather than crashing (LP: #1228619).
  * Restore missing newlines after JSON dumps in "click info" and "click
    list --manifest".
  * Tidy up use of PackageKit IDs; local:click should refer to uninstalled
    packages, while installed:click refers to installed packages.
  * Expose application names and whether a package is removable via the
    PackageKit API: the IDs of installed applications are now formed as
    comma-separated key/value pairs, e.g.
    "installed:click,removable=1,app_name=foo,app_name=bar" (LP: #1209329).
  * Rename ClickUser.__setitem__ to ClickUser.set_version and
    ClickUser.__delitem__ to ClickUser.remove; with multiple databases it
    was impossible for these methods to fulfil the normal contract for
    mutable mappings, since deleting an item might simply expose an item in
    an underlying database.
  * Allow unregistering preinstalled packages. A preinstalled package
    cannot in general actually be removed from disk, but unregistering it
    for a user records it as being hidden from that user's list of
    registered packages. Reinstalling the same version unhides it.
  * Consolidate ClickInstaller.audit_control into ClickInstaller.audit.
  * Validate the shipped md5sums file in "click verify" (LP: #1217333).
 -- Colin Watson <email address hidden> Tue, 24 Sep 2013 15:21:48 +0100

Changed in click (Ubuntu):
status: Fix Committed → Fix Released
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.