Skip to content

ACP mode: Failed to initialize OpenAI logger #2671

@brechtm

Description

@brechtm

What happened?

I was using an older version of Qwen Code successfully in Zed (sorry, I don't recall which version that was). The latest version fails with:

{
  "code": -32603,
  "message": "Internal error",
  "data": {
    "details": "Failed to initialize OpenAI logger: Error: ENOENT: no such file or directory, mkdir '/logs'"
  }
}

It seems it's trying to create a 'logs' directory at the filesystem root. The old version I was using created that directory in the current directory (the root directory for the project opened in Zed).

This is on MacOS.

See also zed-industries/zed#52148

What did you expect to happen?

No error message.

Client information

Client Information

Run qwen to enter the interactive CLI, then run the /about command.

Qwen Code                         0.12.6 (ac30c98a2)                                             │
  │ Runtime                           Node.js v25.2.1 / npm 11.6.2                                   │
  │ OS                                darwin arm64 (25.2.0)                                          │
  │                                                                                                  │
  │ Auth                              Qwen OAuth                                                     │
  │ Model                             coder-model                                                    │
  │ Session ID                        e230d780-eba4-429b-a6e5-3d3742e86da0                           │
  │ Sandbox                           no sandbox                                                     │
  │ Proxy                             no proxy                                                       │
  │ Memory Usage                      289.4 MB```

</details>


### Login information

OAuth

### Anything else we need to know?

_No response_

Metadata

Metadata

Assignees

Labels

status/needs-triageIssue needs to be triaged and labeledtype/bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions