"click build -m" crashes when given a directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
Low
|
Colin Watson |
Bug Description
To reproduce:
In current dir have:
manifest.json
foo/
Directory "foo" contains the files to be packaged.
Run: "click build -m . foo/"
Expected result: click should build a click package using the manifest.json in current directory.
Actual Result: click crashes with the following backtrace:
Traceback (most recent call last):
File "/usr/bin/click", line 83, in <module>
sys.
File "/usr/bin/click", line 79, in main
return mod.run(args)
File "/usr/lib/
path = builder.build(".", manifest_
File "/usr/lib/
self.
File "/usr/lib/
with io.open(
IsADirectoryError: [Errno 21] Is a directory: '/tmp/clickp4o0
---
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
DistroRelease: Ubuntu 13.10
InstallationDate: Installed on 2013-08-27 (79 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130827)
MarkForUpload: True
NonfreeKernelMo
Package: click 0.4.11
PackageArchitec
Tags: saucy
Uname: Linux 3.11.0-
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers video
Related branches
- 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)
Changed in click (Ubuntu): | |
status: | Triaged → Fix Committed |
assignee: | nobody → Colin Watson (cjwatson) |
apport information