Windows locale surrogate errors in strftime handling
NousResearch/hermes-agent · cluster 102910
Data as of
Nothing open on GitHub. Fix merged in #120748. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #120748. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #120748. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and fixes address UnicodeEncodeError crashes caused by undecodable locale or timezone names when calling strftime on Windows. The work involves adding protective wrappers or fallbacks to prevent surrogate characters from propagating and crashing the application.
Open issues0
Open PRs0
Fixes on record
-
#120748 fix(time): stop Windows locale timezone names from crashing the gateway
files:
agent/account_usage.py,agent/auxiliary_unavailable.py,agent/billing_usage.py,agent/insights.py,agent/learning_graph_render.py,agent/system_prompt.py,cron/quota_hold.py,cron/scheduler.py,gateway/message_timestamps.py,hermes_cli/goals.py,hermes_cli/status_auth.py,hermes_time.py,tests/agent/test_system_prompt.py,tests/cron/test_timezone.py,tools/session_search_tool.py
3 PRs closed without merging
From the close comments: duplicate 1 · merged via another change 1 · superseded by another PR 1
- #102918 fix(agent): keep Windows locale errors from crashing conversations · merged via another change
-
#102936 strftime: add safe_strftime wrapper for Windows locale surrogate issues · duplicate →
#102918,#102910 - #103438 fix(i18n): survive undecodable locale names in strftime paths (fixes #102910) · superseded by another PR
Closed issues · 1
- Closed#102910[Bug] Windows fr-FR: strftime("%Z") raises UnicodeEncodeError: surrogates not allowed and crashes the desktop gateway at every conversation start
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #120748
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 23 Sep 2026