From 9f7fb01e4ef4c3e110e535d45e7bb357846fc37a Mon Sep 17 00:00:00 2001 From: Yahya Kayaal <117476621+kayaal34@users.noreply.github.com> Date: Mon, 9 Nov 2026 12:51:13 +0300 Subject: [PATCH] Sandbox run: drop the undefined log_line_buffer Draining stdout after the process exits appended to log_line_buffer, which is never defined, so any leftover output turned a finished command into {'success': False, 'error': "name 'log_line_buffer' is not defined"}. --- AutoCua/windows/sandbox/service.py | 1 - 1 file changed, 1 deletion(-) diff --git a/AutoCua/windows/sandbox/service.py b/AutoCua/windows/sandbox/service.py index d893b71..ff505c2 100644 --- a/AutoCua/windows/sandbox/service.py +++ b/AutoCua/windows/sandbox/service.py @@ -305,7 +305,6 @@ def run(self, command: str, input_text: str = None, trusted: bool = False) -> di while not stdout_queue.empty(): char = stdout_queue.get_nowait() stdout_buffer += char - log_line_buffer += char while not stderr_queue.empty(): char = stderr_queue.get_nowait()