Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Tools server keeps crashing #2273

Closed
alysivji opened this issue Jul 29, 2018 · 1 comment
Closed

Python Tools server keeps crashing #2273

alysivji opened this issue Jul 29, 2018 · 1 comment

Comments

@alysivji
Copy link

Environment data

  • VS Code version: 1.25.1
  • Extension version (available under the Extensions sidebar): 2018.7.1
  • OS and version: Mac OS X 10.11.6 (El Capitan)

Actual behavior

Python language server is crashing.

Steps to reproduce:

  1. Installed the new vscode plugin

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

Starting Microsoft Python language server.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

[Info  - 12:04:07 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

[Info  - 12:04:07 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

[Info  - 12:04:07 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

[Info  - 12:04:07 PM] Connection to server got closed. Server will restart.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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

dyld: Symbol not found: _clock_gettime
  Referenced from: /Users/alysivji/.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 - 12:04:08 PM] Connection to server got closed. Server will not be restarted.

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

log.ts:159  INFO no standard startup: not a new window
extensionService.ts:894 Overwriting extension /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/ms-vscode.node-debug2 with /Users/alysivji/.vscode/extensions/ms-vscode.node-debug2-1.26.6.
w._logMessageInConsole @ extensionService.ts:894
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.js.jsx.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json.
New grammar file: file:///Users/alysivji/.vscode/extensions/dzannotti.vscode-babel-coloring-0.0.4/syntaxes/Babel%20Language.json
e.register @ TMSyntax.ts:47
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.js.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/javascript/syntaxes/JavaScript.tmLanguage.json.
New grammar file: file:///Users/alysivji/.vscode/extensions/joshpeng.sublime-babel-vscode-0.2.10/syntaxes/sublime-babel.json
e.register @ TMSyntax.ts:47
TMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.python.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/python/syntaxes/MagicPython.tmLanguage.json.
New grammar file: file:///Users/alysivji/.vscode/extensions/magicstack.magicpython-1.0.12/grammars/MagicPython.tmLanguage
e.register @ TMSyntax.ts:47
notificationsAlerts.ts:42 The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted.
e.onDidNotificationChange @ notificationsAlerts.ts:42
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
console.ts:136 [Extension Host] Failed to get interpreter information for '/Users/alysivji/.virtualenvs/sivtools_dev/bin/python' Error: spawn /Users/alysivji/.virtualenvs/sivtools_dev/bin/python ENOENT
	at exports._errnoException (util.js:1050:11)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9)
t.log @ console.ts:136
@DonJayamanne
Copy link

Closing as a duplicate of #2245
Minimum OS requirements not meet.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants