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

Opening a body by path (#earth) never finishes loading: "No parent obj … for earth"

オープン
#336 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, three.js

調査の方向性

Start at Scene.add in Scene.js:674 and the onLoad call in Celestiary.js:700; trace how body descriptors are loaded and how parent systems enter the scene. Reproduce by opening https://celestiary.org/#earth and check whether loading completes when a body's parent is not yet present. Done means direct body paths load without uncaught parent errors and the reveal finishes.

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

説明

Open https://celestiary.org/#earth, which is production.

What happens: the page stays on the loading screen. The console shows three uncaught errors from Scene.add (Scene.js:674, called from Celestiary.js:700 onLoad, via Loader.js):

Uncaught (in promise) Error: No parent obj: undefined or pos: undefined for earth
… for moon
… for webb

Where: on production and on the PR previews (e.g. pr-335), and headless on 2026-10-28. AGENTS.md already notes it for a local python3 -m http.server build, as "the bodies can load out of order" (seen on main 2026-10-23). So it isn't only a local-server artifact.

Likely cause: a body's descriptor arrives and is added before its parent (the Sun's system) is in the scene. Scene.add throws rather than waiting for the parent, and the reveal never ends.

Workaround: open #sun, or a full permalink such as #sun/earth@…;cq=…, and then target Earth.

Found while checking #335's preview, but unrelated to it.

主要言語
JavaScript
スター
55
フォーク
4
平均マージ
9時間 32分
マージ済み PR(30日)
136

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

celestiary/web のほかの issue

celestiary/web の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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