Scripts fail after Win10 upgrade

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
User avatar
EricTheFish
Posts: 12
Joined: Thu Jun 15, 2017 4:37 pm

Scripts fail after Win10 upgrade

Post by EricTheFish » Tue Jan 07, 2020 8:15 pm

I upgraded both my desktop and laptop machines from Win7x64 to Win10x64.

I have Moho 12.5 and 13 installed.

Several scripts (including MYND tools) no longer work properly when they were working just fine under Win7.

For example: I get a LUA console message when using the MYND tool "enter from left" which states "D:\MOHO 13 Content\Moho Pro\scripts\tool\dr_animation.lua339: attempt to index local 'data' (a nil value)".

Digging around the internet for LUA messages it looks like this might be some kind of permissions issue with writing a file to disk or something.
[EDIT] I think it may be more related to reading/writing variable values?

I tried checking all these folders to make sure I have ownership and full permissions, but no change.

Has anyone else had this issue with scripts and Win10? Any suggestions of where to look?

Thanks for advice.
EricTheFish
Artist, coder and wearer of many hats
Tech-nique (Europe) Ltd
www.tech-nique.co.uk
User avatar
synthsin75
Posts: 7175
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Scripts fail after Win10 upgrade

Post by synthsin75 » Tue Jan 07, 2020 11:44 pm

Those tools set a first run variable that probably wasn't reset after your update, but needs to be to properly initialize some data for the scripts. The easiest solution is probably to delete you user settings file, although that will set Moho to factory defaults. You can find it here: C:\Users\*user*\AppData\Roaming\Smith Micro\Moho Pro\12\Moho Pro12.user.settings
User avatar
EricTheFish
Posts: 12
Joined: Thu Jun 15, 2017 4:37 pm

Re: Scripts fail after Win10 upgrade

Post by EricTheFish » Thu Jan 09, 2020 12:45 pm

Thanks for response. I deleted the Moho12 settings, but sadly no change.
EricTheFish
Artist, coder and wearer of many hats
Tech-nique (Europe) Ltd
www.tech-nique.co.uk
User avatar
Greenlaw
Posts: 4490
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Scripts fail after Win10 upgrade

Post by Greenlaw » Thu Jan 09, 2020 4:49 pm

For the most part, I've had good luck with scripts using Moho 13 and Windows 10. The only Lua script error that's popped up for me in Moho 13 was with Layer Shortcuts, but that's unrelated to your problem and Wes gave me a working temporary solution by disabling section of the script. Apart from that, every script I regularly used in 12.5 seems to work fine in 13.

I haven't used the Mynd Tools but I've been meaning to for awhile. I'll install them today and let you know how it goes.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2019 Edtion
Lead Digital Animator, Dreamworks Animation

Image
User avatar
EricTheFish
Posts: 12
Joined: Thu Jun 15, 2017 4:37 pm

Re: Scripts fail after Win10 upgrade

Post by EricTheFish » Wed Jan 15, 2020 3:17 pm

I've had some comms with the guys at MYND and they said they will have a look into the MYND_MOVER issue with Moho13.
However, as the MYND TOOLS scripts are not a commercial product they don't get the usual level of support, so it may take some weeks.
Fingers crossed they will fix the issue sooner rather than later!
EricTheFish
Artist, coder and wearer of many hats
Tech-nique (Europe) Ltd
www.tech-nique.co.uk
Post Reply