Open allentiak opened 10 months ago
@allentiak I think you are misunderstanding, that nrepl server is one that clojure-lsp starts only for development of clojure-lsp itself purposes, the "prod" binary is intended to not find nrepl, also clojure-lsp uses static analysis so all features do not require or relat to a repl.
I accidentally closed the issue, but could you explain a little bit better what is the internal error? if it was just that nrepl mention, I think we can close this issue
@ericdallo
I don't really know what the internal error is. All I know is that as soon as I moved the project with a path that didn't contain any of the aforementioned non-ASCII characters, the error disapeared.
@allentiak But what error? I don't see any error in the provided logs
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
I tried to open a Clojure project from the following path:
/home/allentiak/Documents/Conferencias y Cursos (míos)/ddd-design.recipes-automatic.contract.enforcing/2024.03.15--bob.konferenz/domain-modelling--clojure
, and nrepl could not be loaded.I got an LSP internal error.
Moving the project root to a path without the special characters should fix the problem.
I tried it with
/home/allentiak/tmp/really/long/path/with/no/spaces/nor/special/characters/just/adding/more/words/and/levels/to/the/path/for/the/sake/of/it/and/to/make/sure/it/is/not/the/special/chars/in/the/path/domain-modelling--clojure
and it worked just fine.Removing the
(
, the)
, and theí
from the original path also works. (No need to remove the spaces.)Steps to reproduce
Create a Clojure project with the path above. LSP should not be able to find nrepl.
Move the project to a path without any of the special characters mentioned above, let's say ~/devel. The project should work normally.
Expected behavior
The project should work normally.
Which Language Server did you use?
lsp-clojure
OS
Linux
Error callstack
Anything else?
No response