Skip to content

Failed to apply patch consantly #12241

@miniq15

Description

@miniq15

What version of the Codex App are you using (From “About Codex” dialog)?

104

What subscription do you have?

200$

What platform is your computer?

Linux 6.17.0-14-generic x86_64 unknown ubuntu

What issue are you seeing?

codex hits failed to patch CONSTANTLY, even so on version 102 it was Never,. I litereally have never seen it.

I’m moving to implementation now: adding a dedicated live open_search extractor that targets the 5 requested sections and writes a readable HTML
document report. I’ll also include downloaded filename/extension in extraction metadata so the report can show which document format was parsed.

Search text_extraction|open_search|downloaded_filename|text_source|_extract_opened_document_text in tests

• Edited mcp_tools/e_court/src/tool_tree.py (+2 -0)
4119 filename = f"document_{index}"
4120 + meta["downloaded_filename"] = filename
4121 + meta["downloaded_extension"] = Path(filename).suffix.lower()
4122

✘ Failed to apply patch
└ execution error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

• I’m making a small metadata patch in tool_tree so each extracted document includes filename/extension in the report. Then I’ll add the dedicated 5-
document HTML runner.

• Edited mcp_tools/e_court/src/tool_tree.py (+2 -0)
4119 filename = f"document_{index}"
4120 + meta["downloaded_filename"] = filename
4121 + meta["downloaded_extension"] = Path(filename).suffix.lower()
4122

✘ Failed to apply patch
└ execution error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })

• Ran pwd && ls -la mcp_tools/e_court/src/tool_tree.py
└ /home/william3/Desktop/projects/site-deepresrach/deepresearch
-rw-rw-r-- 1 william3 william3 237101 Feb 19 16:45 mcp_tools/e_court/src/tool_tree.py

• Edited mcp_tools/e_court/src/tool_tree.py (+2 -0)
4119 filename = f"document_{index}"
4120 + meta["downloaded_filename"] = filename
4121 + meta["downloaded_extension"] = Path(filename).suffix.lower()
4122

✘ Failed to apply patch
│ tool_tree.py
└ (no output)

• Explored
└ Search downloaded_filename|downloaded_extension in tool_tree.py
Read tool_tree.py

What steps can reproduce the bug?

I use 5.3 xhigh, 104 version of cli codex.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

CLIIssues related to the Codex CLIbugSomething isn't workingtool-callsIssues related to tool calling

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions