Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#336 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, three.js

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
55
Fork
4
Merge medio
9h 32m
PR unite (30g)
136

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di celestiary/web

Tutte le issue di celestiary/web

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.