QwenLM / QwenLM/qwen-code

External Editor as cursor throws error

Open
#447 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
TypeScript
Stars
28k
Forks
3.1k
Avg merge
1d 1h
Merged PRs (30d)
702

Description

What happened?

On choosing cursor as external editor

Error: cursor exited with code 133 │ │ at ChildProcess.<anonymous> │ │ (file:///home/faishal/.nvm/versions/node/v22.18.0/lib/node_modules/@qwen-code/qwen-code/node_modules/@qwen-code/qwen-code-core/dist/src/ut │ │ ils/editor.js:150:36) │ │ at ChildProcess.
What did you expect to happen?

The qwen-coder should have opened the editor cursor and edited the required file

Client information
  • CLI Version: 0.0.8
  • Git Commit: 87ceb871
  • Operating System: linux v22.18.0
  • Sandbox Environment: no sandbox
  • Model Version: qwen3-coder-plus
  • Memory Usage: 271.3 MB
Login information

No response

Anything else we need to know?

No response

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.

Research direction

Start with the editor handling referenced in node_modules/@qwen-code/qwen-code-core/dist/src/utils/editor.js at line 150 and reproduce choosing Cursor as the external editor on Linux. Done means Cursor opens and edits the required file without exiting with code 133.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.