Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FrSky x18 attempt to index a nil value #247

Open
alexandru-g opened this issue Sep 8, 2024 · 8 comments
Open

FrSky x18 attempt to index a nil value #247

alexandru-g opened this issue Sep 8, 2024 · 8 comments
Labels

Comments

@alexandru-g
Copy link

alexandru-g commented Sep 8, 2024

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
Copy link
Owner

yaapu commented Sep 10, 2024

Hi, which Ethos version?

@yaapu yaapu added the ethos label Sep 10, 2024
@alexandru-g
Copy link
Author

@yaapu 1.5.13

@yaapu
Copy link
Owner

yaapu commented Sep 13, 2024

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
Copy link
Author

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.

@BRSS73
Copy link

BRSS73 commented Sep 24, 2024

Same here on a X20RS with Ethos 1.5.15
For reference: FrSkyRC/ETHOS-Feedback-Community#4542

@yaapu
Copy link
Owner

yaapu commented Sep 25, 2024

Did you pause my widget while working on the elrs config script?

@BRSS73
Copy link

BRSS73 commented Sep 26, 2024

No, I wasn't aware of this possibility.

I found it quickly after reading your comment.

In the meantime, the ELRS script seems to have been modified by the Ethos team to handle concurrent access to the serial buffer, but maybe I'm wrong on that particular point.

@alexandru-g
Copy link
Author

Did you pause my widget while working on the elrs config script?

Yes, that is the only way to enter the ELRS config script. If Yaapu is not paused, the TX/RX doesn't appear in the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants