998 B
998 B
[OPEN] upcoming-data-missing
Symptom
- Monitor shows
NONE / WAITING DATAunderUPCOMING TRAINS. - Expected: list of upcoming trains parsed from CRN advanced display NBT (TrainStops).
Hypotheses (falsifiable)
Peripherals.blockReaderis not detected (wrong peripheral type string / not connected to this computer).blockReader.getBlockData()succeeds but returns a table withoutTrainStops(block reader is pointing at the wrong block or advanced display data not present).TrainStopsexists but is not an array (non-numeric keys), soipairs()iteration yields 0 rows.TrainStopsexists but the code path exits before assigningState.upcomingTrains.
Evidence to collect (instrumentation)
- Whether blockReader/create_target are detected.
- Whether getBlockData succeeds.
- Whether TrainStops exists and how many rows it contains (ipairs count vs pairs count).
Next action
- Add runtime instrumentation to display these values on the monitor and in logs.