Re: Issues generating snap

2017-01-04 Thread Gareth France
On 04/01/17 10:23, Mark Shuttleworth wrote: Try changing the shell invocation line (first line of the Python script) to /usr/bin/python3 rather than /usr/bin/env Python3 is included in the core snap, so it is available at that path for all devmode/strictly confined snaps. Just a quick note to

Re: Issues generating snap

2017-01-04 Thread Gareth France
On 04/01/17 10:23, Mark Shuttleworth wrote: On 04/01/17 08:34, Gareth France wrote: /usr/bin/env: 'python': No such file or directory It is a python script I've packaged. Any ideas? Try changing the shell invocation line (first line of the Python script) to /usr/bin/python3 rather than /usr/

Re: Issues generating snap

2017-01-04 Thread XiaoGuo Liu
Hi Gareth, I would recommend looking at the example project at https://github.com/snapcore/snapcraft/tree/master/demos/py3-project. It is a working example for your reference. Best regards, XiaoGuo On Wed, Jan 4, 2017 at 9:57 PM, wrote: > > You're welcome, it takes a big community to make Ubun

Re: Issues generating snap

2017-01-04 Thread gareth . france
You're welcome, it takes a big community to make Ubuntu happen. I hope that you find snaps have just as big an impact :) It would be wonderful if we can really improve the flow of bits from upstreams to users, or even just make it easier for people to manage private apps that they are pushing

Re: Issues generating snap

2017-01-04 Thread Mark Shuttleworth
On 04/01/17 13:40, gareth.fra...@cliftonts.co.uk wrote: > Thank you, that makes perfect sense. I'd also like to say a quick > thanks for revolutionising my life. Discovered Feisty 10 years back > and haven't looked back since! You're welcome, it takes a big community to make Ubuntu happen. I hope

Re: Issues generating snap

2017-01-04 Thread gareth . france
On 2017-01-04 10:23, Mark Shuttleworth wrote: On 04/01/17 08:34, Gareth France wrote: /usr/bin/env: 'python': No such file or directory It is a python script I've packaged. Any ideas? Try changing the shell invocation line (first line of the Python script) to /usr/bin/python3 rather than /us

Re: Issues generating snap

2017-01-04 Thread Mark Shuttleworth
On 04/01/17 08:34, Gareth France wrote: > > /usr/bin/env: 'python': No such file or directory > > It is a python script I've packaged. Any ideas? Try changing the shell invocation line (first line of the Python script) to /usr/bin/python3 rather than /usr/bin/env Python3 is included in the core s

Re: Issues generating snap

2017-01-04 Thread XiaoGuo Liu
Hi Gareth, Please see my comments below. I am sorry that some places might not be so clear to you. You can use google-translate to translate it. Best regards, XiaoGuo On Wed, Jan 4, 2017 at 1:33 PM, Gareth France wrote: > > > On 04/01/17 04:13, XiaoGuo Liu wrote: > > Hi Gareth, > > Based on se

Re: Issues generating snap

2017-01-03 Thread Gareth France
On 04/01/17 06:39, Nathan Haines wrote: On 01/03/2017 09:33 PM, Gareth France wrote: second it is not clear how you are naming your container (the command to create it simply refers to it as yakkety but the responses to that command state creating and starting flying-snake). When you create

Re: Issues generating snap

2017-01-03 Thread Nathan Haines
On 01/03/2017 09:33 PM, Gareth France wrote: second it is not clear how you are naming your container (the command to create it simply refers to it as yakkety but the responses to that command state creating and starting flying-snake). When you create a container, you specify the image to use a

Re: Issues generating snap

2017-01-03 Thread Gareth France
On 04/01/17 04:13, XiaoGuo Liu wrote: Hi Gareth, Based on sergio's scripts at http://paste.ubuntu.com/23733207/ , I have created a tutorial for it. Hopefully, it is useful to you. You may find it at: http://blog.csdn.net/ubuntutouch/article/details/54017

Re: Issues generating snap

2017-01-03 Thread Gareth France
On 04/01/17 04:13, XiaoGuo Liu wrote: Hi Gareth, Based on sergio's scripts at http://paste.ubuntu.com/23733207/ , I have created a tutorial for it. Hopefully, it is useful to you. You may find it at: http://blog.csdn.net/ubuntutouch/article/details/54017

Re: Issues generating snap

2017-01-03 Thread XiaoGuo Liu
Hi Gareth, Based on sergio's scripts at http://paste.ubuntu.com/23733207/ , I have created a tutorial for it. Hopefully, it is useful to you. You may find it at: http://blog.csdn.net/ubuntutouch/article/details/54017425 Best regards, XiaoGuo On Wed, Jan 4, 2017 at 4:49 AM, Gareth France wrote:

Re: Issues generating snap

2017-01-03 Thread Gareth France
On 03/01/17 20:33, Sergio Schvezov wrote: Can you install lxd and create a yakkety container as I did in the paste and try from there? Installed, but sorry, how do I do that? -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/

Re: Issues generating snap

2017-01-03 Thread Sergio Schvezov
El 03/01/17 a las 15:39, Gareth France escribió: On 03/01/17 12:14, Sergio Schvezov wrote: Well it eases me to know that we test this as an autopackage test and I just ran this in a clean yakkety container to double check http://paste.ubuntu.com/23733207/ Is there some missing bit of info

Re: Issues generating snap

2017-01-03 Thread Gareth France
On 03/01/17 12:14, Sergio Schvezov wrote: Well it eases me to know that we test this as an autopackage test and I just ran this in a clean yakkety container to double check http://paste.ubuntu.com/23733207/ Is there some missing bit of information here? I don't know, you tell me. It has alw

Re: Issues generating snap

2017-01-03 Thread Sergio Schvezov
El 01/01/17 a las 18:18, Gareth France escribió: Snapcraft version 2.24+16.10 Ubuntu version 16.10 I am building the hello world example from the snap tour. Below is the full output: snapcraft "grade" property not specified: defaulting to "stable" Use of build-properties in the schema is depre

Re: Issues generating snap

2017-01-01 Thread Gareth France
More information to help out would be appreciated, such as version, what you are trying to build (is it really the 01 dir from the tour), what release you are on, other information you can think of. Is this the full length of the output? It seems something in your build is calling perl and b

Re: Issues generating snap

2017-01-01 Thread Gareth France
Snapcraft version 2.24+16.10 Ubuntu version 16.10 I am building the hello world example from the snap tour. Below is the full output: snapcraft "grade" property not specified: defaulting to "stable" Use of build-properties in the schema is deprecated. Plugins should now implement get_build_prop

Re: Issues generating snap

2017-01-01 Thread Sergio Schvezov
El 01/01/17 a las 18:09, Gareth France escribió: Firstly as a new member of the group I'd like to say hi and sorry if this is not the correct place for this sort of question, if not please do point me in the right direction. Hello! I've installed snapcraft and I'm just running through t

Issues generating snap

2017-01-01 Thread Gareth France
Firstly as a new member of the group I'd like to say hi and sorry if this is not the correct place for this sort of question, if not please do point me in the right direction. I've installed snapcraft and I'm just running through the tour which in step on confidently claims my system will ' in