betaflight-tx-lua-scripts icon indicating copy to clipboard operation
betaflight-tx-lua-scripts copied to clipboard

Script NOT working

Open GanceNag opened this issue 8 years ago • 10 comments

Hello!

I have a problem with this lua script (1.0.1) and my Taranis X9D+ Special Edition (OpenTX 2.2.1). I had the famous RAM problem so I installed OpenTX 2.2.1 with noheli, lua and luac option in order to solve this. But now I can't even start the lua script anymore. I tried reinstalling the SD content, I tried to rediscover the FC sensors but nothing works. Here's the error: Script syntax error ?:0 attempt to index field 'protocol'

What can I do?

GanceNag avatar Mar 25 '18 16:03 GanceNag

How are you 'installing' the scripts on your taranis?

On Sun, Mar 25, 2018, 12:19 PM GanceNag [email protected] wrote:

Hello!

I have a problem with this lua script (1.0.1) and my Taranis X9D+ Special Edition (OpenTX 2.2.1). I had the famous RAM problem so I installed OpenTX 2.2.1 with noheli, lua and luac option in order to solve this. But now I can't even start the lua script anymore. I tried reinstalling the SD content, I tried to rediscover the FC sensors but nothing works. Here's the error: Script syntax error ?:0 attempt to index field 'protocol'

What can I do?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/betaflight/betaflight-tx-lua-scripts/issues/121, or mute the thread https://github.com/notifications/unsubscribe-auth/AHyTqeGtNLHISlMxTwhNMFpJ7pXpAM0Gks5th8OogaJpZM4S6Mzw .

codecae avatar Mar 25 '18 16:03 codecae

I'm using Betaflight 3.3.0 Official with Matek F405-OSD

GanceNag avatar Mar 25 '18 16:03 GanceNag

I downloaded 'obj' folder and copied/merged "BF" and "SCRIPT" folders in the Taranis SD card

GanceNag avatar Mar 25 '18 16:03 GanceNag

script systax error bf/ui.lua:335 not enoughmemerry

AJZOMBIE avatar Apr 02 '18 01:04 AJZOMBIE

I had the same problem with my x9+. Only first 4 pages works and after get message about not enough memory.

slawek89 avatar Apr 13 '18 19:04 slawek89

I probably know what is wrong. In firmware options should be active both lua and luac.

slawek89 avatar Apr 14 '18 18:04 slawek89

You only need those options for using lua/luac in custom mixer setups. They are not required for telemetry scripts and likely eat up more memory, making the issues with the scripts more likely to occur.

codecae avatar Apr 14 '18 19:04 codecae

@codecae You may want to add a note about those OpenTX lua/luac options to the 'Readme.md'

ethomas997 avatar Apr 14 '18 23:04 ethomas997

This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

stale[bot] avatar May 14 '18 23:05 stale[bot]

Automatically closing as inactive.

stale[bot] avatar May 21 '18 23:05 stale[bot]