Title: Broken extension parser · Issue #1353 · microsoft/python-language-server · GitHub
Open Graph Title: Broken extension parser · Issue #1353 · microsoft/python-language-server
X Title: Broken extension parser · Issue #1353 · microsoft/python-language-server
Description: Environment data VS Code version: 1.36.1 Extension version: 2019.6.24221 OS and version: Windows 10 Pro 1809 Python version: 3.7.4 Type of virtual environment used: N/A Relevant/affected Python packages and their versions: XXX Jedi or La...
Open Graph Description: Environment data VS Code version: 1.36.1 Extension version: 2019.6.24221 OS and version: Windows 10 Pro 1809 Python version: 3.7.4 Type of virtual environment used: N/A Relevant/affected Python pac...
X Description: Environment data VS Code version: 1.36.1 Extension version: 2019.6.24221 OS and version: Windows 10 Pro 1809 Python version: 3.7.4 Type of virtual environment used: N/A Relevant/affected Python pac...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1353
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Broken extension parser","articleBody":"\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\r\n## Environment data\r\n\r\n- VS Code version: 1.36.1\r\n- Extension version: 2019.6.24221\r\n- OS and version: Windows 10 Pro 1809\r\n- Python version: 3.7.4\r\n- Type of virtual environment used: N/A\r\n- Relevant/affected Python packages and their versions: XXX\r\n- Jedi or Language Server? (i.e. what is `\"python.jediEnabled\"` set to; more info #3977): XXX\r\n\r\n\r\n## Expected behaviour\r\n\r\nThe correct work of the parser, error detection, suggestions for quick input.\r\n\r\n\r\n## Actual behaviour\r\n\r\nAfter a couple of minutes of writing the code, the Python parser hangs on one of the errors, after it it no longer detects new errors, offers no options for quick input, and so on. It seems that the module is simply turned off. The problem persists until VSC restarts.\r\n\r\n\r\n## Steps to reproduce:\r\n\r\nidk\r\n1. Create a folder and open\r\n2. Create py file\r\n3. Write about 1-20 minutes of code and try to make a couple of errors so that the parser will notice them\r\nMy problem occurs 100% of the time and is completely independent of anything, it appears most quickly when the parser sees an error or immediately upon opening the file and trying to load the libraries, but sometimes the problem may arise out of the blue while I move away from the PC.\r\n\r\n\r\n**Video:** https://youtu.be/Xyo0WYLByLI\r\n\r\n\u003c!--\r\nNote: If 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## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\n```\r\nXXX\r\n```\r\n\r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`; turn on source maps to make any tracebacks be useful by running `Enable source map support for extension debugging`)\r\n\r\n```\r\nlog.ts:173 ERR name must not be falsy: Error: name must not be falsy\r\n\tat Function.validate (c:\\Users\\h2o22\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\out\\vs\\workbench\\services\\extensions\\node\\extensionHostProcess.js:347:308)\r\n\tat new b (c:\\Users\\h2o22\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\out\\vs\\workbench\\services\\extensions\\node\\extensionHostProcess.js:347:257)\r\n\tat new b (c:\\Users\\h2o22\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\out\\vs\\workbench\\services\\extensions\\node\\extensionHostProcess.js:335:813)\r\n\tat O (C:\\Users\\h2o22\\.vscode\\extensions\\ms-python.python-2019.6.24221\\out\\client\\extension.js:75:79946)\r\n\tat Array.map (\u003canonymous>)\r\n\tat Object.asDocumentSymbols (C:\\Users\\h2o22\\.vscode\\extensions\\ms-python.python-2019.6.24221\\out\\client\\extension.js:75:84017)\r\n\tat module.exports.registerLanguageProvider.t.sendRequest.then.e (C:\\Users\\h2o22\\.vscode\\extensions\\ms-python.python-2019.6.24221\\out\\client\\extension.js:1:173205)\r\nextensionHost.ts:201 Extension Host\r\nextensionHost.ts:202 Debugger attached.\r\n```\r\n\r\n\r\n\r\n> Guys, if you know some workaround for this problem, even to understate the module version (if this is possible), please write to me, it’s very uncomfortable to write code with this problem.","author":{"url":"https://github.com/AnriaruDoragon","@type":"Person","name":"AnriaruDoragon"},"datePublished":"2019-07-19T10:12:05Z","url":"https://github.com/microsoft/python-language-server/issues/1353"}
| 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:cbd34850-1345-1ba7-f57f-497f3045f321 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE84:3EB23A:A93D59:E5162D:6AFE676A |
| html-safe-nonce | 76ac5a4f346f231b16a12cc65c8405032652c3887a2db2a22555fd6c749c69bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTg0OjNFQjIzQTpBOTNENTk6RTUxNjJEOjZBRkU2NzZBIiwidmlzaXRvcl9pZCI6IjM2MjI3MDU4ODI2MTUxNDYzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c7d28a2d2ba93ec72eb9b14d2fef300c389074cb28fc3c2dd41612c4cb4a97d6 |
| hovercard-subject-tag | issue:471194413 |
| 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/1353/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a5f787f4e49fde2ae1ccf62d7647f70419338dc7db4fa0748fd4c0826a96ba55/microsoft/python-language-server/issues/1353 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5f787f4e49fde2ae1ccf62d7647f70419338dc7db4fa0748fd4c0826a96ba55/microsoft/python-language-server/issues/1353 |
| og:image:alt | Environment data VS Code version: 1.36.1 Extension version: 2019.6.24221 OS and version: Windows 10 Pro 1809 Python version: 3.7.4 Type of virtual environment used: N/A Relevant/affected Python pac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AnriaruDoragon |
| 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