question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dispose orphaned progress notifications behind when using progress reporting in language servers

See original GitHub issue

Environment data

  • VS Code version: 1.59.0-insider
  • Extension version (available under the Extensions sidebar): v2021.8.1046297456-dev
  • Pylance version: v2021.7.5-pre.1
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Relevant/affected Python-related VS Code extensions and their versions: N/A
  • Value of the python.languageServer setting: XXX

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]

Expected behaviour

Language server shouldn’t crash. If it does progress notifications should be disposed

Actual behaviour

image

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Open a Python file

Logs

pylance.log python.log

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jakebaileycommented, Jul 23, 2021

The language server must be getting set somewhere else; does the UI also say that its Pylance or Default?

0reactions
luabudcommented, Oct 1, 2021

@druuuu great! I assigned you to the issue 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode LSP - display notifications - Stack Overflow
Working on an LSP extension (for vscode), I'm trying to show arbitrary progress bars as notifications, initiated by the Server.
Read more >
Internal hotfix builds - Sitefinity - General Discussions
Hi all, Sitefinity team has a new policy to release incremental hotfix builds on a more regular basis. The builds will be available...
Read more >
ManageEngine Exchange Reporters Plus :: Help Documentation
Not plain reporting for vigilance, but this solution offers audit data, mail traffic statistics. & analysis, mailbox size growth rate, server usage pattern, ......
Read more >
REDCap Frequently Asked Questions - Wiki@UCSF
Inactive: Move the project to inactive status if data collection is complete. This will disable most project functionality, but data will remain ...
Read more >
SLES 15 SP1 | Security and Hardening Guide
Supports the administrator with security-related choices and decisions in installing and setting up a secure SUSE Linux Enterprise Server and additional ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found