Public bug reported: 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.exit(main()) File "/usr/bin/click", line 79, in main return mod.run(args) File "/usr/lib/python3/dist-packages/click/commands/build.py", line 45, in run path = builder.build(".", manifest_path=options.manifest) File "/usr/lib/python3/dist-packages/click/build.py", line 212, in build self.read_manifest(full_manifest_path) File "/usr/lib/python3/dist-packages/click/build.py", line 79, in read_manifest with io.open(manifest_path, encoding="UTF-8") as manifest: IsADirectoryError: [Errno 21] Is a directory: '/tmp/clickp4o0vn/data/.' --- 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 NonfreeKernelModules: nvidia Package: click 0.4.11 PackageArchitecture: amd64 Tags: saucy Uname: Linux 3.11.0-031100-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers video ** Affects: click (Ubuntu) Importance: Undecided Status: New ** Tags: apport-collected saucy ** Tags added: apport-collected saucy ** Description changed: 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.exit(main()) File "/usr/bin/click", line 79, in main return mod.run(args) File "/usr/lib/python3/dist-packages/click/commands/build.py", line 45, in run path = builder.build(".", manifest_path=options.manifest) File "/usr/lib/python3/dist-packages/click/build.py", line 212, in build self.read_manifest(full_manifest_path) File "/usr/lib/python3/dist-packages/click/build.py", line 79, in read_manifest with io.open(manifest_path, encoding="UTF-8") as manifest: IsADirectoryError: [Errno 21] Is a directory: '/tmp/clickp4o0vn/data/.' + --- + 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 + NonfreeKernelModules: nvidia + Package: click 0.4.11 + PackageArchitecture: amd64 + Tags: saucy + Uname: Linux 3.11.0-031100-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers video -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1251604 Title: Using the build -m option crashes click. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/click/+bug/1251604/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs