Commit 05e431e
authored
Error in UpdateTodoList: [Errno 2] No such file or directory fix
On Win11 I started cecli with option '--subtree-only' in a subfolder of my repo. Agent failed to update todo list with error message:
Unable to write file C:\SandBox\repo1\.cecli\agents\2026-04-29\cab13e36-34e7-433a-8431-4147676a23ca\todo.txt: [Errno 2] No such file or ▃
directory:
'C:\\SandBox\\repo1\\.cecli\\agents\\2026-04-29\\cab13e36-34e7-433a-8431-4147676a23ca\\todo.txt'
Error in UpdateTodoList: [Errno 2] No such file or directory:
'C:\\SandBox\\repo1\\.cecli\\agents\\2026-04-29\\cab13e36-34e7-433a-8431-4147676a23ca\\todo.txt'
Traceback (most recent call last):
File "C:\Python\cecli-dev-venv\Lib\site-packages\cecli\tools\update_todo_list.py", line 158, in execute
coder.io.write_text(abs_path, new_content)
File "C:\Python\cecli-dev-venv\Lib\site-packages\cecli\io.py", line 737, in write_text
with open(str(filename), "w", encoding=self.encoding, newline=newline) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'C:\\SandBox\\repo1\\.cecli\\agents\\2026-04-29\\cab13e36-34e7-433a-8431-4147676a23ca\\todo.txt'
This commit fix the error for me.1 parent 2e022d0 commit 05e431e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4003 | 4003 | | |
4004 | 4004 | | |
4005 | 4005 | | |
4006 | | - | |
| 4006 | + | |
| 4007 | + | |
4007 | 4008 | | |
4008 | 4009 | | |
4009 | 4010 | | |
| |||
0 commit comments