microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.61k stars 28.14k forks source link

ERROR conda.cli.main_run:execute(49) #176897

Closed golaniy closed 1 year ago

golaniy commented 1 year ago

Type: Bug

Behaviour

Expected vs. Actual

Show details of test run in python test log: Actual printout in test log: Ran 1 test in 0.000s

OK ERROR conda.cli.main_run:execute(49): conda run python /Users/yotamg/.vscode/extensions/ms-python.python-2023.4.1/pythonFiles/get_output_via_markers.py /Users/yotamg/.vscode/extensions/ms-python.python-2023.4.1/pythonFiles/visualstudio_py_testlauncher.py --us=./unittests --up=test_*.py --uvInt=2 --result-port=61994 -ttest_utils.TestUtils.test_convert_datetime_to_timestamp --testFile=/Users/yotamg/bitbucket/pywiliot-deployment-tools/unittests/test_utils.py failed. (See above for error)

Steps to reproduce:

  1. run (on testing sidebar) when conda env is selected as interpreter for the project.

I have setup the correct path for conda executable in setting.

Diagnostic data

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

``` XXX ```

User Settings

``` condaPath: "" languageServer: "Pylance" testing • unittestArgs: "" • unittestEnabled: true terminal • executeInFileDir: "" ```

VS Code version: Code 1.76.1 (Universal) (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:09.831Z) OS version: Darwin arm64 22.1.0 Modes: Sandboxed: Yes

System Info |Item|Value| |---|---| |CPUs|Apple M2 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|3, 3, 3| |Memory (System)|16.00GB (0.12GB free)| |Process Argv|--crash-reporter-id 2437a0dd-fcec-4e2d-997f-a74f9cb34383| |Screen Reader|no| |VM|0%|
Extensions (26) Extension|Author (truncated)|Version ---|---|--- atlascode|atl|3.0.2 path-intellisense|chr|2.8.4 databricks|dat|0.3.3 sqltools-databricks-driver|dat|0.4.1 vscode-quick-select|dba|0.2.9 python-environment-manager|don|1.0.4 xml|Dot|2.5.1 gitlens|eam|13.3.2 gc-excelviewer|Gra|4.2.56 vsc-python-indent|Kev|1.18.0 black-formatter|ms-|2022.6.0 isort|ms-|2022.8.0 python|ms-|2023.4.1 vscode-pylance|ms-|2023.3.20 jupyter|ms-|2023.2.1200692131 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 sqltools|mtx|0.27.1 autodocstring|njp|0.6.1 indent-rainbow|ode|8.3.1 vscode-yaml|red|1.12.1 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 markdown-all-in-one|yzh|3.5.0
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30681850 azure-dev_surveyone:30548225 vscccc:30610679 pyindex848:30662994 nodejswelcome1:30587005 3biah626:30602489 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 vsctsb:30677850 funwalk2cf:30682975 pythonms35:30680984 ```
golaniy commented 1 year ago
Screenshot 2023-03-12 at 16 45 45
mjbvz commented 1 year ago

/extPython

VSCodeTriageBot commented 1 year ago

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.

Happy Coding!

fire-007 commented 1 year ago

The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect. ERROR conda.cli.main_run:execute(47): conda run python C:\pythonProject\thirst.py failed. (See above for error)