Skip to content

fix: Windows encoding in setup.py and missing imports in CLI modules#308

Open
pamaldi wants to merge 1 commit intoopenagents-org:developfrom
pamaldi:fix/windows-encoding-missing-imports
Open

fix: Windows encoding in setup.py and missing imports in CLI modules#308
pamaldi wants to merge 1 commit intoopenagents-org:developfrom
pamaldi:fix/windows-encoding-missing-imports

Conversation

@pamaldi
Copy link
Copy Markdown

@pamaldi pamaldi commented Mar 10, 2026

Summary

Fix Unicode encoding errors on Windows and missing imports in CLI modules.

Problem

  • setup.py uses emoji characters (✅, ⚠️) in print statements that fail
    on Windows terminals using cp1252 encoding, breaking pip install -e . and pip install .
  • cli_agent.py is missing imports for Progress, SpinnerColumn, TextColumn,
    yaml, and configure_workspace_logging
  • cli_network.py is missing the show_banner import

Changes

  • setup.py: Added safe_print() function that catches UnicodeEncodeError
    and falls back to ASCII-safe output
  • cli_agent.py: Added missing imports from rich.progress, yaml,
    and configure_workspace_logging from cli_helpers
  • cli_network.py: Added show_banner import from cli

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 10, 2026

Someone is attempting to deploy a commit to the Raphael's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant