https://bugs.kde.org/show_bug.cgi?id=408176

--- Comment #5 from vialav <d...@bk.ru> ---
Hi, Antonio, the below is the step-by-step procedure of `sage-ipython -i
--simple-prompt`. Please note, that `sage -python` or `sage --notebook=jupyter`
(unconveniently opens the browser) otherwise both work as expected/documented
(so, it is why I was asking about alternative avenues for initialisation):


$ cat /usr/share/cantor/sagebackend/cantor-execsage
#!/usr/bin/env bash

export SAGE_ROOT="$($1 --root)"

if [[ -f $SAGE_ROOT"/bin/sage-env" ]]; then
    . "$SAGE_ROOT/bin/sage-env" >&2
elif [[ -f $SAGE_ROOT"/local/bin/sage-env" ]]; then
    . "$SAGE_ROOT/local/bin/sage-env" >&2
elif [[ -f $SAGE_ROOT"/src/bin/sage-env" ]]; then
    . "$SAGE_ROOT/src/bin/sage-env" >&2
else
    exit 1 # We have a problem
fi

exec sage-ipython -i simple-prompt


$ sage --root
/usr/share/sagemath

# sourcing the evironment
$ . /usr/share/sagemath/bin/sage-env

$ sage-ipython -i --simple-prompt
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.6, Release Date: 2019-01-15                     │
│ Using Python 2.7.15. Type "help()" for help.                       │
└────────────────────────────────────────────────────────────────────┘

**********************************************************************

Oops, Sage crashed. We do our best to make it stable, but...

A crash report was automatically generated with the following information:
  - A verbatim copy of the crash traceback.
  - A copy of your input history during this session.
  - Data on your current Sage configuration.

It was left in the file named:
        '/home/ubuntu/.ipython/Sage_crash_report.txt'
If you can email this file to the developers, the information in it will help
them in understanding and correcting the problem.

You can mail it to: sage-support at sage-supp...@googlegroups.com
with the subject 'Sage Crash Report'.

If you want to do it now, the following command will work (under Unix):
mail -s 'Sage Crash Report' sage-supp...@googlegroups.com <
/home/ubuntu/.ipython/Sage_crash_report.txt

In your email, please also include information about:
- The operating system under which the crash happened: Linux, macOS, Windows,
  other, and which exact version (for example: Ubuntu 16.04.3, macOS 10.13.2,
  Windows 10 Pro), and whether it is 32-bit or 64-bit;
- How Sage was installed: using pip or conda, from GitHub, as part of
  a Docker container, or other, providing more detail if possible;
- How to reproduce the crash: what exact sequence of instructions can one
  input to get the same crash? Ideally, find a minimal yet complete sequence
  of instructions that yields the crash.

To ensure accurate tracking of this issue, please file a report about it at:
http://trac.sagemath.org

Hit <Enter> to quit (your terminal may close):
Exiting Sage (CPU time 0m0.08s, Wall time 0m4.39s).

P.S. ~/.ipython/Sage_crash_report.txt attached

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

Reply via email to