Skip to content

Detect when language server will not run on a platform (e.g. macOS El Capitan) #2245

@Nozdi

Description

@Nozdi

Environment 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)

Metadata

Metadata

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions