[Sugar-devel] SL Bug #2063

Tomeu Vizoso tomeu at sugarlabs.org
Mon Oct 11 04:20:50 EDT 2010


On Mon, Oct 11, 2010 at 09:57, Daniel Drake <dsd at laptop.org> wrote:
> On 10 October 2010 20:14, Mukul Gupta <mukul at seeta.in> wrote:
>> With reference to SL Bug # 2063 which deals with bringing some kind of
>> notification alert whenever an unhandled python exception occurs, I had a
>> few doubts. There are two approaches that I can think of.
>
> Neither of these sounds sensible.
>
> What's wrong with the obvious solution of popping up a dialog when the
> exception occurs?
>
> Technically the exceptions are not unhandled, if they were unhandled
> then sugar would crash. I guess we're referring to exceptions that are
> not handled gracefully and instead fall back to a catch-all handler
> which does not have the knowledge to act on them.

This is what abrt does with python (and other) processes, maybe we
could reuse it or at least steal some of the ideas:

https://fedorahosted.org/abrt/

Regards,

Tomeu


> Daniel
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


More information about the Sugar-devel mailing list