Closed mbainrot closed 9 months ago
pretty sure I did, but doing it again
Reading the docs my "stab in the dark" about the bt is just that, the bt is "binary or text' mode which is default for loadScript("blah") without file mode parameters so nevermind that :)
So doing it again and giving it a unique folder so 110% sure that I don't balls it up (I think I just recopied the release rather than the nightly, bad file management and sydlexia is a winning recipe) and definitely copied the **right files.
Now I am getting " Script syntax error loadScript("/SCRIPTS/BF/COMPILE/scripts.lu(truncated) File " Which is weird
It is an old SD card (the Taranis X9D+ is a picky SOAB when it comes to SD cards, at least last time I tried) should I try a different SD card to rule out that?
Or is there a way I can get it to spew verbose logs that don't get truncated by the tiny screen that the Taranis has?
you should check if the scripts.lua file actually exists on your sd card, and if it does, check its content
it exists and sha1sum matches the source
Looking at the order of operations it seems to fail compiling at rx.lua, sha1sumed it and sums match
So suspecting some .luac shenanigans i nuked the /SCRIPTS/BF folder and replaced it with the BF folder from the nightly and its gone back to the original error.
I even tried nuking the scripts folder and re-creating the lot + a power cycle of the tx just to be certain and still no fish, same original error.
I am noticing when it chucks a fit, the scripts disappear from the menu and I have to reboot the radio, is that of any significance?
OK cooking up a fresh SD card fixed the problem, new firmware seems to handle newer SD cards better too
Looking at the error, is it possible that "bt" is meant to be "bf"?
Include ways to reproduce the problem;
Provide as much information as possible about your hardware and software, including: Taranis X9D+ (pre 2019), edgetx-x9d+/v2.9.2