Skip to content

Space in extension path: Activation Environment tests failing #14163

@rchiodo

Description

@rchiodo

Error when extension has space in path:

  1. Activation of Environments in Terminal
    Should not activate:
    Error: /home/runner/work/vscode-python/vscode-python/path with spaces/src/testMultiRootWkspc/smokeTests/testExecInTerminal_3.log file not created.
    at Timeout. (out/test/common.js:325:20)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

  2. Activation of Environments in Terminal
    Should activate with pipenv:
    Error: /home/runner/work/vscode-python/vscode-python/path with spaces/src/testMultiRootWkspc/smokeTests/testExecInTerminal_8.log file not created.
    at Timeout. (out/test/common.js:325:20)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

  3. Activation of Environments in Terminal
    Should activate with virtualenv:
    Error: /home/runner/work/vscode-python/vscode-python/path with spaces/src/testMultiRootWkspc/smokeTests/testExecInTerminal_12.log file not created.
    at Timeout. (out/test/common.js:325:20)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

  4. Activation of Environments in Terminal
    Should activate with conda:
    Error: /home/runner/work/vscode-python/vscode-python/path with spaces/src/testMultiRootWkspc/smokeTests/testExecInTerminal_16.log file not created.
    at Timeout. (out/test/common.js:325:20)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

Steps to repro:

  1. Git clone with a space in the path
  2. Run the appropriate tests

If that doesn't repro, then try using a github action to repro. See this PR:
#14113

Metadata

Metadata

Assignees

Labels

area-internalLabel for non-user facing issuesbugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions