Hello Guest it is November 17, 2019, 07:02:35 AM

Author Topic: Mach4 bug (wizards) - v 4.2.0.4305 + 4300  (Read 278 times)

0 Members and 1 Guest are viewing this topic.

Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« on: September 10, 2019, 06:51:12 AM »
The following seems to be a fairly common issue (bug) across a few wizards such as the FeedandSpeedWizard , or soft limits config etc

Quote
Lua: Syntax error during pre-compilation
C:\Mach4Hobby\Wizards\FeedandSpeedWizard.mcs: version mismatch in precompiled chunk

Quote
Lua: Syntax error during pre-compilation
C:\Mach4Hobby\Wizards\mcConfigSoftLimits.mcs: version mismatch in precompiled chunk

Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« Reply #1 on: September 10, 2019, 06:55:28 AM »
probably wants someone to just click on a few of the wizards and see what works and what no longer works as there seems to have been something that has obviously changed and now they no longer can start up.
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« Reply #2 on: September 10, 2019, 02:34:22 PM »
Hi,
at a guess I would say that the Wizards were compiled with Lua 5.2 compiler whereas Mach4 progressed to the Lua 5.3
compiler about four months ago.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« Reply #3 on: September 10, 2019, 02:43:54 PM »
yeah, I thought it would be that, but the problem for us mere users is we cannot fix the problem as they are compiled by NFS I guess... or someone else who needs to maintain them of delete them from future releases......

always the problem with something under perpetual development... especially if you change the software version upon which it's based.  I understand completely.... but the expectation is that NFS added them to a watch list of items when the decision is made for lua 5.4, 5.5 etc.... that needs to be done again
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« Reply #4 on: September 10, 2019, 02:45:18 PM »
there may be other similar gremlins under the bonnet elsewhere too
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”

Offline smurph

*
  • *
  •  1,149 1,149
  • "That there... that's an RV."
    • View Profile
Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« Reply #5 on: September 10, 2019, 09:53:23 PM »
Look for versions of these files with a "mcc" extensions.  The mcs files are from your OLD install that had 5.2 LUA.  mcs files were never supposed to be compiled, but were, do to a misunderstanding way back when.

mcs == non-compiled human readable LUA scripts.
mcc == compiled scripts. 

Delete any non-readable *.mcs files and you should be good to go. 
Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« Reply #6 on: September 11, 2019, 01:38:06 AM »
ahhh!!! {light bulb moment}

thanks v much, I'll give it a go and report back to close out
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”
Re: Mach4 bug (wizards) - v 4.2.0.4305 + 4300
« Reply #7 on: September 14, 2019, 07:39:06 AM »
Look for versions of these files with a "mcc" extensions.  The mcs files are from your OLD install that had 5.2 LUA.  mcs files were never supposed to be compiled, but were, do to a misunderstanding way back when.

mcs == non-compiled human readable LUA scripts.
mcc == compiled scripts. 

Delete any non-readable *.mcs files and you should be good to go. 

I can confirm that yup I'm a Muppet.... should have done a clean install and not just installed over the last install

problem fixed
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”