are you using the newest python exr bindings?
http://excamera.com/sphinx/articles-openexr.html

Which version of openexr do you have compiled/installed?  My guess you have
some incompatible version between the two.

-deke

On Sun, Aug 7, 2011 at 00:07, Daisuke Maki <[email protected]> wrote:

> so i have found that I could possibly use OpenEXR module to check if an exr
> image is valid.
>
> import OpenEXR
> tst = OpenEXR.InputFile(myPath)
> print tst.isComplete()
>
>  This works in Maya python but Nuke seems to crash when it comes to this
> line - tst = OpenEXR.InputFile(myPath)..
>
> Does anyone know a better way?
>
> Thanks.
>
> On Sun, Aug 7, 2011 at 11:20 AM, Daisuke Maki <[email protected]> wrote:
>
>> Hi there.
>>
>> When nuke processes an image and if the image is either inomplete or has
>> bad pixels(scanline?) it seems to error unless I disable the read node..
>>
>> My question is that is there a python command to precheck if the image
>> getting read is valid? or even a command that scans an image and returns
>> results..
>>
>> Thank you.
>> D
>>
>> --
>> ~ Smile today ~
>>
>
>
>
> --
> ~ Smile today ~
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to