{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/python-language-server/issues/474","repository_url":"https://api.github.com/repos/Microsoft/python-language-server","labels_url":"https://api.github.com/repos/Microsoft/python-language-server/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/python-language-server/issues/474/comments","events_url":"https://api.github.com/repos/Microsoft/python-language-server/issues/474/events","html_url":"https://github.com/Microsoft/python-language-server/issues/474","id":389468474,"node_id":"MDU6SXNzdWUzODk0Njg0NzQ=","number":474,"title":"Python extension does not load/Python Tools server crashes","user":{"login":"brettcannon","id":54418,"node_id":"MDQ6VXNlcjU0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/54418?v=4","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-10T20:15:35Z","updated_at":"2018-12-11T11:17:17Z","closed_at":null,"author_association":"MEMBER","body":"@isurugiu commented on [Sat Dec 08 2018](https://github.com/Microsoft/vscode-python/issues/3601)\n\n<!-- \r\nDo you have a question instead of a bug report or enhancement request? Please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code+python. \r\n\r\nUnable to install a linter or formatter? 'No installers available'? \r\nWindows - https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows\r\nLinux - https://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-linux-install-pipclient/ , https://www.tecmint.com/install-pip-in-linux/\r\n\r\nPython configuration issues? Please check https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites\r\n\r\nOtherwise **please** fill in the requested details below. \"XXX\" markers should not be present in the final bug report.\r\n\r\nIf you think a GIF of what is happening would be helpful, consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ .\r\n-->\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.29.1\r\n- Extension version (available under the Extensions sidebar): 2018.11.0\r\n- OS and version: Windows 10 x64\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.7.1\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A\r\n- Relevant/affected Python packages and their versions: XXX\r\n\r\n## Expected behavior\r\n\r\nPython extension/language server starts successfully\r\n\r\n## Actual behavior\r\nVS Code produces the following error\r\n```The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted.```\r\n\r\n## Steps to reproduce:\r\n\r\nFollow the steps at https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites\r\n\r\n## Logs\r\n```\r\nStarting Microsoft Python language server.\r\nError:\r\n  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:\r\n    package: 'System.IO.Pipelines', version: '4.5.1'\r\n    path: 'lib/netcoreapp2.1/System.IO.Pipelines.dll'\r\n[Info  - 9:52:18 PM] Connection to server got closed. Server will restart.\r\nError:\r\n  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:\r\n    package: 'System.IO.Pipelines', version: '4.5.1'\r\n    path: 'lib/netcoreapp2.1/System.IO.Pipelines.dll'\r\n[Info  - 9:52:18 PM] Connection to server got closed. Server will restart.\r\nError:\r\n  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:\r\n    package: 'System.IO.Pipelines', version: '4.5.1'\r\n    path: 'lib/netcoreapp2.1/System.IO.Pipelines.dll'\r\n[Info  - 9:52:18 PM] Connection to server got closed. Server will restart.\r\nError:\r\n  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:\r\n    package: 'System.IO.Pipelines', version: '4.5.1'\r\n    path: 'lib/netcoreapp2.1/System.IO.Pipelines.dll'\r\n[Info  - 9:52:18 PM] Connection to server got closed. Server will restart.\r\nError:\r\n  An assembly specified in the application dependencies manifest (Microsoft.Python.LanguageServer.deps.json) was not found:\r\n    package: 'System.IO.Pipelines', version: '4.5.1'\r\n    path: 'lib/netcoreapp2.1/System.IO.Pipelines.dll'\r\n[Error - 9:52:18 PM] Connection to server got closed. Server will not be restarted.\r\n```\r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`)\r\n\r\n```\r\nlog.ts:157  INFO no standard startup: panel is active\r\nTMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.python.\r\nOld grammar file: file:///c%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/python/syntaxes/MagicPython.tmLanguage.json.\r\nNew grammar file: file:///c%3A/Users/iulian/.vscode/extensions/magicstack.magicpython-1.1.0/grammars/MagicPython.tmLanguage\r\ne.register @ TMSyntax.ts:47\r\nTMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.python.\r\nOld grammar file: file:///c%3A/Users/iulian/.vscode/extensions/magicstack.magicpython-1.1.0/grammars/MagicPython.tmLanguage.\r\nNew grammar file: file:///c%3A/Users/iulian/.vscode/extensions/tht13.python-0.2.3/syntaxes/python.tmLanguage\r\ne.register @ TMSyntax.ts:47\r\nTMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.regexp.python.\r\nOld grammar file: file:///c%3A/Program%20Files/Microsoft%20VS%20Code/resources/app/extensions/python/syntaxes/MagicRegExp.tmLanguage.json.\r\nNew grammar file: file:///c%3A/Users/iulian/.vscode/extensions/tht13.python-0.2.3/syntaxes/Regular%20Expressions%20%28Python%29.tmLanguage\r\ne.register @ TMSyntax.ts:47\r\nTMSyntax.ts:47 Overwriting grammar scope name to file mapping for scope source.octave.\r\nOld grammar file: file:///c%3A/Users/iulian/.vscode/extensions/leafvmaple.octave-0.1.1/syntaxes/octave.tmLanguage.json.\r\nNew grammar file: file:///c%3A/Users/iulian/.vscode/extensions/toasty-technologies.octave-0.0.3/syntaxes/octave.tmLanguage\r\ne.register @ TMSyntax.ts:47\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\\python.exe\r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\\*\\python.exe\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] activate\r\nconsole.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: {\"$mid\":1,\"fsPath\":\"e:\\\\projects\\\\Python\\\\learn\",\"external\":\"file:///e%3A/projects/Python/learn\",\"path\":\"/e:/projects/Python/learn\",\"scheme\":\"file\"}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\\python.exe\r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\\*\\python.exe\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: {\"$mid\":1,\"fsPath\":\"e:\\\\projects\\\\Python\\\\learn\",\"external\":\"file:///e%3A/projects/Python/learn\",\"path\":\"/e:/projects/Python/learn\",\"scheme\":\"file\"}, Return Value: UNABLE TO DETERMINE VALUE\r\nconsole.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: undefined, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: undefined, Return Value: UNABLE TO DETERMINE VALUE\r\nconsole.ts:134 [Extension Host] Error: spawn jupyter ENOENT\r\n\tat _errnoException (util.js:1024:11)\r\n\tat Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)\r\n\tat onErrorNT (internal/child_process.js:372:16)\r\n\tat _combinedTickCallback (internal/process/next_tick.js:138:11)\r\n\tat process._tickCallback (internal/process/next_tick.js:180:9)\r\nt.log @ console.ts:134\r\nconsole.ts:134 [Extension Host] Python Extension: Get language server folder name, , Return Value: \"languageServer.0.1.66\"\r\nconsole.ts:134 [Extension Host] Lintings failed on open\r\nt.log @ console.ts:134\r\nconsole.ts:134 [Extension Host] File: file:///e%3A/projects/Python/learn/1.py\r\nt.log @ console.ts:134\r\nconsole.ts:134 [Extension Host] Message: TypeError: Cannot read property 'uri' of undefined\r\nt.log @ console.ts:134\r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nnotificationsAlerts.ts:40 The Python Tools server crashed 5 times in the last 3 minutes. The server will not be restarted.\r\nt.onDidNotificationChange @ notificationsAlerts.ts:40\r\n\r\n```\r\n\n\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/python-language-server/issues/comments/446166804","html_url":"https://github.com/Microsoft/python-language-server/issues/474#issuecomment-446166804","issue_url":"https://api.github.com/repos/Microsoft/python-language-server/issues/474","id":446166804,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjE2NjgwNA==","user":{"login":"isurugiu","id":8225466,"node_id":"MDQ6VXNlcjgyMjU0NjY=","avatar_url":"https://avatars3.githubusercontent.com/u/8225466?v=4","gravatar_id":"","url":"https://api.github.com/users/isurugiu","html_url":"https://github.com/isurugiu","followers_url":"https://api.github.com/users/isurugiu/followers","following_url":"https://api.github.com/users/isurugiu/following{/other_user}","gists_url":"https://api.github.com/users/isurugiu/gists{/gist_id}","starred_url":"https://api.github.com/users/isurugiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isurugiu/subscriptions","organizations_url":"https://api.github.com/users/isurugiu/orgs","repos_url":"https://api.github.com/users/isurugiu/repos","events_url":"https://api.github.com/users/isurugiu/events{/privacy}","received_events_url":"https://api.github.com/users/isurugiu/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T11:17:17Z","updated_at":"2018-12-11T11:17:17Z","author_association":"NONE","body":"I will this evening. Right now I don't have access to my home PC."}}
{"actor":{"display_login":"isurugiu"}}