yaapu / FrskyTelemetryScript

A LUA telemetry script and widget for the Horus X10(S),X12 and Taranis X9D+,X9E,QX7 and X-Lite radios using ArduPilot frsky passthru protocol
GNU General Public License v3.0
435 stars 141 forks source link

FrSky x18 attempt to index a nil value #247

Open alexandru-g opened 1 week ago

alexandru-g commented 1 week ago

Installed latest version of lua script on a FrSky X18 and getting the following error: /scripts/yaaputelemetry/lib/resetlib.lua:57: attempt to index a nil value (local 'widget')

After this error appears, the ELRS TX doesn't appear in the menu anymore (the RX appears for some reason) and I cannot configure it. I have to remove the yaapu lua scripts, reboot Ethos, configure the ELRS TX and re-add the yaapu scripts.

yaapu commented 1 week ago

Hi, which Ethos version?

alexandru-g commented 5 days ago

@yaapu 1.5.13

yaapu commented 5 days ago

mhmm, I do not own that radio but on the simulator seems to work all right. Waht would the exacts teps be to reproduce it? Which module? Does the elrs lua script work all right? We might need to ask for help from somebody wit hthe same radio + tx combo :-(

alexandru-g commented 5 days ago

RadioMaster Ranger Nano 2.4 is the ELRS module.

It works fine-ish. The entire radio lags a bit when I have the widget added (UI is not fluid, even when not in widget). But I have to pause the widget so I can configure the TX and RX. Otherwise, when I press configure, nothing appears in the module list.