Couldn't even open TMC in VS code

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, vscode

Research direction

Reproduce the failure in the reported Windows and VS Code environment, using the logged tmc-langs CLI invocation as the starting point. Trace the activation path through _executeLangsCommand and _spawnLangsProcess in dist/lib.js, then verify that the extension can start and run the logged-in check without spawn EBUSY.

Written by the indexing model from the issue text.

Description

[2025-07-25 21:14:26:118] [INFO] Starting moocfi.test-my-code in "production" mode.
[2025-07-25 21:14:26:118] [INFO] Visual Studio Code version: 1.102.2
[2025-07-25 21:14:26:118] [INFO] moocfi.test-my-code version: 3.4.0
[2025-07-25 21:14:26:118] [INFO] Currently open workspace: python
[2025-07-25 21:14:26:118] [INFO] Platform win32 Arch x64
[2025-07-25 21:14:26:118] [INFO] TMC-Langs version: tmc-langs-cli-x86_64-pc-windows-msvc-0.38.0.exe
[2025-07-25 21:14:26:686] [ERROR] Mismatch between CLI and checksum, trying redownload
[2025-07-25 21:14:26:702] [INFO] Downloading TMC-langs from https://download.mooc.fi/tmc-langs-rust/tmc-langs-cli-x86_64-pc-windows-msvc-0.38.0.exe to temporary file c:\Users\kairy\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli\temp-tmc-langs-cli-x86_64-pc-windows-msvc-0.38.0.exe
[2025-07-25 21:14:29:882] [INFO] Running "c:\Users\kairy\AppData\Roaming\Code\User\globalStorage\moocfi.test-my-code\cli\tmc-langs-cli-x86_64-pc-windows-msvc-0.38.0.exe" "tmc" "--client-name" "vscode_plugin" "--client-version" "3.4.0" "logged-in"
[2025-07-25 21:14:29:882] [DEBUG] TMC backend at https://tmc.mooc.fi
[2025-07-25 21:14:29:882] [DEBUG] MOOC backend at https://courses.mooc.fi
[2025-07-25 21:14:29:882] [DEBUG] Config dir at undefined
[2025-07-25 21:14:29:885] [ERROR] Fatal error during initialization:
Error: spawn EBUSY.

Error: spawn EBUSY
at ChildProcess.spawn (node:internal/child_process:420:11)
at Object.spawn (node:child_process:787:9)
at u._spawnLangsProcess (c:\Users\kairy.vscode\extensions\moocfi.test-my-code-3.4.0\dist\lib.js:2:747076)
at u._executeLangsCommand (c:\Users\kairy.vscode\extensions\moocfi.test-my-code-3.4.0\dist\lib.js:2:745072)
at u.isAuthenticated (c:\Users\kairy.vscode\extensions\moocfi.test-my-code-3.4.0\dist\lib.js:2:736432)
at c:\Users\kairy.vscode\extensions\moocfi.test-my-code-3.4.0\dist\extension.js:1:1714
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async r.activate (c:\Users\kairy.vscode\extensions\moocfi.test-my-code-3.4.0\dist\extension.js:1:1063)
at async db.n (file:///c:/Users/kairy/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13386)
at async db.m (file:///c:/Users/kairy/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:13349)
at async db.l (file:///c:/Users/kairy/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:112:12805)

Image
Dominant language
Ruby
Stars
51
Forks
42
Avg merge
1h 27m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

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.

More from testmycode/tmc-server

All issues in testmycode/tmc-server

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.