Input Devices window crashing on the 'next' branch?
Gerard Krol <[email protected]> Wed, 3 Jun 2026 19:47:45 +0200
| Newsgroups | gmane.games.flightgear.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I'm trying to run the 'next' branch, but even with a clean ~/.fgfs
opening the Input Devices window just opens up a tiny thing in the
middle of the screen, and it prints this error:
77.53 [ALRT]:nasal Nasal runtime error: No member 'items' on
type 'nil'
77.53 [ALRT]:nasal at
/home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/canvas/gui/widgets/List.nas,
line 232
77.53 [ALRT]:nasal called from:
/home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/canvas/gui/widgets/List.nas,
line 166
77.53 [ALRT]:nasal called from:
/home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/gui/XMLDialog.nas,
line 1006
77.53 [ALRT]:nasal called from:
/home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/gui/XMLDialog.nas,
line 329
77.53 [ALRT]:nasal called from:
/home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/gui/XMLDialog.nas,
line 992
(I've actually improved the error message a bit, previously it just
mentioned "No such member: items'")
This is the code:
# @description Return a vector containing all items of this list
# @return vector[canvas.gui.widgets.ListItem] Vector containing all
items of this list
getItems: func() {
return me._scrollLayout.items();
},
No immediate problems jump out, _scrollLayout seems to be created in the
constructor. I do see some recent changes related to input devices in
the git log though.
Is this a known problem? Using FlightGear without a joystick/pedals is
not going to be fun.
Regards,
Gerard
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel