microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.3k stars 294 forks source link

Cannot copy error information in cell output correctly #16242

Open zhong-yy opened 6 hours ago

zhong-yy commented 6 hours ago

Applies To

What happened?

For example, Image

After pasting, the above error output becomes

[678](https://file+.vscode-resource.vscode-cdn.net/home/user/DATA/tests/~/miniconda3/envs/myenv/lib/python3.10/site-packages/mypkg/utils/processing.py:678) Logger.debug(f"dtype for {_id}: {data.dtype}")

IndexError: index 0 is out of bounds for axis 0 with size 0

A long extra text like "https://file+.vscode-resource.vscode-cdn.net/home/..." always occurs.

VS Code Version

1.93.1

Jupyter Extension Version

v2024.10.0

Jupyter logs

Coding Language and Runtime Version

python v3.10.14

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

None