Any alternative to hos_SplitEXR?

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

Any alternative to hos_SplitEXR?

#1

Post by paulrus » Mon Oct 19, 2015 2:44 pm

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

User avatar
pingking
Fusionista
Posts: 690
Joined: Thu Aug 14, 2014 9:10 am
Been thanked: 16 times

Re: Any alternative to hos_SplitEXR?

#2

Post by pingking » Mon Oct 19, 2015 4:31 pm

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"

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

Re: Any alternative to hos_SplitEXR?

#3

Post by paulrus » Mon Oct 19, 2015 5:30 pm

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!

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

Re: Any alternative to hos_SplitEXR?

#4

Post by robaitchison » Mon Jul 11, 2016 10:38 am

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!

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

Re: Any alternative to hos_SplitEXR?

#5

Post by robaitchison » Mon Jul 11, 2016 12:12 pm

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)

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

Re: Any alternative to hos_SplitEXR?

#6

Post by robaitchison » Mon Jul 11, 2016 12:30 pm

comment out line 176 :

--myscriptprefs('write')

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

User avatar
svenneve
Fusioneer
Posts: 88
Joined: Fri Sep 12, 2014 1:47 am
Been thanked: 2 times
Contact:

Re: Any alternative to hos_SplitEXR?

#7

Post by svenneve » Tue Jul 26, 2016 7:32 am

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

User avatar
svenneve
Fusioneer
Posts: 88
Joined: Fri Sep 12, 2014 1:47 am
Been thanked: 2 times
Contact:

Re: Any alternative to hos_SplitEXR?

#8

Post by svenneve » Tue Jul 26, 2016 7:34 am

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.

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

Re: Any alternative to hos_SplitEXR?

#9

Post by robaitchison » Tue Jul 26, 2016 12:10 pm

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!

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

Re: Any alternative to hos_SplitEXR?

#10

Post by 6ril » Tue Feb 07, 2017 9:44 am

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.

User avatar
SecondMan
Site Admin
Posts: 2824
Joined: Thu Jul 31, 2014 5:31 pm
Location: Vancouver, Canada
Been thanked: 117 times
Contact:

Re: Any alternative to hos_SplitEXR?

#11

Post by SecondMan » Tue Feb 07, 2017 12:25 pm

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?

#12

Post by Hamp » Fri Aug 18, 2017 2:22 pm

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?

#13

Post by Hamp » Fri Aug 18, 2017 2:55 pm

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.

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

Re: Any alternative to hos_SplitEXR?

#14

Post by Ati » Sat Aug 19, 2017 4:29 am

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

User avatar
SecondMan
Site Admin
Posts: 2824
Joined: Thu Jul 31, 2014 5:31 pm
Location: Vancouver, Canada
Been thanked: 117 times
Contact:

Re: Any alternative to hos_SplitEXR?

#15

Post by SecondMan » Sat Aug 19, 2017 6:21 am

There may currently be something broken with Tool Scripts in Fusion 9. It has been reported and I am expecting an answer soon. May well fix the issue with this script, too.