Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd keeps popping up and instantly closing every time I save any of the workspace files and pylance reanalyzes them #6304

Open
inikishev opened this issue Aug 27, 2024 · 2 comments
Assignees
Labels
needs repro Issue has not been reproduced yet waiting for user response Requires more information from user

Comments

@inikishev
Copy link

inikishev commented Aug 27, 2024

Environment data

  • Pylance version: v2024.8.2
  • OS and version: Windows 11 23H2 22631.4037
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.12.4.final.0, conda version : 24.7.1

Expected behavior

No cmd pop ups

Actual behavior

whenever I make change to my code and save it and cause pylance to reanalyze the workspace, cmd pops up and instantly closes
image

here is a video of the issue https://youtu.be/5DFH9g799gA
I save the file, causing pylance to analyze workspace, and it pops up. And then I change the file and save it, and it happens again. Those constant popups are quite annoying when coding, and they sometimes move focus away from where I am typing. All other extensions are disabled, and I restarted vscode.

This doesn't happen with pylance disabled.

I also notice that rarely it lags and has enough time to render what is inside the cmd, and it says "[Process ended with exit code 0 (0x00000000)]. You can now close this terminal with Ctrl+D, or press Enter to restart.". Sometimes though, it lags, but remains empty. So maybe those are two separate popups.

Logs

2024-08-27 12:07:11.637 [info] (35868) [FG] parsing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (100ms)
2024-08-27 12:07:11.638 [info] (35868) [FG] binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (1ms)
2024-08-27 12:07:11.787 [info] (35868) [BG(1)] SemanticTokens delta previousResultId:1724749612064 at file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py ...
2024-08-27 12:07:11.788 [info] (35868) [BG(1)]   parsing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (1ms)
2024-08-27 12:07:11.788 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (1ms)
2024-08-27 12:07:11.815 [info] (35868) [FG] parsing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (1ms)
2024-08-27 12:07:11.816 [info] (35868) [FG] binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (0ms)
2024-08-27 12:07:11.818 [info] (35868) [BG(1)] SemanticTokens delta previousResultId:1724749612064 at file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (32ms)
2024-08-27 12:07:11.932 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py ...
2024-08-27 12:07:11.932 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (12ms)
2024-08-27 12:07:11.933 [info] [Info  - 12:07:11 PM] (35868) Heap stats: total_memory_size=40778MB, total_free_size=25457MB, total_heap_size=670MB, used_heap_size=479MB, cross_worker_used_heap_size=479MB, total_physical_size=670MB, total_available_size=7747MB, heap_size_limit=8240MB
2024-08-27 12:07:11.933 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (12ms)
2024-08-27 12:07:11.938 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py ...
2024-08-27 12:07:11.938 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py (6ms)
2024-08-27 12:07:11.976 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py ...
2024-08-27 12:07:11.976 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/optimizer.py (3ms)
2024-08-27 12:07:12.132 [info] [Info  - 12:07:12 PM] (35868) SourceFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\src\optforge\history.py'
2024-08-27 12:07:12.132 [info] [Info  - 12:07:12 PM] (35868) LibraryFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\src\optforge\history.py'
2024-08-27 12:07:12.137 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py (200ms)
2024-08-27 12:07:12.137 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py (206ms)
2024-08-27 12:07:12.138 [info] (35868) [BG(1)] indexing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py [found 1] (0ms)
2024-08-27 12:07:12.138 [info] (35868) Indexing Done: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py
2024-08-27 12:07:12.438 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py ...
2024-08-27 12:07:12.439 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py (228ms)
2024-08-27 12:07:12.439 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/study.py (228ms)
2024-08-27 12:07:12.452 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/__init__.py ...
2024-08-27 12:07:12.453 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/__init__.py (2ms)
2024-08-27 12:07:12.461 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/__init__.py ...
2024-08-27 12:07:12.461 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/__init__.py ...
2024-08-27 12:07:12.461 [info] (35868) [BG(1)]       binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/random_search.py (4ms)
2024-08-27 12:07:12.464 [info] (35868) [BG(1)]       binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/spsa.py (4ms)
2024-08-27 12:07:12.465 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/__init__.py (9ms)
2024-08-27 12:07:12.467 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/interfaces/minimize.py (3ms)
2024-08-27 12:07:12.473 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/__init__.py (20ms)
2024-08-27 12:07:12.473 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/__init__.py (22ms)
2024-08-27 12:07:12.615 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/trial.py ...
2024-08-27 12:07:12.615 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/trial.py (142ms)
2024-08-27 12:07:12.617 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/trial.py (143ms)
2024-08-27 12:07:12.620 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/__init__.py ...
2024-08-27 12:07:12.620 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/__init__.py (2ms)
2024-08-27 12:07:12.621 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/__init__.py (3ms)
2024-08-27 12:07:12.704 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/benchmark.py ...
2024-08-27 12:07:12.704 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/benchmark.py (86ms)
2024-08-27 12:07:12.705 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/benchmark.py (86ms)
2024-08-27 12:07:13.176 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/maze.py ...
2024-08-27 12:07:13.176 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/maze.py (459ms)
2024-08-27 12:07:13.176 [info] [Info  - 12:07:13 PM] (35868) Heap stats: total_memory_size=40778MB, total_free_size=25395MB, total_heap_size=671MB, used_heap_size=492MB, cross_worker_used_heap_size=492MB, total_physical_size=671MB, total_available_size=7735MB, heap_size_limit=8240MB
2024-08-27 12:07:13.177 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/maze.py (460ms)
2024-08-27 12:07:13.687 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/vobench_benchmarks.py ...
2024-08-27 12:07:13.687 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/vobench_benchmarks.py (500ms)
2024-08-27 12:07:13.687 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/benchmark/vobench_benchmarks.py (500ms)
2024-08-27 12:07:13.698 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/nevergrad/__init__.py ...
2024-08-27 12:07:13.699 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/nevergrad/__init__.py (1ms)
2024-08-27 12:07:13.699 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/nevergrad/__init__.py (1ms)
2024-08-27 12:07:13.925 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/nevergrad/nevergrad_optimizer.py ...
2024-08-27 12:07:13.925 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/nevergrad/nevergrad_optimizer.py (227ms)
2024-08-27 12:07:13.926 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/nevergrad/nevergrad_optimizer.py (227ms)
2024-08-27 12:07:13.933 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/optuna/__init__.py ...
2024-08-27 12:07:13.933 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/optuna/__init__.py (0ms)
2024-08-27 12:07:13.933 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/optuna/__init__.py (1ms)
2024-08-27 12:07:14.012 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/optuna/optuna_optimizer.py ...
2024-08-27 12:07:14.013 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/optuna/optuna_optimizer.py (79ms)
2024-08-27 12:07:14.013 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/optuna/optuna_optimizer.py (79ms)
2024-08-27 12:07:14.015 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/__init__.py ...
2024-08-27 12:07:14.016 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/__init__.py ...
2024-08-27 12:07:14.016 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/opytimizer_optimizer.py (3ms)
2024-08-27 12:07:14.016 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/__init__.py (3ms)
2024-08-27 12:07:14.017 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/__init__.py (1ms)
2024-08-27 12:07:14.017 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/__init__.py (4ms)
2024-08-27 12:07:14.122 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/opytimizer_optimizer.py ...
2024-08-27 12:07:14.123 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/opytimizer_optimizer.py (106ms)
2024-08-27 12:07:14.123 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/opytimizer/opytimizer_optimizer.py (106ms)
2024-08-27 12:07:14.124 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/__init__.py ...
2024-08-27 12:07:14.125 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/__init__.py ...
2024-08-27 12:07:14.125 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/pypop7_optimizer.py (2ms)
2024-08-27 12:07:14.125 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/__init__.py (2ms)
2024-08-27 12:07:14.126 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/__init__.py (1ms)
2024-08-27 12:07:14.126 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/__init__.py (3ms)
2024-08-27 12:07:14.245 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/pypop7_optimizer.py ...
2024-08-27 12:07:14.245 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/pypop7_optimizer.py (119ms)
2024-08-27 12:07:14.245 [info] [Info  - 12:07:14 PM] (35868) Heap stats: total_memory_size=40778MB, total_free_size=25370MB, total_heap_size=672MB, used_heap_size=502MB, cross_worker_used_heap_size=502MB, total_physical_size=672MB, total_available_size=7725MB, heap_size_limit=8240MB
2024-08-27 12:07:14.245 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/pypop7/pypop7_optimizer.py (119ms)
2024-08-27 12:07:14.255 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/__init__.py ...
2024-08-27 12:07:14.256 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/__init__.py ...
2024-08-27 12:07:14.256 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/scipy_optimizer.py (4ms)
2024-08-27 12:07:14.256 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/__init__.py (4ms)
2024-08-27 12:07:14.257 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/__init__.py (2ms)
2024-08-27 12:07:14.257 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/__init__.py (6ms)
2024-08-27 12:07:17.933 [info] [Info  - 12:07:17 PM] (35868) SourceFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\src\optforge\__pycache__\history.cpython-312.pyc'
2024-08-27 12:07:17.933 [info] [Info  - 12:07:17 PM] (35868) LibraryFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\src\optforge\__pycache__\history.cpython-312.pyc'
2024-08-27 12:07:19.833 [info] [Info  - 12:07:19 PM] (35868) SourceFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\.pytest_cache\v\cache\stepwise'
2024-08-27 12:07:19.834 [info] [Info  - 12:07:19 PM] (35868) LibraryFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\.pytest_cache\v\cache\stepwise'
2024-08-27 12:07:19.834 [info] [Info  - 12:07:19 PM] (35868) SourceFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\opytimizer.log'
2024-08-27 12:07:19.834 [info] [Info  - 12:07:19 PM] (35868) LibraryFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\opytimizer.log'
2024-08-27 12:07:21.701 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/scipy_optimizer.py ...
2024-08-27 12:07:21.701 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/scipy_optimizer.py (7444ms)
2024-08-27 12:07:21.702 [info] [Info  - 12:07:21 PM] (35868) [BG(1)] Long operation: checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/scipy_optimizer.py (7444ms)
2024-08-27 12:07:21.702 [info] [Info  - 12:07:21 PM] (35868) Heap stats: total_memory_size=40778MB, total_free_size=25455MB, total_heap_size=674MB, used_heap_size=518MB, cross_worker_used_heap_size=518MB, total_physical_size=674MB, total_available_size=7708MB, heap_size_limit=8240MB
2024-08-27 12:07:21.702 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/scipy_optimizer.py (7444ms)
2024-08-27 12:07:21.702 [info] [Info  - 12:07:21 PM] (35868) [BG(1)] Long operation: analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/scipy/scipy_optimizer.py (7444ms)
2024-08-27 12:07:21.708 [info] (35868) [BG(1)] SemanticTokens delta previousResultId:1724749631787 at file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (2ms)
2024-08-27 12:07:21.710 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/__init__.py ...
2024-08-27 12:07:21.711 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/__init__.py ...
2024-08-27 12:07:21.711 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/torch_optimizer.py (2ms)
2024-08-27 12:07:21.711 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/__init__.py (3ms)
2024-08-27 12:07:21.713 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/__init__.py (2ms)
2024-08-27 12:07:21.713 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/__init__.py (5ms)
2024-08-27 12:07:21.830 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/torch_optimizer.py ...
2024-08-27 12:07:21.830 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/torch_optimizer.py (117ms)
2024-08-27 12:07:21.830 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/integrations/torch/torch_optimizer.py (117ms)
2024-08-27 12:07:21.830 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/interfaces/__init__.py ...
2024-08-27 12:07:21.831 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/interfaces/__init__.py (0ms)
2024-08-27 12:07:21.831 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/interfaces/__init__.py (0ms)
2024-08-27 12:07:21.864 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/interfaces/minimize.py ...
2024-08-27 12:07:21.864 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/interfaces/minimize.py (33ms)
2024-08-27 12:07:21.864 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/interfaces/minimize.py (33ms)
2024-08-27 12:07:21.865 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/__init__.py ...
2024-08-27 12:07:21.865 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/__init__.py ...
2024-08-27 12:07:21.865 [info] (35868) [BG(1)]     binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/baseline.py (1ms)
2024-08-27 12:07:21.866 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/__init__.py (3ms)
2024-08-27 12:07:21.867 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/__init__.py (3ms)
2024-08-27 12:07:21.878 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/baseline.py ...
2024-08-27 12:07:21.878 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/baseline.py (11ms)
2024-08-27 12:07:21.878 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/baseline.py (11ms)
2024-08-27 12:07:21.879 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/debug.py ...
2024-08-27 12:07:21.879 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/debug.py (1ms)
2024-08-27 12:07:21.900 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/debug.py (22ms)
2024-08-27 12:07:21.900 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/debug.py (23ms)
2024-08-27 12:07:21.901 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/fdsa.py ...
2024-08-27 12:07:21.901 [info] (35868) [BG(1)]   binding: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/fdsa.py (0ms)
2024-08-27 12:07:21.903 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/fdsa.py (2ms)
2024-08-27 12:07:21.903 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/fdsa.py (2ms)
2024-08-27 12:07:21.993 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/optimizer.py ...
2024-08-27 12:07:21.993 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/optimizer.py (90ms)
2024-08-27 12:07:21.994 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/optimizer.py (90ms)
2024-08-27 12:07:22.018 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/random_search.py ...
2024-08-27 12:07:22.019 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/random_search.py (18ms)
2024-08-27 12:07:22.019 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/random_search.py (18ms)
2024-08-27 12:07:22.180 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/spsa.py ...
2024-08-27 12:07:22.180 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/spsa.py (161ms)
2024-08-27 12:07:22.180 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/optim/spsa.py (162ms)
2024-08-27 12:07:22.203 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/_utils.py ...
2024-08-27 12:07:22.203 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/_utils.py (22ms)
2024-08-27 12:07:22.203 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/_utils.py (22ms)
2024-08-27 12:07:22.236 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_builtins.py ...
2024-08-27 12:07:22.236 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_builtins.py (29ms)
2024-08-27 12:07:22.237 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_builtins.py (29ms)
2024-08-27 12:07:22.312 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_nevergrad.py ...
2024-08-27 12:07:22.313 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_nevergrad.py (76ms)
2024-08-27 12:07:22.313 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_nevergrad.py (76ms)
2024-08-27 12:07:22.321 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_optuna.py ...
2024-08-27 12:07:22.321 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_optuna.py (8ms)
2024-08-27 12:07:22.321 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_optuna.py (8ms)
2024-08-27 12:07:22.329 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_opytimizer.py ...
2024-08-27 12:07:22.329 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_opytimizer.py (8ms)
2024-08-27 12:07:22.329 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_opytimizer.py (8ms)
2024-08-27 12:07:22.334 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_pypop7.py ...
2024-08-27 12:07:22.335 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_pypop7.py (6ms)
2024-08-27 12:07:22.335 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_pypop7.py (6ms)
2024-08-27 12:07:22.345 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_scipy.py ...
2024-08-27 12:07:22.346 [info] (35868) [BG(1)]   checking: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_scipy.py (11ms)
2024-08-27 12:07:22.346 [info] (35868) [BG(1)] analyzing: file:///f%3A/Stuff/Programming/AI/optforge/tests/test_convergence/test_convergence_scipy.py (11ms)
2024-08-27 12:07:22.351 [info] (35868) [BG(1)] indexing: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py [found 1] (0ms)
2024-08-27 12:07:22.352 [info] (35868) Indexing Done: file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py
2024-08-27 12:07:22.368 [info] (35868) [BG(1)] SemanticTokens delta previousResultId:1724749641704 at file:///f%3A/Stuff/Programming/AI/optforge/src/optforge/history.py (1ms)

This is the exact part tha always gets outputted after cmd window pops up

2024-08-27 12:07:17.933 [info] [Info  - 12:07:17 PM] (35868) SourceFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\src\optforge\__pycache__\history.cpython-312.pyc'
2024-08-27 12:07:17.933 [info] [Info  - 12:07:17 PM] (35868) LibraryFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\src\optforge\__pycache__\history.cpython-312.pyc'
2024-08-27 12:07:19.833 [info] [Info  - 12:07:19 PM] (35868) SourceFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\.pytest_cache\v\cache\stepwise'
2024-08-27 12:07:19.834 [info] [Info  - 12:07:19 PM] (35868) LibraryFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\.pytest_cache\v\cache\stepwise'
2024-08-27 12:07:19.834 [info] [Info  - 12:07:19 PM] (35868) SourceFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\opytimizer.log'
2024-08-27 12:07:19.834 [info] [Info  - 12:07:19 PM] (35868) LibraryFile: Received fs event 'change' for path 'f:\Stuff\Programming\AI\optforge\opytimizer.log'

In an issue microsoft/vscode-python#20284 I found that changing "Windows Terminal" to "Console Host" as the default terminal, the issue was gone. However for me, the issue is not gone, now I get console host popups. Otherwise my issue looks exactly the same.

In microsoft/vscode-python#20836 I found to add "python.experiments.optInto": ["pythonTerminalEnvVarActivation"], however that didn't solve the issue either.

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Aug 27, 2024
@heejaechang
Copy link
Contributor

do you have anything set up to automatically run after a file is saved such as linter or formatter? if you do, can you disable that and retry?

that said, there is a slightly more complicate but something that can greatly help us to find out what is going on if you can provide us a window log.

window has a way to log/track every single process creation. but it is disabled by default, if you turn it on and repro again, it will point us exactly what process ran with what command line options by who.

1, open gpedit.msc (group policy editor)
2. Computer configuration -> windows settings -> security settings -> Advanced Audit Policy Configuration -> System Audit Policies -> Detailed Tracking -> Audit Process Creation (double click and enable both success and failure)
3. Administrative Templates -> System -> Audit Process Creation -> Include command line in process creation events (double click and enable it)

  1. repro the issue you showed above (make sure you remember time when it happened)

  2. open eventvwr.msc (event viewer)

  3. Windows Logs -> Security (find Event ID: 4688 and find log entry at the time you reproed and double click and go to details and click XML view and provide us the xml)

that log should tell us how the process is created by what.

after that, you can disable the Audit process

@heejaechang heejaechang added the waiting for user response Requires more information from user label Aug 27, 2024
@heejaechang
Copy link
Contributor

@inikishev if you can't pinpoint exact entries from the log, please provide all entries around the time it reproed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

2 participants