Re: Manual update of snap/snapd and core/ubuntu-core
Hi Jenny, >From the looks of it, your system has actually been updated automatically, as your first email indicates you had core version 641, and now have core 714. The reason you could not update to core on the edge channel to version 870 is because that version has not been validated yet. Does snap --version still show 2.18? With core rev 714 (which your snap list indicates you have installed) you should now be seeing 2.20. Thanks Chris On Wed, Jan 11, 2017 at 7:05 AM, Jenny Murphywrote: > Oh ok, so when they do, the updates will start happening automatically? > Thanks. > > On 11 January 2017 at 11:54, Jamie Bennett > wrote: > >> Hi Jenny, >> >> The lack of update is due to the platform you are using: St Louis. It >> looks like the team responsible for St Louis updates has not fully >> validated the new Ubuntu Core software which is why you haven't seen an >> update yet. I suspect that an update is forthcoming soon. >> >> Regards, >> Jamie. >> >> On 11 Jan 2017, at 13:38, Jenny Murphy >> wrote: >> >> Hi, >> This is the error I get after step 1: >> >> >> admin@localhost:~$ snap refresh core --edge >> error: cannot refresh "core": cannot refresh "core" to revision 870: no >> validation by "stlouis" >> >> On 11 January 2017 at 10:21, Manik Taneja wrote: >> >>> Hi Jenny, >>> >>> Welcome to Ubuntu Core. I see that you are experiencing a timeout while >>> retrieving assertions. We have added additional redundancy to the client in >>> a later revision (2.20) of snapd. While we await for 2.20 to move into the >>> stable channel, can I request that you manually upgrade to the edge channel >>> using- >>> >>> snap refresh core --edge >>> snap --version >>> snap list >>> >>> Once the refresh succedes, than please try the snap refresh command to >>> make sure that all snaps are updated to the latest. If you still experience >>> similar issues, please let us know. For reference, here's a screenshot of >>> the cmd usage- >>> >>> >>> >>> Regards, >>> Manik >>> >>> On Wed, Jan 11, 2017 at 11:39 AM, Jenny Murphy < >>> jenny.mur...@episensor.com> wrote: >>> Hi Jamie, Here is some more information as requested : admin@localhost:~$ snap info core name: core summary: "snapd runtime environment" publisher: canonical description: | The core runtime environment for snapd type:core tracking:stable installed: 16.04.1 (714) 79MB - refreshed: 2016-12-16 04:28:38 + UTC channels: stable:16.04.1 (714) 0B - candidate: 16.04.1 (714) 0B - beta: 16.04.1 (714) 0B - edge: 16.04.1 (870) 0B - admin@localhost:~$ snap refresh error: cannot refresh []: cannot refresh snap-declaration for "stlouis-kernel": Get https://assertions.ubuntu.com/ v1/assertions/snap-declaration/16/0EawO5JYYJmNw9CmweMnyrwGgJ xDUHag?max-format=1: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) admin@localhost:~$ snap list Name VersionRev Developer Notes bluez5.37-2 15 canonical - core 16.04.1714 canonical - gateway 2.0x3 devmode modem-manager1.4.0-114 canonical - network-manager 1.2.2-10 73 canonical - snappy-debug 0.26 25 canonical - snapweb 0.21.2 24 canonical - stlouis 16.04-1.13 11 canonical - stlouis-kernel 4.4.0-57-1 7canonical - tpm2 1.0-2.112 canonical - uefi-fw-tools1.2-0.7.2+git 2canonical - snapcraft@lists.snapcraft.io On 11 January 2017 at 07:16, Jamie Bennett wrote: > Hi Jenny, > > On 09/01/17 at 10:28am, Jenny Murphy wrote: > > Hi, > > My query is related to a few of the recent discussions regarding > versions, > > releases and updates/ > > > > I currently have a Snappy Ubuntu system as follows : > > > > snap --version gives the following result : > > snap2.18.1 > > snapd 2.18.1 > > series 16 > > > > more /etc/lsb-release yeilds : > > DISTRIB_ID="Ubuntu Core" > > DISTRIB_RELEASE=16 > > DISTRIB_DESCRIPTION="Ubuntu Core 16 > > > > And finally snap list yields : > > core 16.04.1641 canonical -- > > > > I don't see to be getting any automatic updates which I don't mind > about > > as long as I could manually update. > > > > So just a few questions : > > > > 1. How can I update snap and snapd > > What happens when you type: > > $ snap info core > > Also, what happens when you type: > > $
Re: Error using python3-gi dependency
Hi Sergio, You could try having a wrapper set something like this: export GI_TYPELIB_PATH=$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$ARCH/girepository-1.0 where $ARCH is defined like this: case "$SNAP_ARCH" in "amd64") ARCH='x86_64-linux-gnu' ;; "i386") ARCH='i386-linux-gnu' ;; "arm64") ARCH='aarch64-linux-gnu' ;; "armhf") ARCH='arm-linux-gnueabihf' ;; *) echo "Unsupported architecture: $SNAP_ARCH" ;; esac Hope that helps! Thanks Chris On Tue, Dec 20, 2016 at 2:00 PM, Sergio Cazzolato < sergio.cazzol...@canonical.com> wrote: > Hello, I am creating a snap which has a the python3-gi dependency (as it > is shown below) > > parts: > > kpi-dbus-tests: > plugin: nil > stage-packages: > - gir1.2-glib-2.0 > - python3-dbus > - python3-gi > > > When I run the python script which is using the gi dependency I am getting > some errors when it try to import the dependencies. I took a look and the > dependencies are installed correctly. > > Traceback (most recent call last): > File "/snap/kpi-dbus-tests/x1/dbus_signal_spammer.py", line 25, in > > from gi.repository import GObject > File "/snap/kpi-dbus-tests/x1/usr/lib/python3/dist-packages/gi/importer.py", > line 127, in find_module > 'introspection typelib not found' % namespace) > ImportError: cannot import name GObject, introspection typelib not found > > Traceback (most recent call last): > File "", line 890, in _find_spec > AttributeError: 'DynamicImporter' object has no attribute 'find_spec' > > Also in classic mode, I manually installed the dependencies and executed > the python script and it works properly. > > Any idea about which could be the problem? > > Thanks > > -- > 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
Re: Project templates in snapcraft
There's really no standard way to build electron apps though On Nov 4, 2016 9:58 PM, "Aaron Honeycutt"wrote: > Also electron projects > > On Fri, Nov 4, 2016, 9:20 PM XiaoGuo Liu > wrote: > >> +1 >> >> I think it may apply to "nodejs", "python", "tomcat", "mysql", "php", >> "java" etc. >> >> Best regards, >> XiaoGuo >> >> On Sat, Nov 5, 2016 at 1:39 AM, Benjamin Zeller < >> benjamin.zel...@canonical.com> wrote: >> >> Just a small proposal to have templates in snapcraft, that provide some >> sort of starting point for >> people without the need to read lots of tutorials, but get started with >> their project right away. >> >> My proposal would be to add a template engine in snapcraft, that >> generates predefined projects >> or at least a predefined snapcraft.yaml for a specific use case. >> >> Something like: >> >> snapcraft init --template=ubuntu-touch-app , which would bootstrap a >> simple snapcraft project >> targeting QML/Qt APIs. >> >> I think that could help people to get their apps snapped even faster. >> >> Cheers, >> >> Benjamin >> >> >> >> -- >> 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 >> > -- > > Aaron Honeycutt > - Ubuntu Fl Loco South Lead > - Kubuntu Council Member > > -- > 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
Re: Can not launch atom-cwayne.atom
Hi, You'll need to install with --devmode, and it should work. I need to upload a new version to make that clearer. Thanks Chris On Mon, Aug 1, 2016 at 5:22 AM, Howy Wangwrote: > Hi All, > > I just installed the snap, atom-cwayne.atom of snappy-playpen, but it > can't be used after installation. My snapcraft verson is 2.13.1, and snapd > version is 2.0.10 on Ubuntu 16.04 -64 bits. May I know which problems on > my environment? > > The following information is for your reference. > howy@howy-Vostro-14-5480:~$ atom-cwayne.atom > howy@howy-Vostro-14-5480:~*$ /snap/atom-cwayne/1/bin/atom: line 108: > /usr/bin/nohup: Permission denied* > howy@howy-Vostro-14-5480:~$ sudo snap refresh atom-cwayne > error: cannot perform the following tasks: > - Download snap "atom-cwayne" from channel "stable" (revision 1 of snap > "atom-cwayne" already installed) > howy@howy-Vostro-14-5480:~$ sudo atom-cwayne.atom > sudo: atom-cwayne.atom: command not found > howy@howy-Vostro-14-5480:~$ snapcraft --version > 2.13.1 > > Thank you. > > -- > 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