Open nanounanue opened 4 years ago
The variable anaconda-mode-server-command
contains the script that is run. It takes 3 CLI arguments. These would be ~/emacs.d/anaconda-mode/0.1.13 127.0.0.1 ""
if you are using the defaults on local files. See if you can run the script to start the server on the command line (you will need to copy it to a file).
How are those arguments created?
I forgot to mention but I am using pyenv
and the installation of anaconda-mode
is handled by straight.el
@nanounanue did you find a solution for this? I am experiencing very similar behavior. Weirdly, anaconda-mode
seems to be working initially when I start up emacs, but stops working soon after with a similar message in the *anaconda-response*
buffer:
# status: (:error (error connection-failed deleted
:host 127.0.0.1 :service 44197) :error (error connection-failed failed with code 110
:host 127.0.0.1 :service 44197))
# point: 1
I am also working on local files with a virtualenv
activated through pyvenv
, on emacs 27.1
and python 3.7.5
.
Unfortunately this problem is persisting for me, and I haven't been able to figure out what is causing it. Are there any ideas on how to debug this? Also, could someone point me to the best way to restart the anaconda server without having to restart emacs altogether? That way, I could at least make it work again once the error message pops up. Thank you!
I get this error when I try to use anaconda-mode on a remote, tramp file. Is some setup required on the remote side?
# status: (:error (error connection-failed deleted
:host 127.0.0.1 :service 38525) :error (error connection-failed failed with code 61
:host 127.0.0.1 :service 38525))
# point: 1
BTW, I am happy just to get dabbrev
completions when anaconda fails, but I lose everything.
NOTE: I know that another issue (#360 ) has the same title, but apparently is a different error.
I am running
GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.12) of 2020-04-11
, andanaconda-mode
frommelpa
anaconda-mode
is configured as follows:The
*anaconda-mode*
buffer displays:and the anaconda-response shows
I am editing local files, inside a
virtualenv
What I am doing wrong?