## Any alternative to hos_SplitEXR?

paulrus
Posts: 26
Joined: Mon Nov 17, 2014 11:07 am

### Any alternative to hos_SplitEXR?

I love hos_SplitEXR but as far as I can tell it doesn't work with Fusion 7.7. I get the old error: hos_SplitEXR.eyeonscript:107: attempt to index global 'tool' (a nil value)

Is there anything else for Fusion 7.7 that'll split up a multichannel EXR properly?

Thanks,

Paul

pingking
Fusionista
Posts: 704
Joined: Thu Aug 14, 2014 9:10 am
Been thanked: 6 times

### Re: Any alternative to hos_SplitEXR?

the script works very well with in Fu 7.7 for me

its a tool script, so you must copy it into "yourFusionFolder/Scripts/Tool"->then right click on a loader -> scripts -> "hos_SplitEXR"

paulrus
Posts: 26
Joined: Mon Nov 17, 2014 11:07 am

### Re: Any alternative to hos_SplitEXR?

Ah ha! Thanks - I think you lead me to the problem. There were 2 copies of it installed in 2 different directories in my scripts folder. As soon as my current render is done I'll give it a try.

Thanks!

robaitchison
Posts: 4
Joined: Fri May 20, 2016 6:48 am

### Re: Any alternative to hos_SplitEXR?

Using Fusion Studio V8.1.1 here and I get the same error :

...Blackmagic Design/Fusion 8/Scripts/Tool/hos_SplitEXR.lua:70: attempt to index global 'file' (a nil value)

when trying to access this script. Does anyone know a solution to this?

Thanks!

robaitchison
Posts: 4
Joined: Fri May 20, 2016 6:48 am

### Re: Any alternative to hos_SplitEXR?

I updated to V1.6 - http://www.svenneve.com/?p=938

and get a different line number now...

...Blackmagic Design/Fusion 8/Scripts/Tool/hos_SplitEXR.lua:73: attempt to index global 'file' (a nil value)

robaitchison
Posts: 4
Joined: Fri May 20, 2016 6:48 am

### Re: Any alternative to hos_SplitEXR?

comment out line 176 :

--myscriptprefs('write')

and it will work. I will figure out why later.
Cheers!

svenneve
Fusioneer
Posts: 90
Joined: Fri Sep 12, 2014 1:47 am
Contact:

### Re: Any alternative to hos_SplitEXR?

It could be that on some machines that have always ran BMD only versions of Fusion don't have the eyeon lua library (which for some reason still work on our workstations, even when called in Fusion 8.x, now this could be because of a mis configuration on our side, or maybe some installs still have the eyeon library included, out of curiosity, are you running the Windows or Mac version? )

So the myscriptprefs function won't work as it fails when using the eyeon.split function, you could try to see what happens when you change

Code: Select all

local _scriptname=eyeon.split(debug.getinfo(1).source,[[/]])
into

Code: Select all

local _scriptname=bmd.split(debug.getinfo(1).source,[[/]])
Or download the latest version, which uses a version check (if the Fusion version is larger or equal to 7.5 the bmd module is used rather than the eyeon module.

http://www.svenneve.com/?p=945

svenneve
Fusioneer
Posts: 90
Joined: Fri Sep 12, 2014 1:47 am
Contact:

### Re: Any alternative to hos_SplitEXR?

I really have to go through all of these scripts one day, but time is short, as always, and we usually just fix when we run into bugs our selves.

Still looking at just dumping the whole lot on Github one of these days.

robaitchison
Posts: 4
Joined: Fri May 20, 2016 6:48 am

### Re: Any alternative to hos_SplitEXR?

It could be that on some machines that have always ran BMD only versions of Fusion don't have the eyeon lua library (which for some reason still work on our workstations, even when called in Fusion 8.x, now this could be because of a mis configuration on our side, or maybe some installs still have the eyeon library included, out of curiosity, are you running the Windows or Mac version? )
Hi,

Yes, that makes sense as all the machines have only been using V7.5 and later (post bmd) . When we installed V8.1.1, we needed to ensure we did Python first in order to get the bmd library install; crazy silent voodoo installer they have.

We are all Windows here.

Thanks for the pointers, I will investigate when I get the time.

Cheers!

6ril
Fusioneer
Posts: 157
Joined: Sun Dec 07, 2014 7:53 am

### Re: Any alternative to hos_SplitEXR?

Hey,
I'm also having trouble installing/using the hos_splitEXR script : /

I copied the file hos_SplitEXR.lua there :
C:\Users\6ril\AppData\Roaming\Blackmagic Design\Fusion\Scripts\Tool

It shows up when I rightClick on a loader, in script, but nothing happens, and in the console I can read:
...g/Blackmagic Design/Fusion/Scripts/Tool/hos_SplitEXR.lua:80: attempt to index global 'file' (a nil value)

OK, got it, I just created a folder C:\Users\6ril\ScriptPrefs
and it works now.

SecondMan
Posts: 2999
Joined: Thu Jul 31, 2014 5:31 pm
Been thanked: 14 times
Contact:

### Re: Any alternative to hos_SplitEXR?

Which reminds me I should try this script on Linux...

Hamp
Posts: 5
Joined: Fri Aug 18, 2017 1:41 pm

### Re: Any alternative to hos_SplitEXR?

Doesn't work on Linux in Fusion 9, tried creating a ScriptPrefs folder in my $HOME. Also tried$HOME/BlackmagicDesign/Fusion/ScriptPrefs

Can't seem to figure out where to put the ScriptPrefs folder on Linux ... any clues?

/opt/BlackmagicDesign/Fusion9/Scripts/Tool/hos_SplitEXR.lua:80: attempt to index global 'file' (a nil value)

Hamp
Posts: 5
Joined: Fri Aug 18, 2017 1:41 pm

### Re: Any alternative to hos_SplitEXR?

Removed line 80 and 81 altogether , now it runs if I paste it into the script editor with the loader selected but not through the right click script menu.
Anyhow, better than nothing but not very pretty.

Ati
Posts: 4
Joined: Wed Nov 11, 2015 3:41 am

### Re: Any alternative to hos_SplitEXR?

Thank you. Its working with the copy paste. It would be nice to fix this script. Really essential.

SecondMan