"Failed to generate snap metadata" when others can

Hi guys,

from many weeks I’m trying to snapcraft persepolis

Daniel Llewellyn some week ago made a PR to my persepolis git repository and both Daniel and MahdiBaghbani are able to snapcraft the application using simply that PR… instead I have never been able to finish the process. it always ends with this error:

Failed to generate snap metadata: Specified command 'bin/persepolis' was not found.
Verify the command is correct and for a more deterministic outcome, specify the relative path to the command from the prime directory.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

I think I have tried anything…re-clone the git repositories (my and the original with copy-paste the two file changed by Daniel’s PR ) I also tried to snap remove and snap install both snapcraft and multipass (with and without erasing the configuration files under ~/snap with and without snapd logged in) I also tried to install both snapcraft and multipass in the edge channel…but I always have the same error…what is wrong with my computer? I’m on a Linux 4.15.0-96-generic #97~16.04.1-Ubuntu x86_64 and have both snapcraft and multipass installed via snap in the classic confinement… Here the whole pastebin of the failing snapcraft procedure in a new directory made by git clone https://github.com/persepolisdm/persepolis.git and by putting these files in it from the Daniel PR

Can anybody help me?

I admit that all this, after almost a month of daily attempts, is beginning to be frustrating :slightly_frowning_face: PS: I’ve merged the Daniel PR so you can easily test snapcraft https://github.com/Aury88/persepolis.git here the yaml