From 3c17405a6b163b7d978280d84c11fb40284ac28f Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 16 May 2026 03:04:13 +0900 Subject: [PATCH] Strip astral-plane emojis from Tk button labels Python 3.7's bundled Tcl/Tk on Windows is UCS-2 only and refuses characters above U+FFFF. The button labels contained game-controller, desktop, folder and refresh emojis (U+1F3AE, U+1F5A5, U+1F4C2, U+1F501), so App.__init__ raised TclError and gui.main caught it, exited 1, and the user saw 'nothing happened'. Replace with plain Korean text. Per CLAUDE.md these emojis should not have been added in the first place. --- sephiria_inv/gui.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sephiria_inv/gui.py b/sephiria_inv/gui.py index fd419ff..edbaffa 100644 --- a/sephiria_inv/gui.py +++ b/sephiria_inv/gui.py @@ -409,11 +409,11 @@ class ScreenshotFrame(ttk.Frame): ctl = ttk.Frame(self) ctl.pack(fill="x") - ttk.Button(ctl, text="๐ŸŽฎ ๊ฒŒ์ž„ ์ฐฝ ์„ ํƒโ€ฆ", command=self._pick_window).pack(side="left") - ttk.Button(ctl, text="๐Ÿ–ฅ ์ „์ฒด ํ™”๋ฉด ์บก์ฒ˜", command=self._capture_screen).pack(side="left", padx=4) - ttk.Button(ctl, text="๐Ÿ“‚ ํŒŒ์ผ ์—ด๊ธฐโ€ฆ", command=self._open_file).pack(side="left", padx=4) - ttk.Button(ctl, text="๐Ÿ” ์˜์—ญ ์žฌ์ง€์ •", command=self._reselect_bbox).pack(side="left", padx=4) - ttk.Button(ctl, text="โœ… ์ด ๊ตฌ์„ฑ์œผ๋กœ ๊ณ„์‚ฐ", command=self._confirm).pack(side="right") + ttk.Button(ctl, text="๊ฒŒ์ž„ ์ฐฝ ์„ ํƒโ€ฆ", command=self._pick_window).pack(side="left") + ttk.Button(ctl, text="์ „์ฒด ํ™”๋ฉด ์บก์ฒ˜", command=self._capture_screen).pack(side="left", padx=4) + ttk.Button(ctl, text="ํŒŒ์ผ ์—ด๊ธฐโ€ฆ", command=self._open_file).pack(side="left", padx=4) + ttk.Button(ctl, text="์˜์—ญ ์žฌ์ง€์ •", command=self._reselect_bbox).pack(side="left", padx=4) + ttk.Button(ctl, text="์ด ๊ตฌ์„ฑ์œผ๋กœ ๊ณ„์‚ฐ", command=self._confirm).pack(side="right") self.status = ttk.Label( self,