Jump to: Board index » General » Fusion

A Script stopped working after Windows reinstall

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

A Script stopped working after Windows reinstall

PostMon Sep 26, 2016 5:12 pm

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.
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Re: A Script stopped working after Windows reinstall

PostTue Sep 27, 2016 1:15 pm

Can anybody help me on this one??
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: A Script stopped working after Windows reinstall

PostTue Sep 27, 2016 7:55 pm

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
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Re: A Script stopped working after Windows reinstall

PostThu Sep 29, 2016 1:00 am

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.
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline

Ryan Bloomer

  • Posts: 765
  • Joined: Tue Jul 09, 2013 6:58 pm

Re: A Script stopped working after Windows reinstall

PostTue Oct 18, 2016 3:36 pm

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.
Offline

Steve Roberts

Blackmagic Design

  • Posts: 255
  • Joined: Tue Nov 11, 2014 7:41 pm

Re: A Script stopped working after Windows reinstall

PostTue Oct 18, 2016 5:31 pm

Check the Firewall and Antivirus to Allow Fusion, FusionScript.exe and FusionServer.exe.
Sounds like it is blocking the app.
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Re: A Script stopped working after Windows reinstall

PostWed Nov 23, 2016 11:30 am

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.
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Re: A Script stopped working after Windows reinstall

PostWed Nov 30, 2016 11:47 pm

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
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline
User avatar

Adelson Munhoz

  • Posts: 273
  • Joined: Thu Mar 05, 2015 5:44 pm

Re: A Script stopped working after Windows reinstall

PostFri Dec 02, 2016 12:24 am

Try to mark Fusion executables as "trusted" in your antivirus too.
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Re: A Script stopped working after Windows reinstall

PostTue Dec 06, 2016 11:05 am

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.
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: A Script stopped working after Windows reinstall

PostTue Dec 06, 2016 8:42 pm

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:
Attachments
hos_SplitEXR.zip
(3.02 KiB) Downloaded 310 times
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Re: A Script stopped working after Windows reinstall

PostFri Dec 09, 2016 12:28 am

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.
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline

Enrique Camacho

  • Posts: 4
  • Joined: Mon Feb 20, 2017 11:39 pm

Re: A Script stopped working after Windows reinstall

PostFri Mar 24, 2017 7:44 pm

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.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 57 guests