8000
Skip to content

Fix error code 9009: improve uv PATH resolution in run.bat#60

Open
levyvix wants to merge 1 commit into1hubert:mainfrom
levyvix:fix/error-9009-uv-path
Open

Fix error code 9009: improve uv PATH resolution in run.bat#60
levyvix wants to merge 1 commit into1hubert:mainfrom
levyvix:fix/error-9009-uv-path

Conversation

@levyvix
Copy link
Copy Markdown
Contributor
@levyvix levyvix commented Mar 22, 2026

Summary

Fixes issue #59 where Windows users encountered "error code 9009" (command not found) when running run.bat.

Root cause: uv was not being found in PATH after installation via pip. The script didn't validate PATH after installation or attempt to add Python's Scripts directory to the session PATH.

Changes:

  • ✅ Added PATH validation immediately before running the script
  • ✅ Automatic detection and addition of Python Scripts directory to session PATH after uv installation
  • ✅ Better error messages with actionable solutions for Windows users
  • ✅ GitHub Actions workflow to test run.bat on Windows (Python 3.11, 3.12)
  • ✅ Cross-platform test script to validate setup logic locally

Testing

  • Created .github/workflows/test-run-script.yml - automated Windows testing
  • Created test_run_bat_simple.py - local validation script
  • Local test results: ✓ 5/5 tests passed (Python, pip, uv, project files verified)

Related Issues

Closes #59

🤖 Generated with Claude Code

- Add PATH validation after uv installation to catch missing uv earlier
- Detect and add Python Scripts dir to session PATH after install
- Add helpful error message with actionable solutions for Windows users
- Create GitHub Actions workflow to test run.bat on Windows (Python 3.11, 3.12)
- Create cross-platform test script to validate setup logic locally
- All tests pass: Python/pip/uv availability, project files verified

Issue 1hubert#59: Fixes "scripts exited with error code 9009" (uv not found in PATH)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@levyvix
Copy link
Copy Markdown
Contributor Author
levyvix commented Mar 22, 2026

Closes #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[error] scripts exited with error code: 9009

1 participant

0