you might try re-compiling a version of OpenEXR exclusively for nuke using the exr libraries that come with nuke. If I leave the path to the exr libs I compiled (1.6, same as nuke's) in the LD_LIBRARY path when I launch nuke, nuke will crash when I try to read an exr. I'm guessing that might apply here.
I know it works great outside of nuke in standard python. jrab On Aug 7, 2011, at 10:33 AM, Deke Kincaid wrote: > 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
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
