Re: Issues creating webapps snaps with stric confinement
Hi all, It seems that's a proxy issue since the webapps works well at home. Is there a way to use a webapp through a proxy by the way ? The one I use at work is very specific I have to use cntlm to go to Internet Thx for your the answers you gave me Cheers Winael On Tue, Apr 4, 2017 at 1:40 PM XiaoGuo Liu <xiaoguo@canonical.com> wrote: > Hi Winael, > > Have you seen the tutorial at > https://tutorials.ubuntu.com/tutorial/snap-a-website#0? > > Best regards, > XiaoGuo > > On Fri, Mar 31, 2017 at 9:28 PM, Vincent JOBARD <vinzjob...@gmail.com> > wrote: > > > Hi Everyone > > > > I just try to follow the tutorial to learn how to create webapps snaps > > using snapcraft. ( > > https://developer.ubuntu.com/en/phone/web/ubuntu-webapps-guide/, very > nice > > tutorial by the way) > > > > Unfortunately, when I try to create my snap with strict confinement, I > have > > a network Error page, but all works fine in devmode. > > > > I'm at work behind a proxy with cntlm authentification. could it be > related > > ? > > > > Thx for your answers guys > > > > Cheers > > Winael > > -- > > Snapcraft mailing list > > Snapcraft@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > > mailman/listinfo/snapcraft > > > > > > -- > XiaoGuo, Liu > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Issues creating webapps snaps with stric confinement
Hi Everyone I just try to follow the tutorial to learn how to create webapps snaps using snapcraft. ( https://developer.ubuntu.com/en/phone/web/ubuntu-webapps-guide/, very nice tutorial by the way) Unfortunately, when I try to create my snap with strict confinement, I have a network Error page, but all works fine in devmode. I'm at work behind a proxy with cntlm authentification. could it be related ? Thx for your answers guys Cheers Winael -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
nchRe: Error on compiling snap using wxPython
Hi On Tue, Nov 8, 2016 at 12:47 PM Sergio Schvezov < sergio.schve...@canonical.com> wrote: > > > El 07/11/16 a las 10:12, Didier Roche escribió: > > How could I found the PYTHON_PATH from the parts ? I found that's not > possible to download wxPython from PyPI so I can't use python-packages > either. So I suppose that I need a Makefile, where I can specify the > PYTHON_PATH. What do you think ? What can I specify as path ? > > > Let's see what Sergio tells (if this is supposed to be supported or not) > as he did rewrite recently the python plugin. If not, you can create your > own plugin inheriting from the python one, and exporting PYTHON_PATH to > what you need (there are some examples in the playpen for this). > > > The new plugin does NOT set PYTHONPATH, instead it sets PYTHONHOME and > PYTHONUSERBASE. It has been specifically made to work with pypi and the > latest trendy upstreams. There are ways to use alternate sources than pypi > by just using the standard pip semantics for a required package. > > If none of this is good, then you should look into writing your own plugin. > It seems that the pip install command is very particular for wxPython_Phoenix (which is the name registred in PyPI repo): sudo pip install --upgrade --trusted-host wxpython.org --pre -f http://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix So I really think that I will have to write my own plugin indeed. I begin to look at the Playpen example, but as a non-dev, I have some difficulties to undersand very quickly without explanation ^^ So I will not talk about GUI for youtube-dl in my workshop tomorrow (slides in french are here https://docs.google.com/presentation/d/15wBH9AeUimbt2N0nbRzkRhZZRK59SfahItQjsjm_ric/edit?usp=sharing) , but still interested in understanding and create a snapcraft.yaml for youtube-dl-gui project. @Didier Let's talk about that next week at OSS if you have some times. I'll take some examples with me and maybe with your explanation it will be more easily to understand > Cheers > > Sergio > Cheers Winael -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Error on compiling snap using wxPython
Hi Didier Thx for your answer On Mon, Nov 7, 2016 at 9:02 AM Didier Roche <didro...@ubuntu.com> wrote: > Le 06/11/2016 à 01:40, Vincent JOBARD a écrit : > > Hi every one > > > > Few days ago I found that a GUI exists for > > YouTube-dl, https://github.com/MrS0m30n3/youtube-dl-gui. > > > > So I tried to create a snap for it, based on youtube-dl snapcraft.yaml > > found in the Playpen > > > > https://github.com/Winael/youtube-dl-gui/blob/snapcraft/snapcraft.yaml > > > > but when I build my snap I have an error > > > > https://pastebin.ubuntu.com/23433523/ > > > > I certainly miss something with the dependancies management but I > > don't found what. > > > > Is there someone that could help me ? > > I suggest that you print PYTHON_PATH and look at the content that > snapcraft has there. I doubt that the python plugin resolves > dependencies from stage-packages at build time. > How could I found the PYTHON_PATH from the parts ? I found that's not possible to download wxPython from PyPI so I can't use python-packages either. So I suppose that I need a Makefile, where I can specify the PYTHON_PATH. What do you think ? What can I specify as path ? > > > > I have to animate a workshop next week on how to create snaps, and > > youtube-dl is one of my reference because of multi-source, cloud part > > possibility and part priorization, and it could be nice to show how to > > add a GUI on it with a desktop integration with a very simple > > snapcraft.yaml file > I suggest if you can't get that one working that you use the one I > pointed you about. In addition, it's a continuation of the one you will > demo as part of the conference and build upons multiple concepts: > - mutiple sources (some local, some distant) > - good ordering of properties > - shortcuts and hints (.git enable stripping source-type) > - services and commands talking together > - local plugins. > I'll use face-detection-demo snaps for the first part because it's the continuation of the presentation based on your work, but I have an hour and half so I will talk about youtube-dl. If I can't success with the GUI part, I will only show how to build youtube-dl CLI :) Cheers Winael -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Error on compiling snap using wxPython
Hi Ralf I add python-distutils-extra as dependancy in my snapcraft.yaml but I still have the same issue. According to fin, I have wx modules installed in the install folder of my parts https://pastebin.ubuntu.com/23437170/ So I suppose that's maybe could be due to the path. What do you think ? Cheers Winael On Sun, Nov 6, 2016 at 5:40 AM Ralf Mardorf <silver.bul...@zoho.com> wrote: > OT: > > On Sun, 06 Nov 2016 00:40:10 +, Vincent JOBARD wrote: > >Few days ago I found that a GUI exists for YouTube-dl, > >https://github.com/MrS0m30n3/youtube-dl-gui. > > https://github.com/rrooij/youtube-dl-qt > > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Error on compiling snap using wxPython
Hi every one Few days ago I found that a GUI exists for YouTube-dl, https://github.com/MrS0m30n3/youtube-dl-gui. So I tried to create a snap for it, based on youtube-dl snapcraft.yaml found in the Playpen https://github.com/Winael/youtube-dl-gui/blob/snapcraft/snapcraft.yaml but when I build my snap I have an error https://pastebin.ubuntu.com/23433523/ I certainly miss something with the dependancies management but I don't found what. Is there someone that could help me ? I have to animate a workshop next week on how to create snaps, and youtube-dl is one of my reference because of multi-source, cloud part possibility and part priorization, and it could be nice to show how to add a GUI on it with a desktop integration with a very simple snapcraft.yaml file Thx for help guys Cheers Winael -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft