Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Bad path construction, and bad assumption about mspyls existing #27

Open
jovlinger opened this issue Mar 11, 2022 · 0 comments
Open

Bad path construction, and bad assumption about mspyls existing #27

jovlinger opened this issue Mar 11, 2022 · 0 comments

Comments

@jovlinger
Copy link

I recently installed nox, following the steps.

  1. I cloned repo 56f6bbc to a directory outside my .emacs config tree.
  2. I added that directory to load-path
  3. I added snippet from instructions in nox main page to file ~/.emacs.d/nox-ls-client.el.
  4. I load-filed that file.

I then immediately loaded a python file test_util.py.

ACTUAL: I got the following traceback in *Messages*

Error in post-command-hook ((closure ((--cl-maybe-connect-- closure #1 nil (progn (remove-hook 'post-command-hook --cl-maybe-connect-- nil) (let ((G1 buffer)) (if (buffer-live-p G1) (save-current-buffer (set-buffer G1) (if nox--managed-mode nil (apply #'nox--connect (nox--guess-contact)))))))) (buffer . #) nox--managed-mode company-tooltip-align-annotations company-backends t) nil (progn (remove-hook 'post-command-hook --cl-maybe-connect-- nil) (let ((G1 buffer)) (if (buffer-live-p G1) (save-current-buffer (set-buffer G1) (if nox--managed-mode nil (apply #'nox--connect (nox--guess-contact))))))))): (file-missing "Searching for program" "No such file or directory" "~/.emacs.d/nox/mspyls/Microsoft.Python.LanguageServer")

EXPECTED: No such error

ANALYSIS: note the path "~/.emacs.d/nox/mspyls/Microsoft.Python.LanguageServer". This is completely wrong. ".emacs.d" is the parent of MY .el file, not nox.el.

ANALYSIS: and in any case, mspyls is lacking everywhere on my system. It will never be found.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant