-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Expected behavior
Able to preview rst files when running "Esbonio: Preview Documentation"
Actual behavior
"Esbonio Preview" editor opens, but is empty.
Log output
[client] Unable to resolve command lsp-devtools: Error: Command failed: command -v lsp-devtools
[client] Using user configured Python: ~/github/esbonio/bin/python
[client] Server start command: ~/github/esbonio/bin/python -S -m esbonio
[client] LanguageClientOptions: {
"documentSelector": [
{
"scheme": "file",
"language": "restructuredtext"
},
{
"scheme": "file",
"language": "markdown"
}
],
"outputChannel": {
"name": "Esbonio"
},
"connectionOptions": {
"maxRestartCount": 0
},
"initializationOptions": {
"sphinx": {
"fallbackEnv": "/home/jake/.vscode/extensions/swyddfa.esbonio-0.96.4/bundled/env"
}
},
"middleware": {
"workspace": {},
"window": {}
}
}
[client] Starting Language Server
[Error - 16:39:59] Esbonio Language Server client: couldn't create connection to server.
Launching server using command ~/github/esbonio/bin/python failed. Error: spawn ~/github/esbonio/bin/python ENOENT
[client] Launching server using command ~/github/esbonio/bin/python failed. Error: spawn ~/github/esbonio/bin/python ENOENT(Optional) Settings from conf.py
N/AAdditional troubleshooting
Trying to start the server manually using the command from the logs results in
(esbonio) user@domain:~$ python -S -m esbonio
/home/jake/github/esbonio/bin/python: No module named esbonio.__main__; 'esbonio' is a package and cannot be directly executed
Esbonio 0.96.4, vscode 1.100.2 (Ubuntu).
Language server: esbonio v0.16.5, python 3.11.9