Snappy apps and .click directory

Daniel Noguerol dan at whizzosoftware.com
Fri Jan 23 04:13:36 UTC 2015


Hi all,

I’m trying to create a Snappy-fied version of my app and running into a problem. I’m using Ubuntu Desktop 14.04 and the “snappy build” command to successfully create a .snap file of my app. However, when I run “snappy install <my snap file>” on the instance where I want to install it, I get the following:

ubuntu at localhost:~$ sudo snappy install Hobson_0.4.3_amd64.snap 
WARNING:root:Signature check failed, but installing anyway as requested
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/install.py", line 110, in run
    quiet=not options.verbose)
  File "/usr/lib/python3/dist-packages/click/install.py", line 482, in install
    path, user=user, all_users=all_users, quiet=quiet)
  File "/usr/lib/python3/dist-packages/click/install.py", line 441, in _unpack
    self._add_checksum_to_manifest(path, inst_dir, package_name)
  File "/usr/lib/python3/dist-packages/click/install.py", line 359, in _add_checksum_to_manifest
    with open(manifest_path) as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/apps/Hobson/0.4.3/.click/info/Hobson.manifest'

It appears that a .click directory isn’t getting created. As a data point, I tried installing the hello-world example .snap on the same instance and it created a .click directory just fine.

Any idea what might be going wrong?

Thanks.

->Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150122/4f63722e/attachment.html>


More information about the snappy-app-devel mailing list