[packagekit] Handling back end crashes in the UI

Sebastian Heinlein devel at glatzor.de
Mon Feb 21 16:16:07 PST 2011


On Mon, Feb 21, 2011 at 12:26:04PM +0000, Richard Hughes wrote:
> On 21 February 2011 11:58, Sergio Schvezov <sergiusens at ieee.org> wrote:
> If you're asking for a signal, it would be a heuristic at best, and
> the best way would be to see if the org.freedesktop.org name
> disappeared from the system bus. But this would be a band aid, the
> user can't actually do anything useful knowing that something crashed
> for an unspecified reason, and so a GUI element would be a really bad
> idea.

I use the approach with a name owner watch in the aptdaemon client. It
clearly makes sense for me to set the transaction status to failed in
this case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20110222/5057bafa/attachment-0004.pgp>


More information about the PackageKit mailing list