https://bugs.kde.org/show_bug.cgi?id=408176
--- Comment #13 from vialav <d...@bk.ru> --- UPDATE: The cause of errors has been identified and half-successfully dealt with: https://github.com/ipython/ipython/issues/11485# IPython crashes at launch (closed, no action) https://github.com/powerline/powerline/issues/1953# powerline-status crashes with ipython>=7.0.0 https://github.com/powerline/powerline/pull/1997# Fix #1953 (pending merge) ** First, I'm using `powerline`, which was (and still is) the cause of the reported issue **, so here comes the starting point of yet to be updated RTD: https://powerline.readthedocs.io/en/master/usage/other.html#ipython-prompt #!~/.ipython/profile_default/ipython_config.py - For IPython>=5.0 (and << 7.0) follow the RTD - For IPython3>=7.0 after merging locally above referenced the pull `since_7` has to be used. OBSERVED RESULT: as in #1953 (`ipython` with `--single-prompt` crashes, `ipython3` does not) Resulting `ipython_config.py`, pass for `ipython` (python[2] under Sage): ``` python import sys if sys.version_info >= (3, 0): from powerline.bindings.ipython.since_7 import PowerlinePrompts c = get_config() c.TerminalInteractiveShell.simple_prompt = False c.TerminalInteractiveShell.prompts_class = PowerlinePrompts else: pass ``` ** Cantor is able to log in into Sage (python2) with `exec sage -i --simple-prompt` ! **: ShortcutOverride 16777220 QFlags<Qt::KeyboardModifiers>(ShiftModifier) login found version: ("8.6", "8", "6") wsStatusChange 1 evaluating: "1+2" wsStatusChange 0 out: "┌────────────────────────────────────────────────────────────────────┐\r\n│ SageMath version 8.6, Release Date: 2019-01-15 │\r\n│ Using Python 2.7.15. Type \"help()\" for help. │\r\n└────────────────────────────────────────────────────────────────────┘\r\n" found version: ("8.6", "8", "6") using the current set of commands out: "┌────────────────────────────────────────────────────────────────────┐\r\n│ SageMath version 8.6, Release Date: 2019-01-15 │\r\n│ Using Python 2.7.15. Type \"help()\" for help. │\r\n└────────────────────────────────────────────────────────────────────┘\r\n\u001B]0;IPython: home/ubuntu\u0007" found version: ("8.6", "8", "6") using the current set of commands out: "┌────────────────────────────────────────────────────────────────────┐\r\n│ SageMath version 8.6, Release Date: 2019-01-15 │\r\n│ Using Python 2.7.15. Type \"help()\" for help. │\r\n└────────────────────────────────────────────────────────────────────┘\r\n\u001B]0;IPython: home/ubuntu\u0007sage: " found version: ("8.6", "8", "6") using the current set of commands out: "┌────────────────────────────────────────────────────────────────────┐\r\n│ SageMath version 8.6, Release Date: 2019-01-15 │\r\n│ Using Python 2.7.15. Type \"help()\" for help. │\r\n└────────────────────────────────────────────────────────────────────┘\r\n\u001B]0;IPython: home/ubuntu\u0007sage: sage: sage: sage: sage: sage: sage: " found version: ("8.6", "8", "6") using the current set of commands out: "┌────────────────────────────────────────────────────────────────────┐\r\n│ SageMath version 8.6, Release Date: 2019-01-15 │\r\n│ Using Python 2.7.15. Type \"help()\" for help. │\r\n└────────────────────────────────────────────────────────────────────┘\r\n\u001B]0;IPython: home/ubuntu\u0007sage: sage: sage: sage: sage: sage: sage: sage: sage: " found version: ("8.6", "8", "6") using the current set of commands out: "┌────────────────────────────────────────────────────────────────────┐\r\n│ SageMath version 8.6, Release Date: 2019-01-15 │\r\n│ Using Python 2.7.15. Type \"help()\" for help. │\r\n└────────────────────────────────────────────────────────────────────┘\r\n\u001B]0;IPython: home/ubuntu\u0007sage: sage: sage: sage: sage: sage: sage: sage: sage: ____TMP_DIR____ /home/ubuntu/.sage/temp/work/6787\r\nsage: sage: sage: ....: ....: ....: ....: ....: " tmp path: "/home/ubuntu/.sage/temp/work/6787" found version: ("8.6", "8", "6") using the current set of commands out: "┌────────────────────────────────────────────────────────────────────┐\r\n│ SageMath version 8.6, Release Date: 2019-01-15 │\r\n│ Using Python 2.7.15. Type \"help()\" for help. │\r\n└────────────────────────────────────────────────────────────────────┘\r\n\u001B]0;IPython: home/ubuntu\u0007sage: sage: sage: sage: sage: sage: sage: sage: sage: ____TMP_DIR____ /home/ubuntu/.sage/temp/work/6787\r\nsage: sage: sage: ....: ....: ....: ....: ....: sage: ____END_OF_INIT____\r\nsage: " tmp path: "/home/ubuntu/.sage/temp/work/6787" found version: ("8.6", "8", "6") using the current set of commands initialized writing "1+2\n\n" to the process out: "3\r\n" out: "sage: " got prompt 0 -1 out: "sage: " got prompt 0 -1 evaluation finished "3" setting result to a type 1 result update Entry ARTIFACTS: `python /usr/share/sagemath/bin/sage-cleaner` remains a ghost process for a while during which 10 cleanups happen, and then self-terminates) -- You are receiving this mail because: You are watching all bug changes.