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

terminate called after throwing an instance of Iex_3_2::EioExc in OpenEXR.InputFile.channels #1784

Open
kunaltyagi opened this issue Jul 28, 2024 · 1 comment

Comments

@kunaltyagi
Copy link

While using the python wrapper, I got the following (sporadic) error:

File "/REDACTED/load_functions.py", line 44 in numpy_from_exr
...
<skipping lots of unrelated stack and extension module list>
...
terminate called after throwing an instance of 'Iex_3_2::EioExc'
  what():  Error reading pixel data from image file "/REDACTED/ColorFinal_01350.exr". Input/output error.
Fatal Python error: Aborted

The code at line 44 is:

buffer_list = src.channels("RGBA"[:num_channels], scanLine1=min_y, scanLine2=max_y)
  1. This error doesn't always occur with the same file
  2. This error occurs on a network mount, but always on the same line of code. This does explain the EIO error.
  3. I do see a catch here, but I'm wondering if there are some other calls left named without a try-catch?

If this exception didn't call terminate, but propagated to Python, then we could decide what to do in application logic.

@cary-ilm
Copy link
Member

I'm not sure what's going on there. This code will be deprecated in the upcoming release and replaced by a new implementation, so the problem should be resolved then, expected by the end of August, for what that's worth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants