pythonic-emacs / anaconda-mode

Code navigation, documentation lookup and completion for Python.
GNU General Public License v3.0
707 stars 87 forks source link

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

Open lemontreeran opened 5 years ago

lemontreeran commented 5 years ago

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
CeleritasCelery commented 4 years ago

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

zcjava commented 4 years ago

anaconda-response

where see anaconda-response in spacemacs