Title: Linter does not detect undefined variable in constructor · Issue #2068 · microsoft/python-language-server · GitHub
Open Graph Title: Linter does not detect undefined variable in constructor · Issue #2068 · microsoft/python-language-server
X Title: Linter does not detect undefined variable in constructor · Issue #2068 · microsoft/python-language-server
Description: Nothing happens when using "Python: Run Linting" and there are no messages printed in the "Python" Output screen. I am running on a file for which I have known errors and for which pylint works correctly in the integrated terminal when I...
Open Graph Description: Nothing happens when using "Python: Run Linting" and there are no messages printed in the "Python" Output screen. I am running on a file for which I have known errors and for which pylint works cor...
X Description: Nothing happens when using "Python: Run Linting" and there are no messages printed in the "Python" Output screen. I am running on a file for which I have known errors and for wh...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/2068
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Linter does not detect undefined variable in constructor","articleBody":"Nothing happens when using \"Python: Run Linting\" and there are no messages printed in the \"Python\" Output screen. I am running on a file for which I have known errors and for which pylint works correctly in the integrated terminal when I run it manually.\r\n\r\nI have confirmed:\r\n\r\n \"python.linting.pylintEnabled\": true\r\n \"python.linting.enabled\": true\r\n\r\nI am running a remote session with \"WSL: Ubuntu\".\r\n\r\nMore data below.\r\n- VS Code version: 1.46.0-insider\r\n- Extension version (available under the Extensions sidebar): v2020.6.85559-dev\r\n- OS and version: Win 10, Build 19041.264, (Ubuntu, WSL2)\r\n- Python version (\u0026 distribution if applicable, e.g. Anaconda): Python 3.8.2, \r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A\r\n- Relevant/affected Python packages and their versions: ???\r\n- Relevant/affected Python-related VS Code extensions and their versions: ??\r\n- Jedi or Language Server? (i.e. what is `\"python.jediEnabled\"` set to; more info microsoft/vscode-python#3977): This setting doesn't exist\r\n- Value of the `python.languageServer` setting: Microsoft\r\n\r\n## Steps to reproduce:\r\n\r\nCreate a file with the following two lines:\r\n\r\n x = 3\r\n print(y)\r\n\r\nRun the command \"Python: Run Linting\". \r\n\r\n## Logs\r\n\r\nNo log appears in Output for Python code or Developer panel. However, there is a Python error (jediProxy Error) that shows up in the Developer panel. Details are provided in the Logs section below.'\r\n\r\n\u003cdetails\u003e\r\n\r\n\u003csummary\u003eOutput for \u003ccode\u003ePython\u003c/code\u003e in the \u003ccode\u003eOutput\u003c/code\u003e panel:\r\n\u003c/summary\u003e\r\n\r\n\u003cp\u003e\r\n\r\n```\r\nNothing from the command gets printed here\r\n```\r\n\r\n\u003c/p\u003e\r\n\u003c/details\u003e\r\n\r\n\u003cbr /\u003e\r\n\r\n\u003cdetails\u003e\r\n\r\n\u003csummary\u003e\r\nOutput from \u003ccode\u003eConsole\u003c/code\u003e under the \u003ccode\u003eDeveloper Tools\u003c/code\u003e panel:\r\n\u003c/summary\u003e\r\n\r\n\u003cp\u003e\r\n\r\n```\r\nNothing appears immediately after running the command. \r\n\r\nHowever, prior to running the command, there was the following error:\r\n\r\nError Python Extension: 2020-06-07 10:53:14: stderr jediProxy Error (stderr) /home/jordan/.vscode-server-insiders/extensions/ms-python.python-2020.6.85559-dev/pythonFiles/completion.py:586: DeprecationWarning: Deprecated since version 0.16.0. Use Script(...).get_names instead.\r\n jedi.api.names(\r\n\r\n | t.log | @ | console.ts:137\r\n-- | -- | -- | --\r\n | $logExtensionHostMessage | @ | mainThreadConsole.ts:39\r\n | _doInvokeHandler | @ | rpcProtocol.ts:402\r\n | _invokeHandler | @ | rpcProtocol.ts:387\r\n | _receiveRequest | @ | rpcProtocol.ts:303\r\n | _receiveOneMessage | @ | rpcProtocol.ts:230\r\n | (anonymous) | @ | rpcProtocol.ts:105\r\n | fire | @ | event.ts:587\r\n | fire | @ | ipc.net.ts:453\r\n | _receiveMessage | @ | ipc.net.ts:733\r\n | (anonymous) | @ | ipc.net.ts:592\r\n | fire | @ | event.ts:587\r\n | acceptChunk | @ | ipc.net.ts:239\r\n | (anonymous) | @ | ipc.net.ts:200\r\n | t | @ | ipc.net.ts:28\r\n | emit | @ | events.js:203\r\n | addChunk | @ | _stream_readable.js:295\r\n | readableAddChunk | @ | _stream_readable.js:276\r\n | Readable.push | @ | _stream_readable.js:210\r\n | onStreamRead | @ | internal/stream_base_commons.js:166\r\n```\r\n\r\n\r\n\u003c/p\u003e\r\n\u003c/details\u003e\r\n","author":{"url":"https://github.com/jrsrjrsr","@type":"Person","name":"jrsrjrsr"},"datePublished":"2020-06-07T15:05:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2068/python-language-server/issues/2068"}
| 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:8e822018-cd0c-8ee9-a6ec-afb095371d9e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D84A:1AB22E:DE36A9:E354D2:6A4DC227 |
| html-safe-nonce | a705ab9d31c3b90f9978df4193d27604a7434615df44b03b7e454a27cad98346 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODRBOjFBQjIyRTpERTM2QTk6RTM1NEQyOjZBNERDMjI3IiwidmlzaXRvcl9pZCI6IjI3ODM2OTY5NzQ5NTEzMzQ0MzkiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | ff5c8aeeec246a4641526e4b6bddc6eb5b5d0824aae347c6ee4451ccd5ed2d50 |
| hovercard-subject-tag | issue:635408575 |
| 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/2068/issue_layout |
| twitter:image | https://opengraph.githubassets.com/88e49e9250b31e46c4e4a820a24c276084053b697af957df61460d0c50ff9a51/microsoft/python-language-server/issues/2068 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/88e49e9250b31e46c4e4a820a24c276084053b697af957df61460d0c50ff9a51/microsoft/python-language-server/issues/2068 |
| og:image:alt | Nothing happens when using "Python: Run Linting" and there are no messages printed in the "Python" Output screen. I am running on a file for which I have known errors and for which pylint works cor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jrsrjrsr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width