Skip to content

It is frustrating that in the latest versions an error of 0 occurrences found for old_string appears. #5629

@Neinndall

Description

@Neinndall

What happened?

I've been testing the last 2-3 versions and it seems that this annoying error still exists, which, once this error appears, there is no way to edit and finish the task, the solution is to close it and start a new conversation.

  Failed to edit, 0 occurrences found for old_string in                                                  
  C:\Users\neinndall\gemini-cli-0.1.16-nightly.250805.99ba2f64\gemini-cli-0.1.16-n          
  ightly.250805.99ba2f64\PBE_AssetsDownloader_v2.0.0.0 - dev\GEMINI.md. No edits made. The               
  exact text in old_string was not found. Ensure you're not escaping content incorrectly and             
  check whitespace, indentation, and context. Use read_file tool to verify.

What did you expect to happen?

That Gemini can edit without any problem.

Client information

CLI Version 0.1.16-nightly.250805.99ba2f64
Model gemini-2.5-pro and FLASH
Sandbox no sandbox
OS win32
Auth Method OAuth

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1Important and should be addressed in the near term.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions