Hello,
since I installed VS Code to replace PyScripter on two PCs, every time a session setup is performed, VS Code asks to open the file "C:\Program Files\Microsoft VS Code\resources\app\out\cli.js".
I can't find any explanation in the logs.
Any idea what's going on?
[SOLVED] VsCode: cli.js opens automatically at each PC setup session
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Last edited by t.heroult on 20 Sep 2024 - 10:58, edited 1 time.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Just a quick follow-up.
Any idea what the problem is? This malfunction is quite annoying...
Any idea what the problem is? This malfunction is quite annoying...
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Code: Select all
"C:\Program Files (x86)\wapt\wapt-get.exe" session-setup ALL --ldebugIt said to me: "error: no such option: --ldebug"
So I tried with -ldebug
The result did not show any errors, but more importantly, it seems that the problem has disappeared.
I noticed with the task manager that the command had launched Vscode invisibly which worked a lot for 10-15 seconds (30% of the CPU).
The code executed at this time is:
I restarted the installation, audit, etc. commands and there were no more problems.
I placed the order again on another machine and got the same result, except this time it was very fast.
I don't know exactly why, but it fixed the bug.
If this happens again on another machine, I will make a note of it.
Thank you Simon!
So I tried with -ldebug
The result did not show any errors, but more importantly, it seems that the problem has disappeared.
I noticed with the task manager that the command had launched Vscode invisibly which worked a lot for 10-15 seconds (30% of the CPU).
The code executed at this time is:
Code: Select all
Run ""C:\Program Files\Microsoft VS Code\bin\code" --install-extension "C:\Program Files\Microsoft VS Code\ms-python.vscode-pylance-2024.2.1.vsix" --force"I placed the order again on another machine and got the same result, except this time it was very fast.
I don't know exactly why, but it fixed the bug.
If this happens again on another machine, I will make a note of it.
Thank you Simon!
Last edited by t.heroult on 10 Sep 2024 - 15:05, edited 1 time.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
However, it broke the autocomplete feature in VS Code...
I spent half a day trying to get it working!
EDIT:
I managed to recover a backup of the ".vscode" and "roaming/Code" folders and restore them. Phew!
I spent half a day trying to get it working!
EDIT:
I managed to recover a backup of the ".vscode" and "roaming/Code" folders and restore them. Phew!
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
