Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

System clock updates can cause a TinyPilot update to time out

オープン 初心者向け
#1,419 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python, raspberry-pi

調査の方向性

まず scripts/update-service を読み、特に issue でリンクされているタイムアウトのロジックを確認し、Python の time.monotonic のドキュメントを確認してください。更新中にシステムクロックが更新されても、10 分間のタイムアウトが発生しなくなっていることを検証してください。期待される失敗のコンテキストとして issue の例を使用してください。

索引モデルが issue の本文から書いたものです。

説明

bug medium

TinyPilot's update service times out if the update takes longer than 10 minutes.

The problem is that TinyPilot has no real time clock and relies on NTP to set time. Every time the Pi shuts off, its system clock falls behind until it contacts NTP to get the latest time.

If the system time updates in the middle of a TinyPilot update, the time jump forward will fool the update process into thinking that the update has timed out.

Example: https://github.com/tiny-pilot/tinypilot/issues/1392#issuecomment-1571733803

It's probably possible to avoid this by timing out based on a monotonic timer that doesn't change due to system time updates like time.monotonic.

主要言語
Python
スター
3.5k
フォーク
292
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tiny-pilot/tinypilot のほかの issue

tiny-pilot/tinypilot の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。