Looking at the code and comparing ubuntu-cli with ubuntu-application templates, there is no place where the file permissions are changed, but the difference is that, while ubuntu-application template contains an executable file, the ubuntu-cli template contains a non executable file.
So I've made the file inside the ubuntu-cli template executable, tried quickly again and it worked fine.
Then I've grabbed a copy of the source and the same executable/non executable difference is there. Trying to use it from the source I get the same error too. Made the file executable on the sources, tried it and worked. Then tried a "bzr diff" and this is all that needs to be changed:
Ok, I've found what's the problem here.
Looking at the code and comparing ubuntu-cli with ubuntu-application templates, there is no place where the file permissions are changed, but the difference is that, while ubuntu-application template contains an executable file, the ubuntu-cli template contains a non executable file.
So I've made the file inside the ubuntu-cli template executable, tried quickly again and it worked fine.
Then I've grabbed a copy of the source and the same executable/non executable difference is there. Trying to use it from the source I get the same error too. Made the file executable on the sources, tried it and worked. Then tried a "bzr diff" and this is all that needs to be changed:
$ bzr diff /ubuntu- cli/project_ root/bin/ project_ name' (properties changed: -x to +x)
=== modified file 'data/templates
$