Closed lumisong closed 1 month ago
Steps: 1. 2. Notes:
The selected target for installation is pandas 2.1.4 (anaconda/pkgs/main), which will encounter the above issue.
However, if I choose to install from the source: pandas 2.1.4 (pkgs/main), this problem will not exist.
Next: choose to install from the source: pandas 2.1.4 (pkgs/main) will cause new question.
Like: #74
Type: Bug
Like issues: #72
Environment data
Expected behaviour
When executing
conda update --all
or updating packages through the extension interface, all installed packages should be successfully updated, or a message indicating that there are no packages to update should be prompted.Actual behaviour
When trying to update all installed packages through the Python Environment Manager extension in VS Code, a TypeError occurred, indicating that it cannot read the 'UNLINK' value of an undefined attribute.
Steps to reproduce:
Logs
///text Error: Failed to get latest package information for /home/lumisong/桌面/mice_well_log_imputation/MICE_Conda/bin/python) TypeError: Cannot read properties of undefined (reading 'UNLINK') at getOutdatedCondaPackages (/home/lumisong/.vscode/extensions/donjayamanne.python-environment-manager-1.2.4/out/client/extension.js:19757:13) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) at getOutdatedPackages (/home/lumisong/.vscode/extensions/donjayamanne.python-environment-manager-1.2.4/out/client/extension.js:19122:46) /// all logs
/// Debug: Searching for Conda packages with command conda,search,-f,p]}
<<<<<<<<<<<<<<<<<<<<<<<
Debug: conda update --all -d -p /home/lumisong/桌面/mice_well_log_imputation/MICE_Conda --json: { "message": "All requested packages already installed.", "success": true }
Error: Failed to get latest package information for /home/lumisong/桌面/mice_well_log_imputation/MICE_Conda/bin/python) TypeError: Cannot read properties of undefined (reading 'UNLINK') at getOutdatedCondaPackages (/home/lumisong/.vscode/extensions/donjayamanne.python-environment-manager-1.2.4/out/client/extension.js:19757:13) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) at getOutdatedPackages (/home/lumisong/.vscode/extensions/donjayamanne.python-environment-manager-1.2.4/out/client/extension.js:19122:46) ///
Extension version: 1.2.4 VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:41:37.860Z) OS version: Linux x64 5.15.0-94-generic Modes:
System Info
|Item|Value| |---|---| |CPUs|AMD Ryzen 5 5600X 6-Core Processor (12 x 2200)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|31.22GB (10.25GB free)| |Process Argv|--unity-launch --crash-reporter-id b0b8be32-057c-4c03-bba6-fcec34664117| |Screen Reader|yes| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|x11|
A/B Experiments
``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 fegfb526:30961430 7j2b6412:30967274 ```