Page 1 of 1
A Script stopped working after Windows reinstall

Posted:
Mon Sep 26, 2016 5:12 pm
by Abdelrahman Magdy
Hi,
I was using the hos_splitEXR.lua by Sven Neve (
http://www.svenneve.com/?p=889), and it was working fine with Fusion 8.2. Then I had to format my computer and install a new Windows. I upgraded from Windows 7 Home Premium to Windows 7 Professional, so there shouldn't be much difference when it comes to Fusion, I suppose.
Anyway, each time I try using the script, the UI loads as it used to do, but when I click Ok to perform the split, I get this error message in the Console:
...g/Blackmagic Design/Fusion/Scripts/Tool/hos_SplitEXR.lua:80: attempt to index global 'file' (a nil value)
I tried looking online to understand what is causing this error, but I couldn't find any useful information. Could you please help me with that.
Re: A Script stopped working after Windows reinstall

Posted:
Tue Sep 27, 2016 1:15 pm
by Abdelrahman Magdy
Can anybody help me on this one??
Re: A Script stopped working after Windows reinstall

Posted:
Tue Sep 27, 2016 7:55 pm
by michael vorberg
i looked at the script and the part where it fails for you is a function where the script tries to write some configuration files for later use into your userprofil (or fusion profil) directory.
this would mean you cant write to that directory or it cant access it
Re: A Script stopped working after Windows reinstall

Posted:
Thu Sep 29, 2016 1:00 am
by Abdelrahman Magdy
michael vorberg wrote:i looked at the script and the part where it fails for you is a function where the script tries to write some configuration files for later use into your userprofil (or fusion profil) directory.
this would mean you cant write to that directory or it cant access it
Hi Michael,
Thank you for your reply. This is a bit strange. Initially, I installed Fusion in the admin account of my computer, so this might be why I had an issue with it. But since then, I removed it, and reinstalled it using the standard account I use for work, so the Fusion directories are installed in the user profile folders I use everyday, and it should be allowed to access it. I will try figuring out what the problem is, but I would also appreciate if you have any idea what could be causing that problem.
Again, thanks for your help.
Re: A Script stopped working after Windows reinstall

Posted:
Tue Oct 18, 2016 3:36 pm
by Ryan Bloomer
Hi Abdelrahman,
I had a similar issue trying to use this script. I'm running Fusion 7.7.1 and I rolled the script back to 1.6 and it's working again. Hopefully that will help for you.
Re: A Script stopped working after Windows reinstall

Posted:
Tue Oct 18, 2016 5:31 pm
by Steve Roberts
Check the Firewall and Antivirus to Allow Fusion, FusionScript.exe and FusionServer.exe.
Sounds like it is blocking the app.
Re: A Script stopped working after Windows reinstall

Posted:
Wed Nov 23, 2016 11:30 am
by Abdelrahman Magdy
Thanks Ryan and Steve. Sorry I missed your messages earlier. I will try both solutions and see which one fixes it.
Thank you for your help guys.
Re: A Script stopped working after Windows reinstall

Posted:
Wed Nov 30, 2016 11:47 pm
by Abdelrahman Magdy
Hi guys. I still can't get the script to work.. I checked my firewall and Fusion, FusionScript and FusionServer are all already allowed.
I tried going back to the 1.6 version and I still get the same error.
What else do you think could be causing this issue??
Sent from my SM-G920F using Tapatalk
Re: A Script stopped working after Windows reinstall

Posted:
Fri Dec 02, 2016 12:24 am
by Adelson Munhoz
Try to mark Fusion executables as "trusted" in your antivirus too.
Re: A Script stopped working after Windows reinstall

Posted:
Tue Dec 06, 2016 11:05 am
by Abdelrahman Magdy
I believe they already are.. the only antivirus/antispyware I have is Norton Internet Security, so it is what controls my firewall settings. When I checked, all Fusion executables are allowed in it.
Re: A Script stopped working after Windows reinstall

Posted:
Tue Dec 06, 2016 8:42 pm
by michael vorberg
Enrique October 17, 2016 at 23:45
This worked for me:
1. Copy your plugin to the folder ‘FUSION_FOLDER\Scripts\Tool\’
2. Be sure that the folder ‘C:\Users\YOUR_USER\ScriptPrefs\’ exists (if not, just create it)
3. Start Fusion 8 using ‘Start as Administrator’
this is from the comments section of the authors website. i test it and you need that folder from number 2. without this folder it will fail with the error you mentioned.
i edited the original script and removed/disabeld the preference saving part and then it seems to work without the folder in the user directory:
Re: A Script stopped working after Windows reinstall

Posted:
Fri Dec 09, 2016 12:28 am
by Abdelrahman Magdy
Thank you very much, Michael. That seems to have fixed the problem.
Both your script and the author's solution work fine. However, with the author's solution, I found out that the key thing is the 'ScriptPrefs' folder. The plugin doesn't have to be in the Fusion Scripts folder; it can be in the User's directory, and you don't have to start Fusion as Administrator.
Re: A Script stopped working after Windows reinstall

Posted:
Fri Mar 24, 2017 7:44 pm
by Enrique Camacho
Michael,
Thanks for the edited script! It's not too big of a deal to create the folder, but when trying to make installation as easy as possible for others, it's a big help.