4 Replies Latest reply on Nov 29, 2014 2:38 PM by mitchell2090

    Why am I getting an "internal error",  just "Assertion failed" when calling createKeyword

    mitchell2090

      Here is my code.  It is called inside a function running under LrTasks.startAsyncTask.  The calls to "Util.writeLog" confirm that createKeyword is called and never returns.  

       

       

        Util.catalog:withWriteAccessDo(

            "CreateKwUnderPerson",

            function()

        Util.writeLog("Calling 'createKeyword()'")

        akw = Util.catalog:createKeyword( name, {}, true, nil, true)

        Util.writeLog("'createKeyword()' returned")

                    end

        )

      I find it disconcerting that there is no more informative error message.   This seems to me to be an Adobe bug, even though the problem presumably originates from something I'm doing wrong.