Properly detect macOS/Linux/Windows incompatibility for the language server
See original GitHub issueEnvironment data
- VS Code version: 1.27.2
- Extension version (available under the Extensions sidebar): 2018.8.0
- OS and version: MacOS EI Captain 10.11.6
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.0 from Brew
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): virtualenv
- Relevant/affected Python packages and their versions: N/A
Actual behavior
Error log shows in “output”
Expected behavior
N/A
Steps to reproduce:
N/A
Logs
Starting Microsoft Python language server.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
[Info - 11:50:16 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
[Info - 11:50:17 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
[Info - 11:50:18 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
[Info - 11:50:18 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/samuel/.vscode/extensions/ms-python.python-2018.8.0/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
[Error - 11:50:19 PM] Connection to server got closed. Server will not be restarted.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
How to reliably detect os/platform in Go - Stack Overflow
I'm on Windows, and my GetData func in data_windows.go is "redeclared" because of GetData in data_unix.go . Both have proper build contraints ( ......
Read more >Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >vlang/vls: V language server - GitHub
V Language Server (also known as "VLS") is a LSP v3.15-compatible language ... Pre-built binaries for Windows (x64), MacOS (x64/M1), and Linux (x64)...
Read more >User Manual - rust-analyzer
Linux (Remote, such as WSL): ~/.vscode-server/extensions. macOS: ~/.vscode/extensions. Windows: %USERPROFILE%\.vscode\ ...
Read more >How to Check Python Version in Linux, Mac, & Windows
Linux : Ctrl-Alt-T, Ctrl-Alt-F2; Windows: Win+R > type powershell > Enter/OK; MacOS: Finder > Applications > Utilities > Terminal. There are ...
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 FreeTop 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
Top GitHub Comments
@DonJayamanne sorry too late to answer. I tried Jedi and it worked. Later I upgraded memory & SSD so that I could upgrade to latest MacOS. It works well.