-
Notifications
You must be signed in to change notification settings - Fork 86
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
Can't read anaconda-mode server response #124
Comments
Python version? |
Python 2.7.6 |
Update: in a desperate measure I uninstalled and reinstalled import numpy as np
np. It gives me the next error now:
But jedi it's installed. As a note, I installed |
python 2.7.10 |
I'm still getting the error from the Updated message when I reinstalled. I'm trying to get it to work. I cannot figure out the problem. I'll keep you posted. Let me know if you have some ideas :/ |
You can see the whole error message here: http://paste.ubuntu.com/12530749/ (it's pretty long to be displayed here) |
It's look familiar to some problems in the |
I don't want to mess up the configuration of my computer installing stuff in /usr/bin. I will check with another computer later, to see if I have the same problem :/ |
Looks similar to #122 reported on python 2.7.10 |
Yeah, it looks similar. Thanks @gillescharron. |
@gillescharron or @proofit404 do you know how to go back in the melpa installation just to give it a try? because this error didn't happen before and I've been using anaconda-mode for some time already =) |
No idea how to rollback. Never do this before. Also you can do following experiment: go into |
This is the response:
I don't know what it means but it cannot be good I think..... |
|
Also your |
Same response:
|
Hmm. I'll add logging of point possition. It must show us more. |
hi, I have the same problem , python version 2.7.6 |
By the way, this is used as the python-mode layer in spacemacs. |
@xylonxu Do you use http proxy? |
@proofit404 oh no, thanks, that's the problem.... |
@xylonxu add 127.0.0.1 to the |
I'm seeing this too. I'm getting anaconda-mode via the Python layer in spacemacs. Environment:
|
The same problem here ("error in process sentinel: Can't read anaconda-mode server response")
Any ideas how to fix it? I don't use any proxy. |
anaconda-response:
anaconda-mode:
Thank you. btw. i didn't have this problem before reinstalling my Linux Mint, it only happens now after fresh installation. |
anaconda-response:
Note that the line termination in the anaconda-response buffer is Windows-style CRLF even though I am working on Ubuntu Linux 14.04. anaconda-mode:
Thanks for your help. |
Looks like a problem with older python http server. |
Can we fix it ourselves? Maybe changing python2 to python3 somewhere? |
(setq python-shell-interpreter "python3") This code snippet will change python used by emacs and anaconda-mode. You can try to do this if changing python version is an option for your project. Also you can try latest python2 version ( |
@proofit404 are you referring to the BaseHTTPServer that you import into service_factory here? What behavior from older versions of that package is causing this issue? I'm on Python 2.7.6 because it's the default that comes with Ubuntu 14.04 and my main project is python2 based. Thanks! |
@royseto yes I mean |
@proofit404 I added this to my dotspacemacs/config but the problem with anaconda persists. I noticed that as soon as i open python file the variable is changed to "ipython". |
I suppose spacemacs add a function to the |
Use re-search-forward instead of url-http-end-of-headers. See also: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13598
@proofit404 please ignore f9eeff5, and review the 8c8559b |
@wangchen What is the difference between those commits? 😄 |
@proofit404 awkward... |
@lufeihaidao what are the values of |
|
@lufeihaidao Looks fine. Can you provide |
On Wed, Nov 18, 2015 at 4:25 PM, Malyshev Artem notifications@github.com
|
@lufeihaidao this is content of |
I have this bug. Fixed by upgrade to emacs 24.5 (from 24.3, ubuntu's 14's default) |
@co-dh Thanks for information! I will need to fix this bug on older emacs versions since they officially supported. |
Fixed in the |
Hello again,
I'm having a problem since the last few days. Let's say I have a really simple code:
After some time processing for the autocompletion the next message is thrown:
And the I get a really long message from the buffer
*anaconda-response*
:Any idea of what could be causing the problem?
The text was updated successfully, but these errors were encountered: