Skip to content

fix(gateway): Windows compatibility fixes - #8170

Closed
XiaoXiao0221 wants to merge 1 commit into
NousResearch:mainfrom
XiaoXiao0221:fix/windows-gateway-encoding
Closed

fix(gateway): Windows compatibility fixes#8170
XiaoXiao0221 wants to merge 1 commit into
NousResearch:mainfrom
XiaoXiao0221:fix/windows-gateway-encoding

Conversation

@XiaoXiao0221

Copy link
Copy Markdown
Contributor
  • Add OSError to os.kill(pid, 0) exception handling in gateway/status.py
    (Windows raises OSError instead of ProcessLookupError)
  • Force UTF-8 encoding on logging StreamHandler at gateway startup
    in gateway/run.py to fix cp950 console encoding errors
  • Replace visual symbols (✓ ✗) with ASCII [OK] [X] [--]
  • Make fcntl import conditional in tools/memory_tool.py
  • Add msvcrt-based file locking for Windows

- Add OSError to os.kill(pid, 0) exception handling in gateway/status.py
  (Windows raises OSError instead of ProcessLookupError)
- Force UTF-8 encoding on logging StreamHandler at gateway startup
  in gateway/run.py to fix cp950 console encoding errors
- Replace visual symbols (✓ ✗) with ASCII [OK] [X] [--]
- Make fcntl import conditional in tools/memory_tool.py
- Add msvcrt-based file locking for Windows
@XiaoXiao0221
XiaoXiao0221 deleted the fix/windows-gateway-encoding branch April 12, 2026 21:22
@XiaoXiao0221

Copy link
Copy Markdown
Contributor Author

Superseded by #8180 and #8563.

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