random delay before several actions
See original GitHub issueEnvironment data
- VS Code version: 1.59.0-insider (user setup)
e8a59bc6f920e731b47f0bc72263e82aba8b796e
- Extension version (available under the Extensions sidebar): 2021.7.1053846006
- OS and version:
Windows_NT x64 10.0.19043
- Remote OS: Fedora release 34
- Python version: Python 3.9.6
- Type of virtual environment used: venv and N/A
- Value of the
python.languageServer
setting: Default
Actual behaviour
Random 5~10s delay before these actions:
- format file (a infinit progress bar on top of the editer)
- start debug (debug toolbar show immediately, with pause and stop button enabled)
- auto input
source xxx/activate
when open new terminal - auto lint when open file
No log output and python not start (in ps output) during the wait.
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
用户属于 'pythonaacf' 实验组
用户属于 'pythonJediLSP' 实验组
用户属于 'pythonDiscoveryModuleWithoutWatcher' 实验组
用户属于 'pythonTensorboardExperiment' 实验组
用户属于 'pythonSurveyNotification' 实验组
用户属于 'PythonPyTorchProfiler' 实验组
用户属于 'pythonDeprecatePythonPath' 实验组
用户属于 'pythonSortEnvscf' 实验组
Python 解释器路径: ./.venv/bin/python
Error 2021-07-23 13:28:30: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): 无法读取文件'vscode-remote://ssh-remote+ci-home/root/.config/Code - Insiders/User/settings.json' (Error: 无法解析不存在的文件"vscode-remote://ssh-remote+ci-home/root/.config/Code - Insiders/User/settings.json")
at _handleError (/root/.vscode-server-insiders/bin/e8a59bc6f920e731b47f0bc72263e82aba8b796e/out/vs/server/remoteExtensionHostProcess.js:85:158354)
at async y.readText (/root/.vscode-server-insiders/extensions/ms-python.python-2021.7.1053846006/out/client/extension.js:9:341417)
at async p.doesFileNeedToBeFixed (/root/.vscode-server-insiders/extensions/ms-python.python-2021.7.1053846006/out/client/extension.js:59:589732)
at async /root/.vscode-server-insiders/extensions/ms-python.python-2021.7.1053846006/out/client/extension.js:59:588859
at async Promise.all (index 0)
at async p.getFilesToBeFixed (/root/.vscode-server-insiders/extensions/ms-python.python-2021.7.1053846006/out/client/extension.js:59:588805)
at async p.updateTestSettings (/root/.vscode-server-insiders/extensions/ms-python.python-2021.7.1053846006/out/client/extension.js:59:588432)] {
code: 'FileNotFound'
}
> /MY_PROJECT/.venv/bin/python -m pylint --enable=W0614 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text /MY_PROJECT/main.py
cwd: /MY_PROJECT
> /MY_PROJECT/.venv/bin/python -m pylint --enable=W0614 --msg-template='{line},{column},{category},{symbol}:{msg}' --reports=n --output-format=text /MY_PROJECT/main.py
cwd: /MY_PROJECT
##########Linting Output - pylint##########
************* Module main
1,0,convention,missing-module-docstring:Missing module docstring
4,0,error,no-value-for-parameter:No value for argument 'url' in function call
----------------------------------------------------------------------
Your code has been rated at -10.00/10 (previous run: -10.00/10, +0.00)
正在启动 Pylance 语言服务器。
> /MY_PROJECT/.venv/bin/python -m yapf --diff /MY_PROJECT/main.py
cwd: /MY_PROJECT
> /MY_PROJECT/.venv/bin/python -m yapf --diff /MY_PROJECT/main.py
cwd: /MY_PROJECT
> conda --version
> /MY_PROJECT/.venv/bin/python -m yapf --diff /MY_PROJECT/main.py
cwd: /MY_PROJECT
> /MY_PROJECT/.venv/bin/python -m yapf --diff /MY_PROJECT/main.py
cwd: /MY_PROJECT
everytime I format a file, there’s two lines in the log, is this normal?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:34 (2 by maintainers)
Top Results From Across the Web
Add random delay between actions - AutoHotkey Community
Hello, I'd like to ask for help in adding a random delay between each action in this code. So it's less detectable.
Read more >How to run an action at a random times, like creating social ...
In this case I only want my actions to be performed between the hours of midnight and 3 am, so I chose some...
Read more >Random Delay/Wait Between Actions - Quick Macros
I would like to insert a random (interval between 10 seconds and 10 minutes) wait between steps/actions in the macro. Could someone show...
Read more >Random Actions - Rule Machine - Hubitat Community
You can use a random, delay (the delay will be somewhere between 0 and your chosen value when thus option is chosen). So...
Read more >How to perform an action after a Random Time Delay? - Android
Seeing as in the matter is completely logical and not really technical- I need to somehow introduce a non-fixed time delay before the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will be fixed in the next release which is scheduled in a week!
Unfortunately, @karrtikr misspoke. As no fix has landed yet we can’t promise when this will be made available publicly. And our next release is scheduled for the first week of September. But we are considering a point release with any fix we land and are hopefully we have figured out the issue in order to fix it.