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

issue for soaretx menu #137

Closed
1 task done
Tonyevoleurt opened this issue Mar 10, 2024 · 27 comments
Closed
1 task done

issue for soaretx menu #137

Tonyevoleurt opened this issue Mar 10, 2024 · 27 comments

Comments

@Tonyevoleurt
Copy link

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

On switching on my radio and clicking on second, left hand button, below SYS, which opens settings/menu for Outputs, Wing Alignment, Mixes and batt, Switches, Centre ailerons, and Graph. Instead of the above each box of each widget says " ERROR in background ○: ?:0: attempt to perform arithmetic on a nil value". When no widget on screen it shows 9 of these messages.
Sometimes on switching on some of the boxes are displayed but cannot be opened, it's also random as to which box appears.
Jesper Frickman gave me a partial fix which returned the page to normal but still could not open the widgets
Hope someone can help?

Expected Behavior

To work as before the update

Steps To Reproduce

See error

Version

2.9.4

Transmitter

RadioMaster TX16S / TX16SMK2

Operating System (OS)

No response

OS Version

No response

Anything else?

20240309_091839
20240309_092251
20240309_090822

@pfeerick pfeerick transferred this issue from EdgeTX/edgetx Mar 10, 2024
@pfeerick
Copy link
Member

What version of the SD card pack are you using? And this is definitely 2.9.4, not 2.10.0-rc1 or a nightly firmware?

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 11, 2024 via email

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 11, 2024 via email

@jfrickmann
Copy link
Contributor

jfrickmann commented Mar 11, 2024

I believe that the issue with the Lua scripts crashing was fixed and merged with #118. I don't know why it hasn't made it into the release.

When I used fixed scripts in Companion 2.9.4, another issue appeared where the Lua widgets apparently froze/did not respond to fullscreen mode.

You may find his report and the discussion on RCGroups here: https://www.rcgroups.com/forums/showthread.php?4515145-2-9-4-Edge-tx-update%21-No-soarETX-menu%21

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 11, 2024 via email

@pfeerick
Copy link
Member

Ok, you need the 'Latest' version of edgetx-sdcard, as the PR Jesper mentioned was done one month after the 2.9.0 sdcard pack was released, so you're probably still using the bugged widget code ;)

@Tonyevoleurt
Copy link
Author

Ok. I only put this on last week so are you saying something has been changed since then?

1 similar comment
@Tonyevoleurt
Copy link
Author

Ok. I only put this on last week so are you saying something has been changed since then?

@factoryroll
Copy link

I can confirm the SoarETX GUI is back to normal for me running EdgeTX 2.9.4 and the pre-release/latest SD card files.

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 12, 2024

Thanks, can you confirm that it is the "EdgeTX "Centurion" v2.10.0-RC1 SD Card Pack" pre-release that you are now using please?

@pfeerick
Copy link
Member

The "2.9.0" version sdcard pack is from six months ago, whereas "Latest" is regularly changing, and is, well, the latest version (i.e. it's a rolling release tag/version). Both "Latest" and ""EdgeTX "Centurion" v2.10.0-RC1" are the same at the moment, so either should do.

@Tonyevoleurt
Copy link
Author

Thank you for your help, I will download later today and be in touch.

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 12, 2024 via email

@jfrickmann
Copy link
Contributor

@Tonyevoleurt is also reporting that he no longer can get fullscreen mode for his widgets. I wonder if this could be related to EdgeTX #4263? I assume it was merged into 2.9.2 and have therefore adviced him to try 2.9.1 to see if that helps.

@Tonyevoleurt
Copy link
Author

Hi, just an update! I went to my back up v2.8.5 that I was using before updating, now that has the same issue, which it did not have before! So I went to v2.9.4 and that has the issue that I originally had, locked widgets. Its almost as if its a bug in my radio, if thats even possible and can not be removed by updating or going backwards. I put the sd card contents from v2.10.0 and the soar widgets are locked again, so are the F3K tasks and practice tabs!
Video below shows state with v2.8.5. But with v2,9.4 and v2.20.0 widgets are locked

soarETX.to.github.mp4

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 14, 2024 via email

@jfrickmann
Copy link
Contributor

jfrickmann commented Mar 14, 2024 via email

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 14, 2024 via email

@jfrickmann
Copy link
Contributor

jfrickmann commented Mar 14, 2024 via email

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 14, 2024 via email

@jfrickmann
Copy link
Contributor

I pulled my TX16S out of storage, formatted the SD-card and loaded 2.9.4 and the "Centurion" v2.10.0-RC1 SD Card Pack on it.

And things worked.

Therefore the problem is something in your end. What I can think of right now is:

  • Find and delete all *.luac files under the WIDGETS folder on your SD card
  • If that doesn't work, take another backup, format your SD card and install what I did above.
  • If that doesn't work, maybe it's a hardware failure?

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented Mar 14, 2024 via email

@jfrickmann
Copy link
Contributor

jfrickmann commented Mar 14, 2024 via email

@frankiearzu
Copy link
Contributor

Just FYI, the code in the latest sdcard is compatible with 2.8.x and 2.9.x. Took the change done by Jasper, and fixed to account for difference in behavior of model.getCurve().

Recently for 2.10, there was also a problem on the "switches" screen. The way to identify the last switch of the radio no longer works in 2.10. Just added a PR for it.. issue: #142

@Tonyevoleurt
Copy link
Author

Thanks for the info Frankie. I've given up with my problem. Tried wiping my radio, had someone else try, now on 2.10.2. Must have tried about 15 times to get soar etx working on my radio, it's as if the bug is now in my radio, I know thats not possible but it's what it seems like. I understand its fixed for everyone else! Anyway I've redone my dlg programming myself so I learnt a lot about edge tx in the process. Thanks for all your help.

@pfeerick
Copy link
Member

Hopefully you managed to get to the bottom of this... closing as this should have been resolved via updating the SoarETX files on your SD card.

@Tonyevoleurt
Copy link
Author

Tonyevoleurt commented May 11, 2024 via email

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

No branches or pull requests

5 participants