[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [cantor] [Bug 375467] Cantor hangs at "Initializing Session" when choosing Sage backend (Sage versio
From: Kishore Gopalakrishnan <bugzilla_noreply () kde ! org>
Date: 2017-11-23 14:35:09
Message-ID: bug-375467-17878-W8XVN4DP78 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=375467
--- Comment #6 from Kishore Gopalakrishnan <kishore96@gmail.com> ---
(In reply to Antonio Rojas from comment #5)
> This is caused by the ipython 5.0 upgrade. There are (at least) two issues
> here:
>
> - Ipython 5.0 uses prompt_toolkit instead of readline. By default it has
> prompt and syntax highlighting enabled, which breaks the Cantor parser (it
> can't interpret the ANSI codes correctly). This could be fixed on the Sage
> side by forcing it to run ipython with the --simple-prompt flag
>
> - Even with the --simple-prompt flag, ipython 5.0 doesn't accept multiline
> input anymore. This breaks passing the initialization commands to Sage. This
> is being tracked upstream at https://github.com/ipython/ipython/issues/9816
The multiline input issue seems to be fixed
(https://github.com/ipython/ipython/pull/10606). What changes would I need to
make to my installation of sage and/or cantor to get it to run ipython with the
--simple-prompt option?
With Cantor 17.08.3 and sage 8.0 on Arch linux, if I run 'cantor -b sage' from
a terminal, there is no terminal output, and Cantor opens, but keeps on showing
the 'initialising Session' dialog box.
--
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic