-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notebook -- Get rid of the stupid "unable to immediately interrupt computation" alert that drives me nuts #5712
Comments
comment:1
The "2.0" thing to do is to inject a div somewhere, and just keep sending interrupts to the server until it works or the interrupt process gets cancelled. "Couldn't immediately interrupt. Trying again in (seconds 'till next retry) [cancel] [restart worksheet]" [x] <- is a button that says x. |
comment:2
Is this a high priority issue? I am not convinced and since there is no patch and no sign of anyone working on fixing this I am bumping this to 3.4.2. Cheers, Michael |
Attachment: trac_5712-interrupt-notification.patch.gz Uses Achtung (jQuery library) for notifications instead. |
Author: Tim Dumol |
comment:3
This should do the thing. |
Fixes #7702 and a typo in notebook_lib.js from the previous patch. Apply this patch alone. |
comment:4
Attachment: trac_5712-interrupt-notification.2.patch.gz |
comment:5
To note, the patch series for this is:
|
comment:7
|
comment:8
Replying to @qed777:
Yes. Sure, I'll do so.
Good catch.
The point of #7702 is not to interrupt uninterruptible calculations, but to recognize that a calculation cannot be interrupted and display an appropriate alert.
|
Reviewer: Mitesh Patel |
comment:9
Replying to @TimDumol:
In another ticket, that is.
Will do so. |
comment:10
This patch should do it. |
Attachment: trac_5712-interrupt-notification.3.patch.gz Adds the requested changes. |
Attachment: trac_5712-interrupt-notification.4.patch.gz See comment. Replaces previous. |
Periodically re-attempt to interrupt. Replaces previous. |
comment:11
Attachment: trac_5712-interrupt-notification.5.patch.gz Please ignore V4. V5
Please test (and post feedback)! |
Rebased against SageNB 0.7 at #8051. Replaces previous. |
comment:12
Attachment: trac_5712-interrupt-notification.6.patch.gz V6 is rebased against #8051's SageNB 0.7. |
Changed author from Tim Dumol to Tim Dumol, Mitesh Patel |
comment:14
Works for me against 0.7.5.3. Can't see anything wrong with the changes. Positive review for your changes. Should we mark this positive review, or ask for a third party? |
Changed reviewer from Mitesh Patel to Mitesh Patel, Tim Dumol |
comment:15
LGTM. |
Changed reviewer from Mitesh Patel, Tim Dumol to Mitesh Patel, Tim Dumol, Alex Leone |
Merged: sagenb-0.8 |
More precisely, one could keep the alert, but make it so that it can not appear if it already appeared in the last 5 seconds (say). It is so annoying!
CC: @sagetrac-acleone @williamstein @boothby @qed777
Component: notebook
Author: Tim Dumol, Mitesh Patel
Reviewer: Mitesh Patel, Tim Dumol, Alex Leone
Merged: sagenb-0.8
Issue created by migration from https://trac.sagemath.org/ticket/5712
The text was updated successfully, but these errors were encountered: