graphify icon indicating copy to clipboard operation
graphify copied to clipboard

UnicodeEncodeError on Windows during `graphify install`

Open skoodster opened this issue 7 months ago • 1 comments

Problem

graphify install crashes on Windows due to a Unicode arrow character (→) in a print statement. The skill file is copied successfully before the crash, but the command exits with error code 1 and the CLAUDE.md registration step never runs.

Traceback

File "C:\Python314\Lib\site-packages\graphify\__main__.py", line 84, in install
    print(f"  skill installed  →  {skill_dst}")
UnicodeEncodeError: 'charmap' codec can't encode character '\u2192' in position 19: character maps to <undefined>

Impact

  • shutil.copy on line 83 succeeds — the skill file is installed
  • The print on line 84 crashes before reaching the CLAUDE.md registration block (lines 86-99)
  • So ~/.claude/CLAUDE.md is never updated on a fresh install

Fix

Replace → with -> in print statements, or set PYTHONIOENCODING=utf-8. The arrow appears on lines 84 and 95.

Environment

  • graphifyy v0.3.9
  • Windows 11, Python 3.14
  • Console encoding: cp1252

skoodster avatar Apr 07 '26 19:04 skoodster

Fixed in v0.3.10. Replaced all -> arrow characters in print statements with -> ASCII. Skill file is now fully installed including CLAUDE.md registration on Windows.

safishamsi avatar Apr 07 '26 20:04 safishamsi