[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=429078

Antonio Rojas  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/educ
   ||ation/cantor/commit/7abf57f
   ||88ba69883237d84c82db3f195eb
   ||961693

--- Comment #10 from Antonio Rojas  ---
Git commit 7abf57f88ba69883237d84c82db3f195eb961693 by Antonio Rojas.
Committed on 14/11/2020 at 15:48.
Pushed by arojas into branch 'release/20.12'.

Fix unusable Sage session after a syntax error

When we are thrown to the additional input prompt, simply report and error and
send an interrupt signal to exit.

Do not try to guess what the problem is and fix it: this might be caused by an
unmatched opening bracket or closing bracket, in which case we would be stuck
in the additional input prompt forever

M  +2-2src/backends/sage/sageexpression.cpp

https://invent.kde.org/education/cantor/commit/7abf57f88ba69883237d84c82db3f195eb961693

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #9 from Nikita Sirgienko  ---
Ok. I also reproduce it with Sage 9.2 on Ubuntu 20.10

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #8 from Antonio Rojas  ---
(In reply to Nikita Sirgienko from comment #7)
> You use sage 9.2?

Yes, but I could also reproduce it with the distro Sage 9.1 package built
against ipython 7

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #7 from Nikita Sirgienko  ---
You use sage 9.2?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #6 from Antonio Rojas  ---
sage 9.1 used a very old ipython version, which probably behaves differently.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #4 from Nikita Sirgienko  ---
Created attachment 11
  --> https://bugs.kde.org/attachment.cgi?id=11=edit
Second execution

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #5 from Nikita Sirgienko  ---
Interesting, because I can't reproduce it with 20.11.80 on Ubuntu 20.04.
(I have a problem with creating desktop recording, so I have just make a few
screenshots)

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #2 from Nikita Sirgienko  ---
Created attachment 133329
  --> https://bugs.kde.org/attachment.cgi?id=133329=edit
Cantor info

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #3 from Nikita Sirgienko  ---
Created attachment 10
  --> https://bugs.kde.org/attachment.cgi?id=10=edit
First execution

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=429078

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #1 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/education/cantor/-/merge_requests/22

-- 
You are receiving this mail because:
You are watching all bug changes.