-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal escape sequences shown when running code #24780
Comments
@Tyriar This looks like a terminal bug. |
hey, sorry to be persistent, but any idea how I might fix or get around this? I'd really love to use vscode with uv... |
hello @karthiknadig or @Tyriar , any ideas on how I might resolve this? Just tried again on a fresh repo with a fresh install of vscode last night after a month, still hitting the same issue though. |
@MaxPowerWasTaken Try toggling this setting as a potential workaround. You will have to re-open the terminal: |
thanks for the suggestion @karthiknadig . I toggled that setting from checked to unchecked, then restarted vscode but still am having the same problem. this time higlighted and hit shift+enter on the following two lines:
and observed the following in my integrated terminal:
|
Turn off |
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.95.3. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
This is definitely related to the python shell integration script. I don't think this happens anymore though as it's disabled in Windows for now. |
Hi @Tyriar, I observed this issue on my ubuntu24.04 laptop (not linux as in windows/wsl). Should it still be closed already, even if it should be resolved on windows machines? |
@MaxPowerWasTaken thanks for the clarification, I missed that. Reopening for @anthonykim1 to consider. |
Can @MaxPowerWasTaken @nuzar update the Python extension to lastest and make sure you turned off setting for Make sure to reload as these changes wont be in effect until you reload after change this setting. |
Type: Bug
I have the following code in my
main.py
:I can create a python3.12 environment with pymupdf installed and run it from my (kubuntu24.04) shell without issues, with the following commands (showing shell log after each >command):
However, when I launch vscode from this folder with my uv venv activated with code ., and then highlight the line import pymupdf and hit shift+enter to run it in the integrated terminal, I get the following vscode integrated terminal output:
Things I've tried so far:
clear terminal
andkill terminal
and then trying againWhen I use the command pallet to select python interpreter, it shows me it's trying to use Python 3.12.6('.venv') ./.venv/bin/python, as it should be, and as the vscode integrated logs above already indicate.
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Linux x64 6.10.6-061006-generic
Modes:
System Info
canvas_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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Extensions (26)
A/B Experiments
The text was updated successfully, but these errors were encountered: