Detect when language server will not run on a platform (e.g. macOS El Capitan)
See original GitHub issueEnvironment data
- VS Code version: 1.25.1
- Extension version (available under the Extensions sidebar): 2018.7.1
- OS and version: MacOS El Capitan (10.11.6)
- Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.15
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): venv
- Relevant/affected Python packages and their versions:
Actual behavior
Extension is crashing:
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/nozdi/.vscode/extensions/ms-python.python-2018.7.1/languageServer/libcoreclr.dylib (which was built for Mac OS X 10.12)
Expected in: /usr/lib/libSystem.B.dylib
[Error - 3:50:50 PM] Connection to server got closed. Server will not be restarted.
Expected behavior
Support for OS X < 10.12
Steps to reproduce:
Start vscode using LanguageServer
on El Capitan (10.11.X)
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Open a Mac app from an unidentified developer - Apple Support
To change which apps can open on your Mac, choose Apple menu > System Settings, click Privacy & Security in the sidebar, then...
Read more >mac os 10.11 el capitan apache loacalhost/~username 404 ...
I try to access to my localhost/~gauthier but I have a 404 not found. When I go to my http://localhost it's works !...
Read more >Cannot connect to my NAS using Finder in El Capitan (Mac ...
This article addresses an El Capitan (Mac OS 10.11) Finder issue when trying to connect to a Network Attached Storage device.
Read more >Language Server Extension Guide - Visual Studio Code
In the example, the server is also implemented in TypeScript and executed using Node.js. Since VS Code already ships with a Node.js runtime,...
Read more >.NET Runtime Identifier (RID) catalog | Microsoft Learn
If NuGet can't find the specific runtime, it can restore packages that specify osx.10.11-x64 runtimes, for example.
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
To my knowledge no one (in our team and perhaps others too) uses that. We all (almost everyone) look at the
Assignees
section on the top right of the GitHub issue.Please ensure you assign issues to your self if you are working on such issues. Helps others on the team.
Not LS issue. Need to add stricter OS detection to the extension code so it does not attempt to download and run the LS.