1 Reply Latest reply on Nov 3, 2017 9:30 AM by johnrellis

    LrFileUtils.readFile an internal error has occurred




      When I try to get file content using below command, I'm getting "an internal error has occurred" error


      local file_content = LrFileUtils.readFile(filepath)


      my file path is: /var/folders/0f/91c91r2s72g1rc76kl04m1nh0000gn/T/51EE2F0E-938A-4BAE-9775-C59F4D9E020E/lig htroom-hdr-merge-3.jpg


      When I try to open file in finder, I can achieve to do this but I cannot read it using LrFileUtils.readFile


      Does anyone have any idea?


      Thanks in advance


      PS: I'm creating the filepath using rendition:waitForRender() functions