We have written the needed data into your clipboard because it was too large to send. Please paste.
Type: Bug
Behaviour
Problems occurs since I updated my mac to new OS version 15.0 in the morning. It seems that the test explorer has problems with node when I try to collect my tests using node/aws cdk. On pure CLI everything works as expected.
Steps to reproduce:
XXX
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
```
==================================== ERRORS ====================================
__________________ ERROR collecting tests/cdk/test_config.py ___________________
tests/cdk/test_config.py:1: in
from cdkstacks.config import Config
cdkstacks/config.py:1: in
from aws_cdk import Aws, CfnParameter, Fn, aws_kms
.venv/lib/python3.10/site-packages/aws_cdk/__init__.py:1519: in
from ._jsii import *
.venv/lib/python3.10/site-packages/aws_cdk/_jsii/__init__.py:16: in
import aws_cdk.asset_awscli_v1._jsii
.venv/lib/python3.10/site-packages/aws_cdk/asset_awscli_v1/_jsii/__init__.py:13: in
__jsii_assembly__ = jsii.JSIIAssembly.load(
.venv/lib/python3.10/site-packages/jsii/_runtime.py:55: in load
_kernel.load(assembly.name, assembly.version, os.fspath(assembly_path))
.venv/lib/python3.10/site-packages/jsii/_kernel/__init__.py:299: in load
self.provider.load(LoadRequest(name=name, version=version, tarball=tarball))
.venv/lib/python3.10/site-packages/jsii/_kernel/providers/process.py:354: in load
return self._process.send(request, LoadResponse)
.venv/lib/python3.10/site-packages/jsii/_utils.py:23: in wrapped
stored.append(fgetter(self))
.venv/lib/python3.10/site-packages/jsii/_kernel/providers/process.py:349: in _process
process.start()
.venv/lib/python3.10/site-packages/jsii/_kernel/providers/process.py:260: in start
self._process = subprocess.Popen(
/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'node'
```
Extension version: 2024.14.1
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Darwin arm64 24.0.0
Modes:
Python version (& distribution if applicable, e.g. Anaconda): 3.10.15
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Default
We have written the needed data into your clipboard because it was too large to send. Please paste. Type: Bug
Behaviour
Problems occurs since I updated my mac to new OS version 15.0 in the morning. It seems that the test explorer has problems with node when I try to collect my tests using node/aws cdk. On pure CLI everything works as expected.
Steps to reproduce:
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)``` ==================================== ERRORS ==================================== __________________ ERROR collecting tests/cdk/test_config.py ___________________ tests/cdk/test_config.py:1: in
from cdkstacks.config import Config
cdkstacks/config.py:1: in
from aws_cdk import Aws, CfnParameter, Fn, aws_kms
.venv/lib/python3.10/site-packages/aws_cdk/__init__.py:1519: in
from ._jsii import *
.venv/lib/python3.10/site-packages/aws_cdk/_jsii/__init__.py:16: in
import aws_cdk.asset_awscli_v1._jsii
.venv/lib/python3.10/site-packages/aws_cdk/asset_awscli_v1/_jsii/__init__.py:13: in
__jsii_assembly__ = jsii.JSIIAssembly.load(
.venv/lib/python3.10/site-packages/jsii/_runtime.py:55: in load
_kernel.load(assembly.name, assembly.version, os.fspath(assembly_path))
.venv/lib/python3.10/site-packages/jsii/_kernel/__init__.py:299: in load
self.provider.load(LoadRequest(name=name, version=version, tarball=tarball))
.venv/lib/python3.10/site-packages/jsii/_kernel/providers/process.py:354: in load
return self._process.send(request, LoadResponse)
.venv/lib/python3.10/site-packages/jsii/_utils.py:23: in wrapped
stored.append(fgetter(self))
.venv/lib/python3.10/site-packages/jsii/_kernel/providers/process.py:349: in _process
process.start()
.venv/lib/python3.10/site-packages/jsii/_kernel/providers/process.py:260: in start
self._process = subprocess.Popen(
/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py:971: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/opt/homebrew/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py:1863: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: 'node'
```
Extension version: 2024.14.1 VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Darwin arm64 24.0.0 Modes:
python.languageServer
setting: DefaultUser Settings
``` languageServer: "Pylance" testing • pytestArgs: ""
• pytestEnabled: true
```
Installed Extensions
|Extension Name|Extension Id|Version| |---|---|---| |Amazon Q|amazonwebservices.amazon-q-vscode|1.25.0| |autoDocstring - Python Docstring Generator|njpwerner.autodocstring|0.6.1| |AWS boto3|Boto3typed.boto3-ide|0.6.0| |AWS Toolkit|amazonwebservices.aws-toolkit-vscode|3.24.0| |Azure Repos|ms-vscode.azure-repos|0.40.0| |Black Formatter|ms-python.black-formatter|2024.2.0| |Conventional Commits|vivaxy.vscode-conventional-commits|1.26.0| |Debugger for Java|vscjava.vscode-java-debug|0.58.0| |Dev Containers|ms-vscode-remote.remote-containers|0.384.0| |Docker|ms-azuretools.vscode-docker|1.29.2| |Draw.io Integration|hediet.vscode-drawio|1.6.6| |Extension Pack for Java|vscjava.vscode-java-pack|0.29.0| |GitHub Codespaces|GitHub.codespaces|1.17.3| |GitHub Repositories|GitHub.remotehub|0.64.0| |GitLens — Git supercharged|eamodio.gitlens|15.5.1| |Gradle for Java|vscjava.vscode-gradle|3.16.4| |IntelliCode|VisualStudioExptTeam.vscodeintellicode|1.3.1| |IntelliCode API Usage Examples|VisualStudioExptTeam.intellicode-api-usage-examples|0.2.8| |isort|ms-python.isort|2023.10.1| |JavaScript Debugger|ms-vscode.js-debug|1.93.0| |JavaScript Debugger Companion Extension|ms-vscode.js-debug-companion|1.1.3| |Jinja|wholroyd.jinja|0.0.8| |Jupyter|ms-toolsai.jupyter|2024.8.1| |Jupyter Cell Tags|ms-toolsai.vscode-jupyter-cell-tags|0.1.9| |Jupyter Notebook Renderers|ms-toolsai.jupyter-renderers|1.0.19| |Jupyter Slide Show|ms-toolsai.vscode-jupyter-slideshow|0.1.6| |jwt-decoder|jflbr.jwt-decoder|1.2.0| |Language Support for Java(TM) by Red Hat|redhat.java|1.34.0| |Maven for Java|vscjava.vscode-maven|0.44.0| |Parquet Explorer|AdamViola.parquet-explorer|1.2.1| |parquet-viewer|dvirtz.parquet-viewer|2.11.1| |Project Manager for Java|vscjava.vscode-java-dependency|0.24.0| |Pylance|ms-python.vscode-pylance|2024.9.1| |Python|ms-python.python|2024.14.1| |Python Debugger|ms-python.debugpy|2024.10.0| |Python Indent|KevinRose.vsc-python-indent|1.18.0| |Rainbow CSV|mechatroner.rainbow-csv|3.12.0| |Remote Repositories|ms-vscode.remote-repositories|0.42.0| |show-offset|ramyaraoa.show-offset|0.0.4| |Table Visualizer for JavaScript Profiles|ms-vscode.vscode-js-profile-table|1.0.9| |Tensorboard|ms-toolsai.tensorboard|2023.10.1002992421| |Test Runner for Java|vscjava.vscode-java-test|0.42.0|System Info
|Item|Value| |---|---| |CPUs|Apple M2 Pro (10 x 2400)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: enabled_on
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: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|2, 4, 7| |Memory (System)|16.00GB (0.09GB free)| |Process Argv|--crash-reporter-id 2e2ff828-1d2f-4da2-94f2-7a36952614e3| |Screen Reader|no| |VM|0%|