Bug 428961 - Cantor don't work with Sage 9.2
Summary: Cantor don't work with Sage 9.2
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: sage-backend (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Nikita Sirgienko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-11 10:49 UTC by Nikita Sirgienko
Modified: 2020-11-11 10:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 20.12
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Sirgienko 2020-11-11 10:49:06 UTC
Originally reported in this bugreport: https://bugs.kde.org/show_bug.cgi?id=428611
SUMMARY
Cantor don't work with Sage 9.2: computation don't run and each run of entry causes sage crash and Cantor prints, what the sage process has finished unexpectedly.

STEPS TO REPRODUCE
1. Install (or build) Cantor with Sage backend
2. Install Sage 9.2 and configure Cantor to use it
3. Start sage session and try to execute "2+2"

OBSERVED RESULT
Cantor prints, that sage process finished unexpectedly and the entry have been interrupted.

EXPECTED RESULT
Got result of the entry with "4" and entry marked as finished successfully

ADDITIONAL INFORMATION
Comment 1 Nikita Sirgienko 2020-11-11 10:50:35 UTC
The problem have been found: Sage since version 9.2 stop automatically sourcing sage-env-config, which needed for sage-env, which used by Cantor for running sage (in cantor-execsage script).
Comment 2 Nikita Sirgienko 2020-11-11 10:52:18 UTC
Git commit 0c46c2b6b231373f0dce9a46dd6acd90fc01ad33 by Nikita Sirgienko.
Committed on 11/11/2020 at 10:51.
Pushed by sirgienko into branch 'release/20.12'.

Make Cantor working with Sage 9.2
FIXED-IN: 20.12

M  +10   -0    src/backends/sage/cantor-execsage

https://invent.kde.org/education/cantor/commit/0c46c2b6b231373f0dce9a46dd6acd90fc01ad33