Psyop / Cryptomatte

Cryptomatte Nuke plugin, Fusion plugin, sample images, and specification
BSD 3-Clause "New" or "Revised" License
632 stars 151 forks source link

[FUSION] Cryptomatte node fails to read inputdata from loader #83

Open smokejohn opened 6 years ago

smokejohn commented 6 years ago

Hey guys, thanks for developing and sharing Cryptomatte!

After some Testing with VrayCryptomatte and the Fusion cryptomatte node i encountered a read error which i think is bound to spaces or special characters in the loader filepath.

Loading a MultiChannel EXR from a path like this: "X:/00_XXXXXXX/XXXX/Bürogebäude mit Empfang/02_OUTPUT/StreetView/WIP/V13/20180808_P2_C3_V13.exr"

leads to the following error in the Fusion console: ERROR: Cannot read image file "X:/00_XXXXXXX/XXXX/Bürogebäude mit Empfang/02_OUTPUT/StreetView/WIP/V13/20180808_P2_C3_V13.exr". No such file or directory.

Moving the file to a location without spaces and special characters(German Umlaut in this case) fixes the problem.

Even though i tell my colleagues to not put special characters or spaces in paths on the network drive it happens from time to time. It would be nice if you could take a look at this.

cedricduriau commented 6 years ago

Hi @smokejohn

Thank you for the kind words! Always appreciated.

On a funny note: as a native French speaking person, I feel you.

On a more serious note: I'll have to check if I can actually avoid this issue or if I have to contact Blackmagic Design for this.. Currently the path of the input image read from the metadata is passed to the EXRIO (builtin Fusion) module to read the EXR channels. The error you're getting was not produced by "my" code, but the EXRIO module itself.

Two options: 1) I have to format it in a way before passing it to EXRIO, which would be the preferred option. (That would not require any help from BMD.)

2) If option 1 doesn't work, I'll have to contact BMD to check with them if the EXRIO module needs to format the input path in a specific way to load the image correctly from disk.

I'll do some digging and keep you posted.

Cheers Cedric

cedricduriau commented 5 years ago

Hi @smokejohn

I submitted a post on the BMD forum for this one. Couldn't find a way to work around it for the moment. Hopefully the dev's at BMD will be able to help.

Cheers Cedric