When saving scene, luup code rewrites code and takes out plus signs???

I’ve been using a scene for over a year. Suddenly, the lua code became corrupted I assumed. I put the code back in and upon saving the scene, the lua again becomes corrupted. Basically, if I enter the code below,

local i = i + 1

the code gets rewritten as,

local i=i 1

The plus sign basically disappears and a lua error is created when the engine restarts.

Any ideas??? I did create a new scene and that has the same issue. I feel I have covered all the basis.

[quote=“Lindsey, post:1, topic:193460”]I’ve been using a scene for over a year. Suddenly, the lua code became corrupted I assumed. I put the code back in and upon saving the scene, the lua again becomes corrupted. Basically, if I enter the code below,

local i = i + 1

the code gets rewritten as,

local i=i 1

The plus sign basically disappears and a lua error is created when the engine restarts.

Any ideas??? I did create a new scene and that has the same issue. I feel I have covered all the basis.[/quote]
Unfortunately Vera released a flawed beta as production firmware and this is a known issue.
It is fixed for me in the latest beta (my plus is on 7.2121) but it introduced some new problems, sigh.
Welcome to Vera
|-<:/

Yeah, I’m noticing Lua code corruption as well, even stranger than your experience. Check out this weirdness:

if ( luup.is_night() ) then
return true
else
return false
e???

The “e???” was obviously “end” before the save. I wonder what gives. I’m using firmware 1.7.2414

Wow, never seen an emoji in my lua code yet… ;D

LOL Yes, and quite the appropriate one too. Before the forum decided to corrupt my code further, it looked like assembly language or something.