#5712: notebook -- Get rid of the stupid "unable to immediately interrupt
computation" alert that drives me nuts
----------------------------+-----------------------------------------------
   Reporter:  was           |       Owner:  boothby     
       Type:  defect        |      Status:  needs_review
   Priority:  major         |   Milestone:  sage-4.3.1  
  Component:  notebook      |    Keywords:              
     Author:  Tim Dumol     |    Upstream:  N/A         
   Reviewer:  Mitesh Patel  |      Merged:              
Work_issues:                |  
----------------------------+-----------------------------------------------
Changes (by timdumol):

  * reviewer:  => Mitesh Patel


Comment:

 Replying to [comment:7 mpatel]:
 >  * I get a doctest failure from `Worksheet.interrupt`.
 >
 >  * Just to check: Is `_ui-achtung.sass` just `ui.achtung.css` run
 through `css2sass`?  I suggest describing the conversion method briefly in
 `sass/readme.txt`.

 Yes. Sure, I'll do so.

 >
 >  * Interrupting an idle worksheet also brings up the alert.

 Good catch.

 >
 >  * V2 does not fix #7702's example (`interrupt test.sws`).  A new alert
 appears every time I try to interrupt the calculation, but the calculation
 keeps going (e.g., according to `top`).  (I stopped after about 10
 attempts.)  Restarting the worksheet does stop the calculation.  But this
 need not hold up this ticket, as I can interrupt other examples, such as
 `import time; time.sleep(10)` and `factor(factorial(100000000))`.
 >

 The point of #7702 is not to interrupt uninterruptible calculations, but
 to recognize that a calculation cannot be interrupted and display an
 appropriate alert.

 >  * When we do show the alert (with #7702's example or a different one),
 maybe we should add, e.g., "Please try again in a few seconds.  If that
 doesn't work, please try restarting the worksheet."?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5712#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB
-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to