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.

Spawn of a lot python processes

See original GitHub issue

Some strange behaviour in processes. They are little, they are a lot. They’re coming outta the f*****g walls 😦

Environment data

  • VS Code version: 1.29.1 (User setup)
  • Extension version (available under the Extensions sidebar): 2018.11.0
  • OS and version: WIndows 7 sp1
  • Python version (& distribution if applicable, e.g. Anaconda): python 3.6.6
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): virtualenv
  • Relevant/affected Python packages and their versions: //

Expected behaviour

When a save is done, some linting process are created. After the save and the linting they should be gone.

Actual behaviour

When a save is done, some linting process are created. After the save and the linting they stay at a pace of 2/4 per time.

Steps to reproduce:

  1. Install python extension
  2. Install pylint, pep8, pylint_django
  3. Open a project and save

Logs:

Completely empty

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help):

log.ts:157 INFO no standard startup: panel is active console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\python.exe console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern **\python.exe console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: {“$mid”:1,“fsPath”:“c:\myproject”,“external”:“file:///c%3A/myproject”,“path”:“/c:/myproject”,“scheme”:“file”}, Return Value: console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\python.exe console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern **\python.exe console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: {“$mid”:1,“fsPath”:“c:\myproject”,“external”:“file:///c%3A/myproject”,“path”:“/c:/myproject”,“scheme”:“file”}, Return Value: UNABLE TO DETERMINE VALUE console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: undefined, Return Value: console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: undefined, Return Value: UNABLE TO DETERMINE VALUE console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: console.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:5

github_iconTop GitHub Comments

2reactions
DonJayamannecommented, Dec 7, 2018

Dup of #3514

1reaction
udidicommented, Dec 7, 2018

I have this problem too

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spawning multiple processes with Python - Stack Overflow
The Process class requires a callable as its target. Instead of running the function in the separate process, you are calling it and...
Read more >
Fork vs Spawn in Python Multiprocessing
On the other hand, when a process is spawned , it begins by starting a new Python interpreter. The current module is reimported...
Read more >
How to spawn a process | Python Parallel Programming ...
The term "spawn" means the creation of a process by a parent process. The parent process can of course continue its execution asynchronously...
Read more >
multiprocessing — Process-based parallelism — Python 3.11 ...
multiprocessing is a package that supports spawning processes using an API similar to the threading module. The multiprocessing package offers both local ...
Read more >
Spawning Terminal Processes - Working With...
Process.spawn is a bit different than the others in that it is non-blocking. If you compare the following two examples you will see...
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