Skip to content
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

File paths placed without double quotes. #24729

Open
alexandrogds opened this issue Jan 20, 2025 · 1 comment
Open

File paths placed without double quotes. #24729

alexandrogds opened this issue Jan 20, 2025 · 1 comment
Assignees
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug

Comments

@alexandrogds
Copy link

alexandrogds commented Jan 20, 2025

Type: Bug

Behaviour

The python file path and the file path to run are being called by the terminal without double quotes surrounding each.

Steps to reproduce:

  1. Use Windows.
  2. Use a versão do vscode 1.96.4.
  3. Use Power Shell default.
  4. Crie uma pasta com nome "RPG's".
  5. Pelo vscode na barra de status, geralmente a penúltima opção clique e crie um .venv.
  6. Dentro da pasta "RPG's" crie o arquivo test.py com o código print('ok').
  7. Run o arquivo python pelo botão de play no vscode.
  8. Notará que o arquivo não run.

Image

Diagnostic data

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

XXX

Extension version: 2024.22.2
VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.19045
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.13.1
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
  • Value of the python.languageServer setting: Default
User Settings


languageServer: "Pylance"

Installed Extensions
Extension Name Extension Id Version
GitHub Codespaces GitHub.codespaces 1.17.3
JavaScript Debugger ms-vscode.js-debug 1.96.0
JavaScript Debugger Companion Extension ms-vscode.js-debug-companion 1.1.3
Pylance ms-python.vscode-pylance 2024.12.1
Python ms-python.python 2024.22.2
Python Debugger ms-python.debugpy 2024.14.0
Table Visualizer for JavaScript Profiles ms-vscode.vscode-js-profile-table 1.0.10
System Info
Item Value
CPUs Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz (4 x 2494)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: unavailable_off
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: unavailable_off
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.88GB (7.83GB free)
Process Argv --folder-uri file:///c%3A/Users/user/lib%20python --crash-reporter-id 53aeffc2-d52d-49b9-8a05-afee09b10ed0
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 20, 2025
@anthonykim1 anthonykim1 added area-terminal bug Issue identified by VS Code Team member as probable bug and removed triage-needed Needs assignment to the proper sub-team labels Jan 24, 2025
@anthonykim1
Copy link

I think it might be the ' in your RPG's that is messing things up. Can you remove the 's and see if you can still repro the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-terminal bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants