[Bug 1989198] Re: Snaps info pre-fetching seems broken
Dan Bungert
1989198 at bugs.launchpad.net
Wed Oct 19 18:22:04 UTC 2022
We believe a fix for this can be found in Subiquity 22.10.1. On
install you will be offered to update to the new version of the
installer if network is available, or you can perform a manual update
by running the follwing in a terminal:
sudo snap refresh subiquity
** Changed in: subiquity (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1989198
Title:
Snaps info pre-fetching seems broken
Status in subiquity package in Ubuntu:
Fix Released
Bug description:
It seems that we have a mechanism to pre-fetch information about the
snaps available. My understanding is that it impacts how fast the
screen shows the information about a specific snap when the user
presses enter on the snap list view.
However, in practice I always get the following debug log, which seems
to indicate that we did not pre-fetch any snap info.
2022-09-09 13:09:46,158 DEBUG subiquity.server.controllers.snaplist:70
fetched list of 0 snaps
The code does this:
task = self.tasks[None] = \
SingleInstanceTask(self._load_list, propagate_errors=False)
task.start_sync()
self.pending_snaps = self.model.get_snap_list()
log.debug("fetched list of %s snaps", len(self.pending_snaps))
and it feels like we should wait for the task to complete before
calling self.model.get_snap_list().
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1989198/+subscriptions
More information about the foundations-bugs
mailing list