Title: Crashing language server · Issue #1623 · microsoft/python-language-server · GitHub
Open Graph Title: Crashing language server · Issue #1623 · microsoft/python-language-server
X Title: Crashing language server · Issue #1623 · microsoft/python-language-server
Description: Environment data [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Connection to server is erroring. Shutting...
Open Graph Description: Environment data [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Co...
X Description: Environment data [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Co...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1623
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crashing language server","articleBody":"\u003c!-- \r\nRead the guidelines for filing an issue first. \r\n\r\nhttps://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue\r\n-->\r\n\r\n## Environment data\r\n[Error - 11:40:50 AM] Connection to server is erroring. Shutting down server.\r\n[Error - 11:40:50 AM] Connection to server is erroring. Shutting down server.\r\n[Error - 11:40:50 AM] Connection to server is erroring. Shutting down server.\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 1: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: cannot create \u00015@@8J\u0001@8\r\n@ \u001f\u0006\u0005@@@@@0\u00020\u0002\b\u0003\u0004p\u0002p\u0002@p\u0002@\u001c\u001c\u0001\u0001\u0005@@�0\u0001�0\u0001 \u0001\u0006�\u003c\u0001�\u003ca�\u003ca�\u000b\u0010\f \u0002\u0006`=\u0001`=a`=a@\u0002@\u0002\b\u0004\u0004�\u0002�\u0002@�\u0002@DD\u0004\u0007\u0004�\u003c\u0001�\u003ca�\u003ca\b\bP�td\u0004\b\u0004\u0001\b\u0004A\b\u0004A|\u0004|\u0004\u0004Q�td\u0006\u0010R�td\u0004�\u003c\u0001�\u003ca�\u003ca \u0003 \u0003\u0001/lib64/ld-linux-x86-64.so.2\u0004\u0010\u0001GNU\u0002\u0006 \u0004\u0014\u0003GNU@U�-��8*bn��h\u000f\r\n�\u001c�\u0003�\u0002\u0007�\u0010�\b!\u0014\t\b\u0006\u0005\r\n�\u0004\u0001���j\tCֺ�|CE��\f:�\u000b2b���K����\u001f�����qX\u001c���\u000e��:�\f\u0014����\u000eyIk�\u001d\u0006\u0012�\u0005\u0012�\t\u0012}\u0004\u0012�\u0006\u00124\t\u0012`\u0006\u0011�\u0001\u0012s\t\u0012�\u0006\u0012�\u0001\u0012� - Q\u0002\u0012(\u0001\u0012A\t\u0012~\u0007\u0011[\b\u0012!\b\u0012�\u0002\u0012I\u0001\u0012�\t\u0012m\u0002\u00121\b\u0012�\b\u0012�\b\u0012\b\r\n\u0012.\u0001\u0012;\t\u0012/\u0006\u0012�\u0006\u0012�\u0001\u0012\u0014\b\u0012\f\t\u0012: Directory nonexistent\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 1: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: ELF\u0002\u0001\u0001\u0002: not found\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 4: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: \u0012_: not found\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 5: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: \u0012�\u0004\u0012�\b\u0012: not found\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 6: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: \u0012�\u0007\u0011�\u0012�: not found\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 12: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: \u0012�\b\u0012\u0007\u0012�\t\u0012�\u0004\u0012\u0015\u0007\u0012%\u0004\u0011�\u0012�\u0001\u0012G\t\u0012�\u0003\u0012E\u0002\u0012f\u0005\u0012r\t\u0012�\u0012�\t\u0012�\u0006\u0011�\u0012@\u0007\u0012w\u0001\u0012/\u0002\u0012D\u0005\u0011b\b\u0012�\b\u0012�\t\u0011�\t\u0012[\"\r\n\u0005\u0012�\t\u0012�\"P\u0007\u0012�\b\u0012�\u0006\u0012�\u0002\u0012�\b\u0012\u0003\t\u0012�\u0002\u0012y\t\u0012�\"\u0007\u0006\u0012Q\u0006\u0012k\t\u0012I\b\u0012�\b\u0012�\u0003\u0012�\t\u0012X\t\u0011�\b\u0012\u0007\t\u0012�\b\u0012\r\n\u0010\u001b�Ca�\r\n\u0010\u001c�Ha�\r\n\u0010\u001b�Ha�\r\n \u001b�Ca�\r\n\u0012\r\n5@p: not found\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 13: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: \u0011\u000f��@\u0004�: not found\r\n/home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: 5: /home/nvidia/.vscode-server-insiders/extensions/ms-python.python-2019.9.34911/languageServer.0.4.38/Microsoft.Python.LanguageServer: Syntax error: Unterminated quoted string\r\n\r\n\r\n- Language Server version: 0.4.38 \r\n- OS and version: Windows 10 1809 / Ubuntu 18.04 Remote\r\n- Python version (& distribution if applicable, e.g. Anaconda): 3.6.8 (Remote)\r\n\r\n## Expected behaviour\r\n\r\nRunning language server.\r\n\r\n## Actual behavior\r\n\r\nLanguage server crashes.\r\n\r\n\r\n## Logs\r\n\r\nUser belongs to experiment group 'AlwaysDisplayTestExplorer - control'\r\nUser belongs to experiment group 'ShowPlayIcon - start'\r\n> conda --version\r\n> pyenv root\r\n> python3.7 -c \"import sys;print(sys.executable)\"\r\n> python3.6 -c \"import sys;print(sys.executable)\"\r\n> python3 -c \"import sys;print(sys.executable)\"\r\n> python2 -c \"import sys;print(sys.executable)\"\r\n> python -c \"import sys;print(sys.executable)\"\r\n> /usr/bin/python3 -c \"import sys;print(sys.executable)\"\r\n> conda info --json\r\nStarting Microsoft Python language server.\r\n> /usr/bin/python3 -m pylint --max-line-length=120 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/tensorRT_bench/main.py\r\ncwd: ~/tensorRT_bench\r\n> /usr/bin/python3 -m pylint --max-line-length=120 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/tensorRT_bench/main.py\r\ncwd: ~/tensorRT_bench\r\n> /usr/bin/python3 -m pylint --max-line-length=120 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/tensorRT_bench/common.py\r\ncwd: ~/tensorRT_bench\r\n> /usr/bin/python3 -m pylint --max-line-length=120 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text ~/tensorRT_bench/common.py\r\ncwd: ~/tensorRT_bench\r\n##########Linting Output - pylint##########\r\n************* Module main\r\n25,0,convention,line-too-long:Line too long (158/120)\r\n61,0,convention,line-too-long:Line too long (151/120)\r\n74,0,convention,line-too-long:Line too long (135/120)\r\n77,0,convention,line-too-long:Line too long (170/120)\r\n78,0,convention,line-too-long:Line too long (171/120)\r\n82,0,convention,line-too-long:Line too long (171/120)\r\n85,0,convention,superfluous-parens:Unnecessary parens after 'del' keyword\r\n86,0,convention,superfluous-parens:Unnecessary parens after 'del' keyword\r\n89,0,convention,line-too-long:Line too long (181/120)\r\n91,0,convention,line-too-long:Line too long (177/120)\r\n16,0,refactor,too-many-arguments:Too many arguments (6/5)\r\n32,17,warning,unused-argument:Unused argument 'w_in'\r\n32,23,warning,unused-argument:Unused argument 'h_in'\r\n32,29,warning,unused-argument:Unused argument 'd_in'\r\n32,35,warning,unused-argument:Unused argument 'kernel_size'\r\n32,48,warning,unused-argument:Unused argument 'filter_k'\r\n50,0,refactor,too-many-locals:Too many local variables (19/15)\r\n5,0,warning,unused-import:Unused import sys\r\n7,0,warning,unused-import:Unused import pycuda.autoinit\r\n8,0,warning,unused-import:Unused pycuda.driver imported as cuda\r\n\r\n------------------------------------------------------------------\r\nYour code has been rated at 6.83/10 (previous run: 6.83/10, +0.00)\r\n\r\n##########Linting Output - pylint##########\r\n************* Module common\r\n93,0,convention,superfluous-parens:Unnecessary parens after 'not' keyword\r\n100,0,convention,line-too-long:Line too long (132/120)\r\n60,4,warning,redefined-builtin:Redefining built-in 'FileNotFoundError'\r\n1,0,convention,missing-module-docstring:Missing module docstring\r\n62,0,convention,invalid-name:Function name \"GiB\" doesn't conform to snake_case naming style\r\n62,0,convention,missing-function-docstring:Missing function or method docstring\r\n65,0,warning,dangerous-default-value:Dangerous default value [] as argument\r\n77,4,convention,invalid-name:Variable name \"kDEFAULT_DATA_ROOT\" doesn't conform to snake_case naming style\r\n97,15,convention,invalid-name:Variable name \"f\" doesn't conform to snake_case naming style\r\n101,4,refactor,no-else-return:Unnecessary \"else\" after \"return\"\r\n82,10,warning,unused-variable:Unused variable 'unknown_args'\r\n107,0,convention,missing-class-docstring:Missing class docstring\r\n107,0,refactor,useless-object-inheritance:Class 'HostDeviceMem' inherits from object, can be safely removed from bases in python3\r\n119,0,convention,missing-function-docstring:Missing function or method docstring\r\n123,13,error,no-member:Module 'pycuda.driver' has no 'Stream' member\r\n128,19,error,no-member:Module 'pycuda.driver' has no 'pagelocked_empty' member\r\n129,21,error,no-member:Module 'pycuda.driver' has no 'mem_alloc' member\r\n141,0,convention,missing-function-docstring:Missing function or method docstring\r\n141,0,refactor,too-many-arguments:Too many arguments (6/5)\r\n143,18,error,no-member:Module 'pycuda.driver' has no 'Event' member\r\n144,16,error,no-member:Module 'pycuda.driver' has no 'Event' member\r\n145,12,error,no-member:Module 'pycuda.driver' has no 'Event' member\r\n146,10,error,no-member:Module 'pycuda.driver' has no 'Event' member\r\n149,4,warning,expression-not-assigned:Expression \"[cuda.memcpy_htod_async(inp.device, inp.host, stream) for inp in inputs]\" is assigned to nothing\r\n149,5,error,no-member:Module 'pycuda.driver' has no 'memcpy_htod_async' member\r\n155,4,warning,expression-not-assigned:Expression \"[cuda.memcpy_dtoh_async(out.host, out.device, stream) for out in outputs]\" is assigned to nothing\r\n155,5,error,no-member:Module 'pycuda.driver' has no 'memcpy_dtoh_async' member\r\n\r\n------------------------------------------------------------------\r\nYour code has been rated at 1.13/10 (previous run: 1.13/10, +0.00)\r\n\r\n\r\n## Code Snippet / Additional lnformation\r\n\r\nI'm running the insider version to work remotely on a Ubuntu 18.04 machine (Jetson). The language server was running fine until Wednesday.\r\nI tried to delete the corresponding files in the python extension directory, but re-installing did not solve the issue.\r\n\r\n\r\n","author":{"url":"https://github.com/martin-91x","@type":"Person","name":"martin-91x"},"datePublished":"2019-10-04T11:05:31Z","url":"https://github.com/microsoft/python-language-server/issues/1623"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c11481d-3037-5575-c750-481ac11cde0b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B330:328E61:4BA95D:629D57:6AFE6698 |
| html-safe-nonce | 85a7515111e6bf89118a63617bfc97651abe8b7c934e960fb45ece65e9a545dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzMwOjMyOEU2MTo0QkE5NUQ6NjI5RDU3OjZBRkU2Njk4IiwidmlzaXRvcl9pZCI6IjQ1NTE1MjI5MzMzNTk1MTAwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e35655bbb39a6c0403243fcd2175ec905bbb8ef655f4d8201ebb305dc3de1bf |
| hovercard-subject-tag | issue:502573791 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1623/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa5d35832347c53691f232c5aa4207251fc47ccca9bd23b093eb38bfa99de222/microsoft/python-language-server/issues/1623 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa5d35832347c53691f232c5aa4207251fc47ccca9bd23b093eb38bfa99de222/microsoft/python-language-server/issues/1623 |
| og:image:alt | Environment data [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Connection to server is erroring. Shutting down server. [Error - 11:40:50 AM] Co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martin-91x |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width