New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output issue with c-c c-c in OSX emacs 25 #1307
Comments
That looks pretty weird, what's the output of |
Thanks for following up Jorgen. Here is output of elpy-config in my Emacs: Elpy Configuration Virtualenv........: None You have not activated a virtual env. While Elpy supports this, it is The directory ~/.local/bin/ is not in your PATH. As there is no active The autopep8 package is not available. Commands using this will not [run] /usr/local/bin/python3 -m pip install --user autopep8 The yapf package is not available. Commands using this will not work. [run] /usr/local/bin/python3 -m pip install --user yapf Options Square brackets indicate buttons; type RET or click mouse-1 on a [+]-- [Group] Elpy |
I have no idea why that would happen. It seems that Emacs' python.el does not recognize the prompt or output of the subprocess correctly. Does the same happen without Elpy and using |
I've had the same issue and came across a discussion about it in the emacs bug system. A local fix is proposed at On my system: I had to do It seems to be working ok now. |
I would like to jump in here. @mbruggs solution above works except that this stuff is not removed from the command history of the repl, ie entering |
Do you also see this error when |
Yes, the problem seems to be in Emacs, not in elpy. |
I am closing this, as it seems to be an upstream issue. |
I am having the same issue.
when I execute:
My
|
Have you tried deactivating shell echoing ( |
Note:
If there is only one single line of source code, say:
print("Hello world.")
the output is clean:
As long as we have more than one line source code, we'll get something like:
Even though it yields the output correctly at the end of the buffer, but the output is really annoying.
My env:
Python: 3.6.4
Emacs: 25.3.1
OSX: Darwin Kernel Version 17.4.0
The text was updated successfully, but these errors were encountered: