Title: Linter throws errors · Issue #447 · microsoft/vscode-python · GitHub
Open Graph Title: Linter throws errors · Issue #447 · microsoft/vscode-python
X Title: Linter throws errors · Issue #447 · microsoft/vscode-python
Description: Originally reported by Michael Fairley (@mfairley) in #444 (split out the bug into a separate issue). Environment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Version: Anaconda 2.7.14 OS and version: mac O...
Open Graph Description: Originally reported by Michael Fairley (@mfairley) in #444 (split out the bug into a separate issue). Environment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Versio...
X Description: Originally reported by Michael Fairley (@mfairley) in #444 (split out the bug into a separate issue). Environment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Versio...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/447
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Linter throws errors","articleBody":"Originally reported by @MFairley in #444 (split out the bug into a separate issue).\r\n\r\n## Environment data\r\nVS Code version: 1.19.0 (1.19.0)\r\nPython Extension version: 0.9.0\r\nPython Version: Anaconda 2.7.14\r\nOS and version: mac OS 10.13.2 \r\n\r\n## Actual behavior\r\nUpdates to Pylint messages are very slow even after saving, it takes several seconds for messages to change. For example, if a variable is undefined and then defined, the linter will take several seconds to update it's undefined variable message.\r\n\r\n## Steps to reproduce: \r\n- Have a Pylint message\r\n- Fix the error associated with the message\r\n- Save to lint\r\n- Message will take some time to disappear\r\n\r\n## Logs\r\nOutput from Console window (Help->Developer Tools menu)\r\n```\r\nTypeError: Cannot read property 'TokenType' of undefined\r\n\tat CompletionSource.isPositionInsideStringOrComment (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:115:44)\r\n\tat CompletionSource.\u003canonymous> (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:78:22)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat __awaiter (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:9:71)\r\n\tat Promise (\u003canonymous>)\r\n\tat __awaiter (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:5:12)\r\n\tat CompletionSource.getCompletionResult (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:68:16)\r\n\tat CompletionSource.\u003canonymous> (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:40:39)\r\n\tat Generator.next (\u003canonymous>)\r\n\tat __awaiter (/Users/mfairley/.vscode/extensions/ms-python.python-0.9.0/out/client/providers/completionSource.js:9:71)\r\n\r\n(node:13752) DeprecationWarning: Calling an asynchronous function without callback is deprecated.\r\nt.log @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:249\r\n11:18:45.522 console.ts:123 [Extension Host] (node:13752) DeprecationWarning: Calling an asynchronous function without callback is deprecated.\r\nt.log @ console.ts:123\r\n```","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2017-12-17T16:50:41Z","url":"https://github.com/microsoft/vscode-python/issues/447"}
| 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:45defb65-df10-fcf0-15b3-d62399f0d06b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 886A:170797:356D82:484F68:6AFE52D7 |
| html-safe-nonce | e95a5cafa4a5fbe519ea5f4fd2d646735a0285a0a8d22a7e21bfbcaaa974349d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODZBOjE3MDc5NzozNTZEODI6NDg0RjY4OjZBRkU1MkQ3IiwidmlzaXRvcl9pZCI6IjY4OTc3NTE4MjYwMjQ1MTgzNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 61d070e757c6a5eab847b0390aa2e9a56011c4bd046e63e6f23f4bff5e968ae4 |
| hovercard-subject-tag | issue:282706938 |
| 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/vscode-python/447/issue_layout |
| twitter:image | https://opengraph.githubassets.com/106c4613858ebf63ae5dc7dd0770d4e33843b6f1d0784d2248bd1afedf34bf27/microsoft/vscode-python/issues/447 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/106c4613858ebf63ae5dc7dd0770d4e33843b6f1d0784d2248bd1afedf34bf27/microsoft/vscode-python/issues/447 |
| og:image:alt | Originally reported by Michael Fairley (@mfairley) in #444 (split out the bug into a separate issue). Environment data VS Code version: 1.19.0 (1.19.0) Python Extension version: 0.9.0 Python Versio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonJayamanne |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| 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 | 8df44dbe1c8091b38c3e0165c05a1e5c1563762e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width