Hello, The fix works perfectly on my system, using:
gnome-software 3.26.1-0ubuntu2.17.10.1 Great stuff, thanks to everyone who worked to fix this bug (and the many thousands of others!). ** Tags removed: verification-needed-artful ** Tags added: verification-done-artful -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1720442 Title: Crashes if broken snaps installed Status in gnome-software package in Ubuntu: Fix Released Status in gnome-software source package in Artful: Fix Committed Status in gnome-software source package in Bionic: Fix Released Bug description: [Impact] GNOME Software crashes if a broken snap is installed. [Test Case] 1. Create and install a local snap: $ mkdir -p /tmp/broken-snap/meta $ printf "name: broken-snap\nversion: 1\n" > /tmp/broken-snap/meta/snap.yaml $ sudo snap try /tmp/broken-snap 2. Break the snap $ rm /tmp/broken-snap/meta/snap.yaml 3. Confirm the snap is broken: $ snap list Name Version Rev Developer Notes broken-snap x1 try,broken 4. Restart gnome-software $ killall gnome-software 5. Open GNOME Software and go to installed tab. Wait for items to load. Expected result: Installed snaps are shown Observed result: GNOME Software crashes. [Regression Potential] Fix is to handle fields missing in broken snaps. Some risk of breaking related code. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1720442/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp