computer-use-ootb-internal 0.0.192__tar.gz → 0.0.194__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/PKG-INFO +1 -1
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/pyproject.toml +1 -1
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/preparation/pr_prepare.py +18 -14
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/.gitignore +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/README.md +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/app_teachmode.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/animation/click_animation.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/animation/icons8-select-cursor-transparent-96.gif +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/animation/test_animation.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/executor/teachmode_executor.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/gui_capture.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/simple_parser/utils.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_cli.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/gui_parser/uia_tools/screenshot_service.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/llm_utils.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/oai.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_litellm.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/gui_agent/llm_utils/run_llm.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/aws_request.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/base.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/bash.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/collection.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/colorful_text.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/computer.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/computer_marbot.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/edit.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/run.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/computer_use_demo/tools/screen_capture.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/dependency_check.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/guard_service.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/preparation/__init__.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/preparation/excel_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/preparation/powerpoint_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/preparation/star_rail_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/preparation/word_prepare.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/requirements-lite.txt +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/run_teachmode_ootb_args.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/service_manager.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/signal_connection.py +0 -0
- {computer_use_ootb_internal-0.0.192 → computer_use_ootb_internal-0.0.194}/src/computer_use_ootb_internal/test_autogui.py +0 -0
@@ -88,22 +88,26 @@ def run_preparation(state):
|
|
88
88
|
log.info(f"Template file not found. Attempting to launch Premiere Pro maximized...")
|
89
89
|
cmd = ['cmd', '/c', 'start', '/max', '""', pr_executable_quoted]
|
90
90
|
|
91
|
-
|
92
|
-
|
93
|
-
|
91
|
+
# Construct command as a single string for shell=True
|
92
|
+
cmd_string = ' '.join(cmd)
|
93
|
+
log.info(f"Executing command string with shell=True: {cmd_string}")
|
94
|
+
print(f"[DEBUG] Attempting command string in pr_prepare: {cmd_string}")
|
94
95
|
|
95
|
-
#
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
96
|
+
# Use Popen with shell=True to launch and detach
|
97
|
+
try:
|
98
|
+
process = subprocess.Popen(cmd_string, shell=True,
|
99
|
+
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP | subprocess.DETACHED_PROCESS,
|
100
|
+
stdout=subprocess.DEVNULL, # Suppress any potential stdout/stderr locking
|
101
|
+
stderr=subprocess.DEVNULL)
|
102
|
+
print(f"[DEBUG] Launched process via Popen, PID (may be cmd.exe): {process.pid}")
|
103
|
+
# Assume success if Popen doesn't throw immediately
|
104
|
+
log.info(f"Successfully dispatched command for Premiere Pro via Popen.")
|
105
|
+
except Exception as popen_err:
|
106
|
+
print(f"[DEBUG] Error launching with Popen: {popen_err}")
|
107
|
+
log.error(f"Error launching Premiere Pro with Popen: {popen_err}", exc_info=True)
|
108
|
+
|
109
|
+
# No reliable return code check with Popen+start, assume dispatch success if no exception
|
100
110
|
|
101
|
-
if result.returncode == 0:
|
102
|
-
log.info(f"Successfully executed command for Premiere Pro.")
|
103
|
-
else:
|
104
|
-
log.error(f"Error executing command for Premiere Pro: {result.stderr.strip() if result else 'Command not run'}")
|
105
|
-
if result and result.stdout:
|
106
|
-
log.error(f"Stdout from start command: {result.stdout.strip()}")
|
107
111
|
except FileNotFoundError:
|
108
112
|
log.error("Error: 'cmd' or 'start' command not found. Ensure system PATH is configured correctly.")
|
109
113
|
except Exception as e:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|