On Sep 10, 2014, at 01:16 PM, Ken VanDine wrote: >In the UpdateManager code, it was getting onSystemUpdateDownloaded >signal multiple times, and each time opening a dialog.
That's not a signal that system-image-dbus emits. s-i-d emits UpdateAvailableStatus for each call to CheckForUpdate. The flags in that signal will tell you what's happening in the client, e.g. the `downloading` flag is set if an update is being downloaded. Downloading always completes with an UpdateDownloaded or UpdateFailed signal (I'm ignoring pauses for now). You will get UpdateProgress signals at regular intervals while an update is being downloaded. Maybe that onSystemUpdateDownloaded is a translation of the s-i-d UpdateDownloaded signal? That signal should only get emitted after an automatic or manual download is complete. However, I note in comment #15 that three DownloadUpdate() calls were made in a row - that could trigger three UpdateDownloaded signals even if the download was already complete. s-i-d would check the already downloaded files for validity, and if they're good, it will emit an UpdateDownloaded signal. >The number of times this signal was emitted seems to vary, I had times where >it only happened twice (1 too many) and other times where it was 5 or more >times. In system-settings, it was creating a dialog each time the signal was >emitted. It wasn't visual, and you could only notice it if you hit "not >now". If you choose to install the update, the view changes so you never >noticed the additional dialogs, then the device rebooted. What I did was to >do a check, if there is a system update in progress or awaiting confirmation >from the user, it just does nothing on the additional signals. > >I'm not very familiar with the update code, could it be emitting that >signal for each update, not just system updates? Of course, s-i-d only does system updates, so I'm not sure whether this other signal would get emitted from. Perhaps something click related? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to system-image in Ubuntu. https://bugs.launchpad.net/bugs/1365646 Title: Top Crasher: /usr/sbin/system-image-dbus:RuntimeError:_download Status in Ubuntu system image (server/client/updater): In Progress Status in “system-image” package in Ubuntu: Confirmed Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding system-image. This problem was most recently seen with version 2.3.2-0ubuntu2, the problem page at https://errors.ubuntu.com/problem/2ddecb9c81d025a9d1342a892298e1f9788500b6 contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-system-image/+bug/1365646/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp