Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find layer Color in view Right in .exr #429

Closed
norru opened this issue Sep 19, 2019 · 17 comments
Closed

Could not find layer Color in view Right in .exr #429

norru opened this issue Sep 19, 2019 · 17 comments
Assignees
Labels
type:bug Something isn't working

Comments

@norru
Copy link

norru commented Sep 19, 2019

If I attempt to read the attached EXR I get the following error message:

"Could not find layer Color in view Right in /tmp/cant_read_in_natron.exr
cant_read_in_natron.exr.zip

The EXR is perfectly valid.

I am trying to migrate out of Nuke and this is one of my showstoppers.

In the meantime I need to keep backwards compatibility with existing projects. I have hundreds of thousands of existing images with this layout so converting them is not an option.

$ exrheader /tmp/cant_read_in_natron.exr

file /tmp/cant_read_in_natron.exr:

file format version: 2, flags 0x0
channels (type chlist):
    B, 16-bit floating-point, sampling 1 1
    G, 16-bit floating-point, sampling 1 1
    R, 16-bit floating-point, sampling 1 1
    right.B, 16-bit floating-point, sampling 1 1
    right.G, 16-bit floating-point, sampling 1 1
    right.R, 16-bit floating-point, sampling 1 1
compression (type compression): zip, individual scanlines
dataWindow (type box2i): (0 0) - (2047 1555)
displayWindow (type box2i): (0 0) - (2047 1555)
lineOrder (type lineOrder): increasing y
multiView (type stringvector):
    "left"
    "right"
nuke/full_layer_names (type int): 0
nuke/node_hash (type string): "572d0fb078ee559a"
nuke/version (type string): "11.0v3"
pixelAspectRatio (type float): 1
screenWindowCenter (type v2f): (0 0)
screenWindowWidth (type float): 1
type (type string): "scanlineimage"
version (type int): 1

Ubuntu 18.04

Natron version 2.3.14 Release.
Natron, an open source compositing software
Copyright (C) 2013-2018 INRIA and Alexandre Gauthier-Foichat
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

See the Natron website for more information on this software.
This software was compiled from the source code branch tags/2.3.14 at version 5bbf5ed using GNU C++ version 7.3.0 with OpenMP 4.5 targetting Intel x86-64 for Linux.
The bundled openfx-io plugins were compiled from version 761faea.
The bundled openfx-misc plugins were compiled from version 3c007bf.
The bundled openfx-arena plugins were compiled from version 38e8e3a.
The bundled openfx-gmic plugins were compiled from version 096fe05.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@rodlie
Copy link
Contributor

rodlie commented Sep 19, 2019

Works fine here. Please provide more information (Natron version/build/OS etc).

@norru
Copy link
Author

norru commented Sep 19, 2019

Added information to the OP.

Do you see both Left and Right views correctly after loading? I can only see the Left one.

@norru
Copy link
Author

norru commented Sep 19, 2019

Here's the project and a screenshot.
cant_read_in_natron ntp — Natron_217

cant_read_in_natron.zip

@rodlie
Copy link
Contributor

rodlie commented Sep 19, 2019

The image has Color (red) and right (blue) layers.

Could you test the latest RC release and see if you have the same issue?
https://github.com/NatronGitHub/Natron/releases/download/v2.3.15-rc.9/Natron-RB-2.3-201909090540-0b1ab28-64-no-installer.tar.xz

@norru
Copy link
Author

norru commented Sep 19, 2019

The image has Color (red) and right (blue) layers.

Image should have left and right view, where the left view is the default (hero), and an anonymous layer with R, G, B channels in.

Happy to test RC!

Did you set up Multiview?

@rodlie
Copy link
Contributor

rodlie commented Sep 19, 2019

I didn't setup multiview, If I change view to Right I get the same error message.

Seems to be an old issue? https://discuss.pixls.us/t/issue-with-stereo-exr-multi-view/8258/4

@norru
Copy link
Author

norru commented Sep 19, 2019

Tried the RC version, no changes.

@norru
Copy link
Author

norru commented Sep 19, 2019

Seems to be an old issue? https://discuss.pixls.us/t/issue-with-stereo-exr-multi-view/8258/4

Yes, it is the same issue. The OP of that issue also seems to have created the file in Nuke.

@rodlie
Copy link
Contributor

rodlie commented Sep 19, 2019

I did a quick test on older versions using https://github.com/openexr/openexr-images/raw/master/MultiView/Balls.exr

  • 2.1.9 - ok
  • 2.2.3 - ok
  • 2.2.4 - ok
  • 2.2.5 - ok
  • 2.2.6 - ok
  • 2.2.7 and beyond - fail

NatronGitHub/openfx-io@Natron-2.2.6...Natron-2.2.7

@rodlie rodlie added the type:bug Something isn't working label Sep 19, 2019
@devernay
Copy link
Member

devernay commented Oct 2, 2019

I would really like to have that bug fixed for 2.3.15. It's very probably an issue with the ReadOIIO plugin as you pointed out, and specifically these two commits : NatronGitHub/openfx-io@963e1a8 NatronGitHub/openfx-io@5de9b29

@rodlie
Copy link
Contributor

rodlie commented Oct 3, 2019

I though that as well, but it's actually NatronGitHub/openfx-io@79ac654

I tested NatronGitHub/openfx-io@963e1a8 against Natron 2.2.7 and it works, going to NatronGitHub/openfx-io@79ac654 breaks.

I'm currently not able to test against openfx-io master on my machine (I think my oiio2 install is broken or something).

@devernay devernay self-assigned this Oct 14, 2019
@devernay
Copy link
Member

Will test with and without this commit, and will build a Linux version for testing by @norru

devernay added a commit to NatronGitHub/openfx-io that referenced this issue Oct 14, 2019
@norru
Copy link
Author

norru commented Oct 14, 2019

Sounds good, please let me know when I can download a code drop to test.

@devernay
Copy link
Member

devernay commented Jan 4, 2020

Should be fixed by NatronGitHub/openfx-io@af69a63 and NatronGitHub/openfx-io@f31d7b6

@norru can you please test with the latest Linux RC?

@devernay devernay added this to the 2.3 milestone Jan 4, 2020
@devernay
Copy link
Member

@norru any feedback? is it fixed in 2.3.15RC22?

@devernay
Copy link
Member

devernay commented Jun 5, 2020

@devernay devernay closed this as completed Jun 5, 2020
@norru
Copy link
Author

norru commented Aug 17, 2020

Sorry if I didn't reply earlier, I've long moved to a different project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants