https://bugs.kde.org/show_bug.cgi?id=408176
John Scott <jsc...@posteo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsc...@posteo.net --- Comment #19 from John Scott <jsc...@posteo.net> --- It's tangentially related to the issue at hand, so I'm posting this here, but Cantor gives trouble with the current (9.2) version of SageMath in Debian Unstable. This is partly due to what I believe is a Sage bug, SAGE_ROOT being an empty string, but I think there's still room to simplify cantor-execsage immensely and this is what we're tentatively going to be shipping for Debian Bullseye. Please see the commit here: https://salsa.debian.org/qt-kde-team/kde/cantor/-/commit/7b7f610 and perhaps the Debian bug here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972346#19 I basically turn cantor-execsage into the one-liner { echo "sage-ipython -i --simple-prompt"; cat; } | $1 --sh which pipes the command into a Sage shell. Instead of mangling SAGE_ROOT, opening the Sage shell with 'sage --sh' seems more elegant, but may not be a supported command-line argument with older versions of Sage. Please let me know if you plan to adopt this upstream. It looks like it will be shipping in Debian Bullseye, but this trick of opening a Sage shell should work with non-Debian-packaged Sage as well. -- You are receiving this mail because: You are watching all bug changes.