GNU bug report logs - #32042
26.1; python-shell-send-buffer with ipython 6.x shows "plumbing" code along with python error message

Previous Next

Package: emacs;

Reported by: Jaan Altosaar <altosaar <at> princeton.edu>

Date: Mon, 2 Jul 2018 20:25:02 UTC

Severity: normal

Tags: confirmed

Found in versions 24.5, 25.1, 25.2, 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 32042 <at> debbugs.gnu.org (full text, mbox):

From: Jaan Altosaar <altosaar <at> princeton.edu>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: "32042 <at> debbugs.gnu.org" <32042 <at> debbugs.gnu.org>
Subject: Re: bug#32042: 26.1; python.el with ipython prompt leads to
 superfluous interactive shell output
Date: Mon, 9 Jul 2018 08:59:13 -0400
[Message part 1 (text/plain, inline)]
My bad! Reply alling to keep 32042 <at> debbugs.gnu.org in cc. Hope this works—

There was no change; I still see the broken output in the original post...

```File "<ipython-input-1-57ce0cd600e5>", line 1, in <module>
    import codecs, os;__pyfile =
codecs.open('''/var/folders/qr/s_h2rhqj6kdg8qrj0zw2scnw0000gn/T/pyLbk6Vh''',
encoding='''utf-8''')
```

I tried:

Disabling system integrity protection (booting into OS X High Sierra
recovery mode and running `csrutil disable`), then

```
cd
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
sudo mv readline.so readline.so.bak
```

and the same for the anaconda readline:

```
cd /usr/local/anaconda3/lib/python3.6/lib-dynload
mv readline.cpython-36m-darwin.so readline.cpython-36m-darwin.so.bak
```

And installing gnureadline.

Still getting the same broken output.

Any other ideas?

On Monday, July 2, 2018, Noam Postavsky <npostavs <at> gmail.com> wrote:

> Jaan Altosaar <altosaar <at> princeton.edu> writes:
>
> > Thanks!
> >
> > I installed gnureadline. I could not rename the readline.so file as the
> > file moved to the /System/Library path in Mac High Sierra.
> >
> > FWIW I am not using the system python, but Anaconda 3 python (ipython
> > 6.4.0).
> >
> > Python 3.6.5 |Anaconda custom (64-bit)| (default, Apr 26 2018, 08:42:37).
> >
> > Is there anything else I should try?
>
> You mean there was no change?  Perhaps instead of the /System/Library
> path you need to find where the libedit readline is installed for
> Anaconda.  Although I'm not sure where that would be.
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.