[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:       Antonio Rojas <bugzilla_noreply () kde ! org>
Date:       2017-05-23 7:00:23
Message-ID: bug-375467-17878-RWyjTInKfv () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Antonio Rojas <arojas@archlinux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arojas@archlinux.org

--- Comment #5 from Antonio Rojas <arojas@archlinux.org> ---
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

-- 
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