microsoft / coding-pack-for-python

Documentation and issues for the VS Code Python installer.
Creative Commons Attribution 4.0 International
30 stars 4 forks source link

Installer v2021.219.3 error #68

Open BlackSpade2003 opened 2 years ago

BlackSpade2003 commented 2 years ago

info: Started {"timestamp":"2022-06-17T00:39:18.346Z"} verbose: Ids: {"machineId":"c4588666458117760faffd2d8442b102599162325a335c55429bbbbbeee6cb24","sessionId":"a18fbb68-c6ff-4437-8c70-97e43df7ff5d1655426356599","timestamp":"2022-06-17T00:39:18.356Z"} info: Detecting bundled binaries... {"timestamp":"2022-06-17T00:39:18.387Z"} info: Detecting packed Python... {"timestamp":"2022-06-17T00:39:18.388Z"} info: Detected packed Python at C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip {"timestamp":"2022-06-17T00:39:18.488Z"} info: Detecting packed VSCode... {"timestamp":"2022-06-17T00:39:18.488Z"} error: Failed to detect packed VSCode. {"timestamp":"2022-06-17T00:39:18.492Z"} info: Detecting packed extensions... {"timestamp":"2022-06-17T00:39:18.492Z"} info: Detected packed extensions: [{"path":"C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix"},{"path":"C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix"},{"path":"C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"}] {"timestamp":"2022-06-17T00:39:18.495Z"} info: Detected packed binaries: {"python":{"path":"C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip"},"extensions":[{"path":"C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix"},{"path":"C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix"},{"path":"C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"}],"timestamp":"2022-06-17T00:39:18.496Z"} info: Detecting installed components... {"timestamp":"2022-06-17T00:39:18.496Z"} info: Detecting installed Python... {"timestamp":"2022-06-17T00:39:18.497Z"} error: Failed to get registry key HKCU\Software\Python\PythonCodingPack\3.8\DisplayName. Encountered error: p: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value. {"timestamp":"2022-06-17T00:39:19.552Z"} error: Encountered while detecting installed Python: Failed to get registry key HKCU\Software\Python\PythonCodingPack\3.8\DisplayName. Encountered error: p: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value. {"timestamp":"2022-06-17T00:39:19.554Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-17T00:39:19.554Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-17T00:39:19.555Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-17T00:39:19.932Z"} info: Detecting installed extensions... {"timestamp":"2022-06-17T00:39:19.933Z"} info: Detected installed extensions: {"ms-python.python":true,"ms-python.vscode-pylance":true,"ms-python.gather":false,"ms-vsliveshare.vsliveshare":false} {"timestamp":"2022-06-17T00:39:19.934Z"} info: Detected installed components: {"vscode":{"name":"VSCode","homedir":"E:\Microsoft VS Code\","version":"0","displayVersion":"1.68.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"}},"extensions":{"ms-python.python":true,"ms-python.vscode-pylance":true,"ms-python.gather":false,"ms-vsliveshare.vsliveshare":false},"isPythonPartiallyInstalled":false,"timestamp":"2022-06-17T00:39:19.935Z"} info: Starting to install VS Code and extensions... {"timestamp":"2022-06-17T00:40:01.067Z"} info: Attempting to install the following VS Code extensions: ["C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix","C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix","C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"] {"timestamp":"2022-06-17T00:40:01.068Z"} info: Currently installing extension ms-python.python from the extension marketplace... {"timestamp":"2022-06-17T00:40:01.070Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.python","timestamp":"2022-06-17T00:40:01.070Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-17T00:40:01.070Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-17T00:40:01.070Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-17T00:40:01.414Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"E:\Microsoft VS Code\","version":"0","displayVersion":"1.68.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-17T00:40:01.415Z"} verbose: exec: E:\Microsoft VS Code\Code.exe {"timestamp":"2022-06-17T00:40:01.415Z"} verbose: cli: E:\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-17T00:40:01.416Z"} info: Installing extensions... Extension 'ms-python.python' v2022.8.0 is already installed. Use '--force' option to update to latest version or provide '@' to install a specific version, for example: 'ms-python.python@1.2.3'. {"timestamp":"2022-06-17T00:40:02.900Z"} info: Successfully installed extension ms-python.python. {"timestamp":"2022-06-17T00:40:02.901Z"} info: Successfully installed extension ms-python.python from the extension marketplace. {"timestamp":"2022-06-17T00:40:02.901Z"} info: Currently installing extension ms-python.gather from the extension marketplace... {"timestamp":"2022-06-17T00:40:02.921Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.gather","timestamp":"2022-06-17T00:40:02.921Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-17T00:40:02.922Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-17T00:40:02.922Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-17T00:40:03.323Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"E:\Microsoft VS Code\","version":"0","displayVersion":"1.68.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-17T00:40:03.323Z"} verbose: exec: E:\Microsoft VS Code\Code.exe {"timestamp":"2022-06-17T00:40:03.324Z"} verbose: cli: E:\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-17T00:40:03.325Z"} info: Installing extensions... Installing extension 'ms-python.gather'... Extension 'ms-python.gather' v2022.3.0 was successfully installed. {"timestamp":"2022-06-17T00:40:10.250Z"} error: (node:18620) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use Code --trace-deprecation ... to show where the warning was created) {"timestamp":"2022-06-17T00:40:10.250Z"} info: Successfully installed extension ms-python.gather. {"timestamp":"2022-06-17T00:40:10.250Z"} info: Successfully installed extension ms-python.gather from the extension marketplace. {"timestamp":"2022-06-17T00:40:10.251Z"} info: Currently installing extension ms-python.vscode-pylance from the extension marketplace... {"timestamp":"2022-06-17T00:40:10.274Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.vscode-pylance","timestamp":"2022-06-17T00:40:10.274Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-17T00:40:10.275Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-17T00:40:10.276Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-17T00:40:10.600Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"E:\Microsoft VS Code\","version":"0","displayVersion":"1.68.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-17T00:40:10.600Z"} verbose: exec: E:\Microsoft VS Code\Code.exe {"timestamp":"2022-06-17T00:40:10.601Z"} verbose: cli: E:\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-17T00:40:10.602Z"} info: Installing extensions... Extension 'ms-python.vscode-pylance' v2022.6.20 is already installed. Use '--force' option to update to latest version or provide '@' to install a specific version, for example: 'ms-python.vscode-pylance@1.2.3'. {"timestamp":"2022-06-17T00:40:13.035Z"} info: Successfully installed extension ms-python.vscode-pylance. {"timestamp":"2022-06-17T00:40:13.036Z"} info: Successfully installed extension ms-python.vscode-pylance from the extension marketplace. {"timestamp":"2022-06-17T00:40:13.036Z"} info: Currently installing extension ms-vsliveshare.vsliveshare from the extension marketplace... {"timestamp":"2022-06-17T00:40:13.051Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-vsliveshare.vsliveshare","timestamp":"2022-06-17T00:40:13.052Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-17T00:40:13.052Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-17T00:40:13.052Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-17T00:40:13.427Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"E:\Microsoft VS Code\","version":"0","displayVersion":"1.68.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-17T00:40:13.427Z"} verbose: exec: E:\Microsoft VS Code\Code.exe {"timestamp":"2022-06-17T00:40:13.429Z"} verbose: cli: E:\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-17T00:40:13.430Z"} info: Installing extensions... Installing extension 'ms-vsliveshare.vsliveshare'... Extension 'ms-vsliveshare.vsliveshare' v1.0.5625 was successfully installed. {"timestamp":"2022-06-17T00:40:42.121Z"} error: (node:15372) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use Code --trace-deprecation ... to show where the warning was created) {"timestamp":"2022-06-17T00:40:42.121Z"} info: Successfully installed extension ms-vsliveshare.vsliveshare. {"timestamp":"2022-06-17T00:40:42.121Z"} info: Successfully installed extension ms-vsliveshare.vsliveshare from the extension marketplace. {"timestamp":"2022-06-17T00:40:42.121Z"} info: Finished installing extensions. {"timestamp":"2022-06-17T00:40:42.130Z"} info: Attempting to write cohort identifier to extension folder at C:\Users\user.vscode\extensions\PythonCodingPack... {"timestamp":"2022-06-17T00:40:42.131Z"} info: Successfully wrote cohort identifier to extension folder at C:\Users\user.vscode\extensions\PythonCodingPack. {"timestamp":"2022-06-17T00:40:42.135Z"} info: Attempting to create starter Python file at C:\Users\user\Documents\hello.py... {"timestamp":"2022-06-17T00:40:42.136Z"} info: Successfully created starter Python file. {"timestamp":"2022-06-17T00:40:42.139Z"} info: Completed installing VS Code and extensions. {"timestamp":"2022-06-17T00:40:42.139Z"} info: Attempting to install Python and packages... {"timestamp":"2022-06-17T00:40:42.160Z"} info: Detecting packed Python... {"timestamp":"2022-06-17T00:40:42.161Z"} info: Detected packed Python at C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip {"timestamp":"2022-06-17T00:40:42.169Z"} info: Attempting to extract Python files from C:\Users\user\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip... {"timestamp":"2022-06-17T00:40:42.170Z"} info: Attempting to rename C:\Users\user\AppData\Local\Programs\PythonCodingPack to C:\Users\user\AppData\Local\Programs\pneicrujse... {"timestamp":"2022-06-17T00:40:42.170Z"} info: Encountered error while attempting to rename and delete existing custom Python directory from C:\Users\user\AppData\Local\Programs\PythonCodingPack to C:\Users\user\AppData\Local\Programs\pneicrujse: Error: ENOENT: no such file or directory, rename 'C:\Users\user\AppData\Local\Programs\PythonCodingPack' -> 'C:\Users\user\AppData\Local\Programs\pneicrujse' {"timestamp":"2022-06-17T00:40:42.173Z"} info: Successfully extracted Python files to C:\Users\user\AppData\Local\Programs\PythonCodingPack. Elapsed time to extract Python: 199460ms. {"timestamp":"2022-06-17T00:44:01.634Z"} info: Writing keys to Windows Registry... {"timestamp":"2022-06-17T00:44:01.648Z"} info: Successfully completed writing keys to Windows Registry. {"timestamp":"2022-06-17T00:44:04.336Z"} verbose: Registry Item: TEMP REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Temp {"timestamp":"2022-06-17T00:44:04.691Z"} verbose: Registry Item: TMP REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Temp {"timestamp":"2022-06-17T00:44:04.691Z"} verbose: Registry Item: OneDrive REG_EXPAND_SZ C:\Users\user\OneDrive {"timestamp":"2022-06-17T00:44:04.691Z"} verbose: Registry Item: Path REG_EXPAND_SZ C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\user\AppData\Local\Programs\Python\Python310\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;%IntelliJ IDEA Community Edition%;E:\Microsoft VS Code\bin {"timestamp":"2022-06-17T00:44:04.691Z"} verbose: Registry Item: IntelliJ IDEA Community Edition REG_SZ C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.1.1\bin; {"timestamp":"2022-06-17T00:44:04.691Z"} info: Successfully located HKCU\Environment\Path {"timestamp":"2022-06-17T00:44:04.692Z"} info: Attempting to prepend Python to PATH with command: setx PATH C:\Users\user\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\user\AppData\Local\Programs\PythonCodingPack;C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\user\AppData\Local\Programs\Python\Python310\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;%IntelliJ IDEA Community Edition%;E:\Microsoft VS Code\bin {"timestamp":"2022-06-17T00:44:04.692Z"} info: Encountered error while updating PATH: Error: Command failed with exit code 1: setx PATH C:\Users\user\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\user\AppData\Local\Programs\PythonCodingPack;C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\;C:\Users\user\AppData\Local\Programs\Python\Python310\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;%IntelliJ IDEA Community Edition%;E:\Microsoft VS Code\bin ERROR: Access to the registry path is denied. {"timestamp":"2022-06-17T00:44:37.904Z"} info: Attempting to ensure pip is installed with command C:\Users\user\AppData\Local\Programs\PythonCodingPack\python.exe -m ensurepip --default-pip... {"timestamp":"2022-06-17T00:44:37.906Z"} info: Looking in links: c:\Users\user\AppData\Local\Temp\tmpyqvu1tbd Requirement already satisfied: setuptools in c:\users\user\appdata\local\programs\pythoncodingpack\lib\site-packages (47.1.0) Processing c:\users\user\appdata\local\temp\tmpyqvu1tbd\pip-20.1.1-py2.py3-none-any.whl Installing collected packages: pip Successfully installed pip-20.1.1 {"timestamp":"2022-06-17T00:44:58.428Z"} info: WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in 'C:\Users\user\AppData\Local\Programs\PythonCodingPack\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. {"timestamp":"2022-06-17T00:44:58.428Z"} info: Successfully executed command C:\Users\user\AppData\Local\Programs\PythonCodingPack\python.exe -m ensurepip --default-pip. {"timestamp":"2022-06-17T00:44:58.428Z"} info: Completed installing Python and packages. {"timestamp":"2022-06-17T00:44:58.439Z"} info: Attempting to enable Powershell scripts {"timestamp":"2022-06-17T00:44:58.455Z"} info: Successfully enabled Powershell scripts {"timestamp":"2022-06-17T00:44:58.903Z"}