Re: Yet more issues snapping

2017-01-25 Thread gareth . france
On 2017-01-23 21:44, Leo Arias wrote: On Wed, Jan 18, 2017 at 2:53 AM, wrote: It is ok now thank you. I have had some excellent help and can use what I now have to aid me going forward. It is those first few steps that seem impossible. Hey Gareth, I'm happy to see you got it working. It wou

Re: Yet more issues snapping

2017-01-18 Thread gareth . france
On 2017-01-18 08:41, Evan Dandrea wrote: On Tue, 17 Jan 2017 at 02:08 Gareth France wrote: On 16/01/17 23:58, Loïc Minier wrote: I suggest you try running your Travis build inside a 16.04 environment; it seems this is achieved by running the 16.04 Docker container. Thank you, but how do I do

Re: Yet more issues snapping

2017-01-16 Thread Gareth France
On 16/01/17 23:58, Loïc Minier wrote: I suggest you try running your Travis build inside a 16.04 environment; it seems this is achieved by running the 16.04 Docker container. Thank you, but how do I do that? -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscrib

Re: Yet more issues snapping

2017-01-16 Thread Gareth France
On 17/01/17 00:04, Matthew Aguirre wrote: Can you not just list the library dependencies and dev packages in the snapcraft file instead of building everything from source? python-gtk2 parts: your_app: plugin: python source: . build-packages: - python-gtk2-dev stage-pac

Yet more issues snapping

2017-01-16 Thread Gareth France
Having given up all hope of ever being able to do a simple thing like include pygtk in a snap I have rebuilt my package using wx. I can't face the same issue twice, surely right? Well I've built it without explicitly mentioning wx, and specifically asking travis to include it. The end result

Issues working with pygtk

2017-01-15 Thread Gareth France
I have been struggling to get my latest creation to package, whatever I try it fails trying to include pygtk. My builds are automated on git through travis and this seemed to be where the problem lay. Today though I thought I'd try a local build and it still fails. The problem seems to be with

Packaging with pygtk

2017-01-12 Thread gareth . france
I have a graphical python project built with pygtk I wish to package, I'm using travis CI to automatically package and release when I commit to github. I have been informed that pygtk needs to be specifically installed and bundled within snapcraft.yaml / travis.yaml but I don't seem to be able

Re: Unicode characters break snap

2017-01-09 Thread Gareth France
e more than happy to take a look at a small example the reproduces the problem. I can't reproduce the issue from your current git repository though. Cheers, On Mon, Jan 9, 2017 at 7:14 PM, Gareth France mailto:gareth.fra...@cliftonts.co.uk>> wrote: On 09/01/17 06:12, Mi

Re: Unicode characters break snap

2017-01-08 Thread Gareth France
On 09/01/17 06:12, Michael Nelson wrote: On Mon, Jan 9, 2017 at 5:03 PM Gareth France mailto:gareth.fra...@cliftonts.co.uk>> wrote: On 09/01/17 00:20, Thomi Richards wrote: This sounds like you may be running into unicode encoding issues in your python source files.

Re: Unicode characters break snap

2017-01-08 Thread Gareth France
On 09/01/17 00:20, Thomi Richards wrote: This sounds like you may be running into unicode encoding issues in your python source files. https://www.python.org/dev/peps/pep-0263/ has the full details, but the tl,dr version is that if you have unicode literals in your python source file you need

Unicode characters break snap

2017-01-08 Thread Gareth France
Having finally packaged my Roku and Now TV remote (RokuTerm) I am now bug fixing and adding polish. It functions very well but is rather ugly so I have created a new keypad screen using unicode characters. It is all written in python and runs perfectly locally, however when snapped it fails wi

Re: Correct usage of snapcraft.yaml

2017-01-05 Thread gareth . france
On 2017-01-05 13:48, Mark Shuttleworth wrote: On 05/01/17 15:39, gareth.fra...@cliftonts.co.uk wrote: Once again please do forgive my lack of knowledge. Having managed to successfully release a snap I am now wondering what the correct thing to do is regarding github. My code is there for anyone t

Correct usage of snapcraft.yaml

2017-01-05 Thread gareth . france
Once again please do forgive my lack of knowledge. Having managed to successfully release a snap I am now wondering what the correct thing to do is regarding github. My code is there for anyone to obtain, so should the snapcraft.yaml be included or is that something one would normally keep to t

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 r

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 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/pyth

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 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 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 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-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

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