microsoft / microsoft/vscode-python-web-wasm

Cannot run python files with spaces in the name

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
100
Forks
15
PR merge metrics
No merged PRs in 30d

Description

If I try to run a python file with a space in the name, I get:

python: can't open file '/workspace/example%20file.py': [Errno 44] No such file or directory

Is this a known issue, and is there any workaround? Or it it just a bug?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names no source file, test, or entry point. Reproduce the problem with a Python filename containing a space, then trace the extension's file-path handling; done means the file runs successfully and the case is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, wasm
Domain
tooling, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.