Jump to: Board index » General » Fusion

hos_SplitEXR 1.7 | Working ?

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

Gil Guminski

  • Posts: 4
  • Joined: Wed Aug 16, 2017 2:36 pm

hos_SplitEXR 1.7 | Working ?

PostWed Aug 16, 2017 2:52 pm

Hello everyone,


I'm new to the fusion community and I'm trying to find some ways to work with EXR easily inside Fusion.

I would like to know if anybody can make work the EXR Splitter with Fusion 9.

I installed the script here : C:\Program Files\Blackmagic Design\Fusion 9\Scripts\Tool
Loaded my multi channel EXR in fusion. The script loads but then I got this error :
...Blackmagic Design\Fusion 9\Scripts\Tool\hos_SplitEXR.lua:80: attempt to index global 'file' (a nil value)

I saw people asking to check if the ScriptPrefs folder has been created. It has. (C:\Users\<username>\ScriptPrefs)
I also tried to launch fusion as an Administrator but that doesn't help.


I'm not asking on Svenneve page as there is no update since one year and the error have already been submitted.


Hope someone is still making it work.
Thanks !
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: hos_SplitEXR 1.7 | Working ?

PostWed Aug 16, 2017 8:39 pm

Have you tried the modified script offered in this thread?
viewtopic.php?t=52326

Michael removed the bit that writes out the preferences, which might let it work for you.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Jeronimo Martinez

  • Posts: 5
  • Joined: Fri Aug 18, 2017 8:38 am

Re: hos_SplitEXR 1.7 | Working ?

PostFri Aug 18, 2017 8:42 am

Hi all,

I downloaded the version recommended in the previous reply, it works like a charm in Fusion 8, however in Fusion 9 there is still another line that gives the following error:

Fusion\Scripts\Tool\EXR_Multipass\hos_SplitEXR.lua:195: attempt to call global 'Loader' (a nil value)

If anyone knows what can be done to fix it that would be great. I'll try to look into it myself as well.
Jeronimo Martinez
Offline

Jeronimo Martinez

  • Posts: 5
  • Joined: Fri Aug 18, 2017 8:38 am

Re: hos_SplitEXR 1.7 | Working ?

PostFri Aug 18, 2017 9:53 am

Been doing some investigation:

I pasted the script into the Fusion 9 console and instead of the error in line 195 it gave a different error referencing line 117: attrs = tool:GetAttrs()

So in the line above I added
"tool = tool or comp.ActiveTool"

and when I paste the entire script into the console (with the Loader selected) it now works fine.

But when I run the script from the Scripts menu it still gives the same error in line 195 even after getting it to work from the console...

For the moment if I have to do it that way it sure beats manually setting up the different passes, but it would be great to get it to work directly from the scripts menu :) I hope somebody has the answer
Jeronimo Martinez
Offline

Gil Guminski

  • Posts: 4
  • Joined: Wed Aug 16, 2017 2:36 pm

Re: hos_SplitEXR 1.7 | Working ?

PostFri Aug 18, 2017 12:23 pm

I just tested the script and got another issue with the modified script :
...Blackmagic Design\Fusion 9\Scripts\Tool\hos_SplitEXR.lua:195: attempt to call global 'Loader' (a nil value)

Maybe is it related to Fusion 9 ?
Offline

Jeronimo Martinez

  • Posts: 5
  • Joined: Fri Aug 18, 2017 8:38 am

Re: hos_SplitEXR 1.7 | Working ?

PostFri Aug 18, 2017 4:36 pm

Hi Gil,

My post wasn't approved until after you replied again so you probably haven't seen it. For now I have managed a way to work around the issue, so you may try it until somebody finds the definite solution.

Just do what I did in my previous reply. This way it works 100% for me.

Good luck!
Jeronimo Martinez
Offline
User avatar

michael vorberg

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

Re: hos_SplitEXR 1.7 | Working ?

PostSat Aug 19, 2017 3:57 pm

the problem is very strange:

in the line 195 the script tries to create a new Loader

the command "Loader()" works just fine in the console...

have to check if it is a bug or if there is a new method of doing this in the script
Offline

Gil Guminski

  • Posts: 4
  • Joined: Wed Aug 16, 2017 2:36 pm

Re: hos_SplitEXR 1.7 | Working ?

PostSat Aug 19, 2017 3:59 pm

Hello Jeronimo and thank you !


Yes the post approve is a bit boring. There is a time shift with this :).

So I tested what you suggested and it works !
At least I have a way to avoid doing all by hand.
That's super great !


Thanks again !
Offline
User avatar

michael vorberg

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

Re: hos_SplitEXR 1.7 | Working ?

PostSat Aug 19, 2017 4:24 pm

besides other problems with tool scripts this seems to be fixed quickly:

fusion 9 seems to be a bit more strict

just change line 195 to:

Code: Select all
myLoader = comp:Loader({Clip = exrFileName})


now it seems to work on my windows machine again
Offline

Gil Guminski

  • Posts: 4
  • Joined: Wed Aug 16, 2017 2:36 pm

Re: hos_SplitEXR 1.7 | Working ?

PostMon Aug 21, 2017 11:19 am

Thanks Michael,

your solution work for the simplified script and it works via the dropdown menu.
That's all I need :)


Thank you both !
Offline

Jeronimo Martinez

  • Posts: 5
  • Joined: Fri Aug 18, 2017 8:38 am

Re: hos_SplitEXR 1.7 | Working ?

PostFri Aug 25, 2017 2:09 pm

@ Gil

Your welcome, glad I could help somewhat!

@ Michael

Thanks for the definite fix, works great now from all menus in Fusion8 and 9!
Jeronimo Martinez

Return to Fusion

Who is online

Users browsing this forum: No registered users and 38 guests