[Bug]: Pages with emoji fail to render on Windows
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
- #1358 @abhishekrajv7-cmd による — マージされずにクローズ
評価
調査の方向性
The failure comes from read_text and write_text calls that rely on the system encoding, so start by finding where render-engine reads and writes page files and check the CI run linked in the issue. Pull request #1358 is already linked to this issue and was closed without merging, so read its discussion before starting. Done means pages containing emoji render on Windows with an explicit UTF-8 encoding, and the existing tests still pass.
索引モデルが issue の本文から書いたものです。
説明
Summary Of Actions
We saw a CI failure which appears to be happening because of an emoji in the page we're rendering. This is only happening on Windows. Root cause is most likely that in Python < 3.15 the default encoding for read_text and write_text is the system encoding (this was changed to UTF-8 in 3.15) and the default encoding on Windows can't process the emoji so raises an error.
Operating System
Windows (include version)
What Python Version are you using?
3.14
Have you installed Plugins/Themes/Custom Parsers?
No response
What did you enter to get the output that you received?
Output
- 主要言語
- Python
- スター
- 65
- フォーク
- 47
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
render-engine/render-engine のほかの issue
-
[Bug]: GH workflow lint.yml not linting対応中かも @tystar86 が今日担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
render-engine/render-engine#1362 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
No-AI release triaged
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
render-engine/render-engine#1361 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
admin triaged
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
render-engine/render-engine#1349 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
render-engine/render-engine#1357 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
render-engine/render-engine#1355 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
render-engine/render-engine の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
microsoft/TokenEconomizer#360 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
reasons-gate
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
benthomasson/reasons-service#190 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
ui
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信