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
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).
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
For 20.08. https://invent.kde.org/education/cantor/commit/0f03eb01b34fc813e00694fa313415ca727d97ef