Re: [Sugar-devel] SL Bug #2063

2010-10-13 Thread Mukul Gupta
Team, Wish to have your feedback on the design aspect of the ticket 2063 (Sugar should bring up an alert when an unhandled Python exception occurs) - please find the git diff attached below. This is an attempt to display an alert when an unhandled Python exception occurs in the journal.

Re: [Sugar-devel] SL Bug #2063

2010-10-13 Thread David Farning
On Wed, Oct 13, 2010 at 2:50 PM, Mukul Gupta mu...@seeta.in wrote: Team, Wish to have your feedback on the design aspect of the ticket 2063 (Sugar should bring up an alert when an unhandled Python exception occurs) - please find the git diff attached below. This is an attempt to display an

Re: [Sugar-devel] SL Bug #2063

2010-10-13 Thread Mukul Gupta
Please find my explanations on the code added as comments. diff --git a/journalactivity.py b/journalactivity.py index 44cc018..36a2e2e 100644 --- a/journalactivity.py +++ b/journalactivity.py @@ -358,8 +358,20 @@ class JournalActivity(Window): self.show_main_view()

Re: [Sugar-devel] SL Bug #2063

2010-10-13 Thread Mukul Gupta
David, Thank you. Appreciate your motivation and feedback. Regards, Mukul Gupta On Thu, Oct 14, 2010 at 1:41 AM, Mukul Gupta mu...@seeta.in wrote: Please find my explanations on the code added as comments. diff --git a/journalactivity.py b/journalactivity.py index 44cc018..36a2e2e 100644

Re: [Sugar-devel] SL Bug #2063

2010-10-13 Thread Tim McNamara
On 14 October 2010 08:50, Mukul Gupta mu...@seeta.in wrote: Team, Wish to have your feedback on the design aspect of the ticket 2063 (Sugar should bring up an alert when an unhandled Python exception occurs) - please find the git diff attached below. This is an attempt to display an alert

Re: [Sugar-devel] SL Bug #2063

2010-10-13 Thread forster
Hi Sorry if I do not fully understand this. The proposal is that an ErrorAlert will be created which must be dismissed by its OK button. Is there any possibility that a large number of errors can be created, each needing to be manually dismissed? We can improve the helpfulness of this

Re: [Sugar-devel] SL Bug #2063

2010-10-11 Thread Daniel Drake
On 10 October 2010 20:14, Mukul Gupta mu...@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

Re: [Sugar-devel] SL Bug #2063

2010-10-11 Thread Tomeu Vizoso
On Mon, Oct 11, 2010 at 09:57, Daniel Drake d...@laptop.org wrote: On 10 October 2010 20:14, Mukul Gupta mu...@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

Re: [Sugar-devel] SL Bug #2063

2010-10-11 Thread Manusheel Gupta
Tomeu and Daniel, On Mon, Oct 11, 2010 at 1:50 PM, Tomeu Vizoso to...@sugarlabs.org wrote: On Mon, Oct 11, 2010 at 09:57, Daniel Drake d...@laptop.org wrote: On 10 October 2010 20:14, Mukul Gupta mu...@seeta.in wrote: With reference to SL Bug # 2063 which deals with bringing some kind of

Re: [Sugar-devel] SL Bug #2063

2010-10-11 Thread Mukul Gupta
Team, I had a discussion with Aleksey this morning at IRC on the feedback recommended yesterday. Thank you Daniel and Tomeu. Appreciate your ideas and pointers. We brainstormed on how the implementation of this functionality could be done, and found that whenever any uncaught exception is