anaconda-mode icon indicating copy to clipboard operation
anaconda-mode copied to clipboard

anaconda-mode-bootstrap-filter error: (wrong-type-argument numberp nil)

Open lemontreeran opened this issue 5 years ago • 2 comments

GNU Emacs 26.1 macOS 10.13.4 Python 2.7.15 pip 19.0.3 setuptools 41.0.0 anaconda-mode-0.1.13

I installed anaconda-mode 20190111.1524 in spacemacs.

The anaconda-mode was installed correctly, and everything works in local mode. But when I try to edit the remote python project. I get the following error from debug:

Debugger entered--Lisp error: (wrong-type-argument numberp nil)
  number-to-string(nil)
  anaconda-mode-bootstrap-filter(#<process anaconda-mode> "anaconda_mode port 36787\n" #f(compiled-function () #<bytecode 0x40b3ec75>))
  #f(compiled-function (process output) #<bytecode 0x40b3ec8d>)(#<process anaconda-mode> "anaconda_mode port 36787\n")

The auto-completion also doesn't work. Here is the log in the buffer *anaconda-response*

# status: (:error (error connection-failed deleted
 :host 10.XX.XX.XX :service 36787) :error (error connection-failed failed with code 60
 :host 10.XX.XX.XX :service 36787))
# point: 1

lemontreeran avatar Apr 10 '19 23:04 lemontreeran

what is output of (pythonic-aliased-path default-directory) when in a remote python file?

CeleritasCelery avatar Sep 17 '19 03:09 CeleritasCelery

anaconda-response

where see anaconda-response in spacemacs

zcjava avatar Jun 23 '20 15:06 zcjava