Provide better error message if Python 3.6 or older is used to start the language server
See original GitHub issueDescribe the problem I am not able to get it to work at all.
To Reproduce
- Connect vscode to a remote vscode.
- Install plugin remote
- config settings like bellow
- open .robot file and the keywords are not recognized
- Plugin Output log 3 files: https://gist.github.com/axi92/72b0b4d9df40da18c5012a9b75652447
Screenshots

Versions:
- OS: Local Ubuntu 20.04 Remote Ubuntu 18.04
- Robot Framework Version: 4.1.3
- Robot Framework Language Server Version: 0.40.1
- Client Version: VSCode 1.64.2
Logs
settings.json
{
"[robot]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/libspecs/**": true,
"**/Log/**": true
},
"terminal.integrated.fontFamily": "monospace",
"robot.language-server.python": "/usr/bin/python3.8",
"robot.python.executable": "/usr/bin/python2.7",
"robot.language-server.args": ["-vv", "--log-file=/home/user/repo/system-life-cycle/looog/robotframework_ls.log"],
"robot.completions.keywords.format": "Title Case",
"robot.editor.4spacesTab": true,
"robot.codeFormatter": "builtinTidy",
"robot.libraries.libdoc.preGenerate": [
"BuiltIn",
"Collections",
"DateTime",
"Dialogs",
"Easter",
"OperatingSystem",
"Process",
"Reserved",
"Screenshot",
"String",
"Telnet",
"XML",
"AppiumLibrary",
"DatabaseLibrary",
"Selenium2Library",
"SSHLibrary",
"JSONLibrary",
"MQTTLibrary",
"WebSocketClient"
]
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
vscode python jedi client: couldn't create connection to server
I met this issue on Ubuntu 18.04 LTS with python interpreter python3.6.9 + VS code python extension 2022.14.
Read more >VS Code Debugger not working for python - Microsoft Q&A
It seems when I do Run->"start Debugging' no command comes to terminal. Any VS Code log file that I can look at to...
Read more >regular python needed for RPM package to install
I'm a DoD contractor trying to install s/w which is a .rpm file. When trying to run the program I get the following...
Read more >What's New In Python 3.6 — Python 3.11.1 documentation
Starting with Python 3.6 the asyncio module is no longer provisional and its API is ... as well as provide better diagnostics for...
Read more >codecs — Codec registry and base classes — Python 3.11.1 ...
Source code: Lib/codecs.py This module defines base classes for standard Python codecs (encoders and decoders) and provides access to the internal Python ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You can leave it open (as I repurposed it to provide a better error in this case in the future…).
As a note, the docs aren’t entirely correct. You can use the following variables:
${workspace}, ${workspaceRoot}, ${workspaceFolder}and${env.ENV_NAME_VARIABLE}or${env:ENV_NAME_VARIABLE}for the value of robot variables (this was added but docs still don’t reflect that).I’ll update the docs to address shortly…