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

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.

Thanks, but yes, I did knew this.   It's all working now.   When I first got your message my first reaction was to reply saying "that's not it—it's not nil"; but then I thought "I should check, it would be better if I could say I'd checked", and five minutes after that it was all cleared up.   A lesson. 
Thanks again.  I did download your debugger (and used parts of the package) but thought that for what I was doing just using a logfile, with tail -F, would be enough.  I'm migrating from Aperture and iPhoto, and thought that at the same time I could try to orgaineze my keywords.   It's been frustrating but enjoyable.
And you said in the first message "given the nature of Lua".   After trying to use Applescript to work with Aperture, Lua is positively luminous.
Thanks again,
Bill MItchell

Similar Messages

  • Why im i getting "an unknown error has occurred" message when i sign into the app store

    Im getting "an unknown error has occurred" message when i sign into the app store. I don't have a problem signing into anything else. What could the problem be?

    Were you able to find a solution to this issue? I am also getting the 'an error has occurred' message when trying to download or update any apps on my iPhone. Restarted, updated, re-booted, etc etc, nothing has worked.

  • HT201365 why am i getting an unknown error code of  4013 when trying to restore my 4S

    Hi can anyone help please?, my Iphone 4s died on me early hours lthis morning.  It was whilst on charge and it made the noise as if plugging in and out the charger!!!
    I have tried to restore in Itunes, however, I keep getting the above error message!
    Thanks

    In the article http://support.apple.com/kb/ts3694 it says:
    Error 4000, 4005, 4013, 4014, and 4016
    After you perform each step, try to restore your device.
    Restart your computer.
    Disconnect all your USB devices from your computer and connect to another USB port.
    Use a different USB cable.
    Uninstall third-party security software.
    Try restoring using an alternate computer.

  • Why am I getting missing plugin error in CS4 Indesign when trying to open indd or PDF files?

    Any help would be appreciated?

    PDF files cannot be opened in InDesign.
    InDesign files which are not able to be opened might come from a newer version, you might ask for an IDML file, but better to upgrade to the same version.

  • Why do I get a "script error" message from Adobe flash player?  It is installed as a part of my browser.IE 11

    Why do I get a "script error"  from flash player when it is not installed separately?  It is part of my browser--IE 11

    Same error message, I disabled tab mix and made sure I only have the newest version of Java, restarted firefox, now it seems to be fine no error yet on Pogo games or pictures upload to ebay which were the biggest problems besides hanging. I had also had disabled AVG secure search yesterday but that did not solve the issue. Now I will try to add back in AVG search...I have very few adds ons, also the note embedded about re- installing a toolbar went away, my old one did not work with FF4, so I installed Yahoo toolbar but the message still did not go away until I applied this fix. Hopes this helps someone..

  • Why am I getting a mf error domain 1032 message and when I put my password in it keeps coming up?

    Why am I getting a mf error domain 1032 message when trying to get my email?  I put password in and it keeps going back to error message?

    Try what Google threw out:
    Tap Settings > Mail, Contacts, Calendar and delete your email account.
    Then tap Settings > Safari > and Tap Clear History and Clear Cookies and Data.
    Now tap Settings > Mail, Contacts, Calendar and re-enter your email account details.

  • I just got my Droid Turbo. Deleted lots of emails yesterday and now not receiving any. When I try to refresh, I get an internal error, but can't figure out why. Any ideas?

    I just got the Droid Turbo.  I deleted several emails yesterday and now today, I am not receiving any.  When I try to refresh, I get an internal error. I have tried turning the phone off and checked my settings as well, but still getting nothing. Any ideas??

    I figured it out. Deleted and re-added the account.

  • Got a new Mac that has Yosemite and am now getting an internal error message

    I went from OS X Mavericks on my old MacBook Pro to Yosemite on my new MacBook Pro - and now Presenter Express 10 is not working. I see myself on camera and start recording but when I try to play back I get an "internal error" message. Someone else posted on 2/15 they were getting this message but it doesn't seem like it's the same issue - ? I don't even get a chance to select different views - just the yellow shows up before the error message.
    The resolution is on the default of 1440 x 900, which is what Presenter's Help page says it should be at.
    I have Presenter Express installed and am not using it via a subscription. I did encounter problems with Photoshop with Yosemite and had to install Java 6 plus completely uninstall and reinstall Photoshop to make it work. Am wondering if I need to uninstall and reinstall Presenter Express?
    ****EDIT*** If I DO have to uninstall and reinstall - I just went to my account page and although all my software purchases and serial numbers are listed I can't click to download anything. I don't see a page where I can do this for Presenter Express (although there is one for other apps). All I can find is a purchase page with the free trial option.
    ****EDIT***** Just tried playing back a video that was still in Presenter from before I moved to new my Mac and it won't play. "application encounter an internal error"

    Thank you for your response Rajeev, yet I have a few concerns about it.
    As I said, my screen resolution is what the Presenter Help page says it should be for a MacBook Pro: 1440x900.
    1. In addition to the Photoshop problem I had when everything was migrated from my old MacBook Pro running Mavericks  to my new one running Yosemite, I also had a problem with Dreamweaver and what was a permissions problem. Is that what is going on here with Presenter 10? Adobe techs refused to talk to me since my versions of both programs were a couple years old.
    So I called Apple, as it was clear it was a permissions issue that would not allow me to open up my Dreamweaver files.
    To address the permissions problem with Dreamweaver, Apple had me create a new user account with admin rights, and in doing so (although the tech PROMISED it wouldn't happen even though I voiced my concerns about it) ALL my stored passwords were wiped out. They ended up having to give me a big Apple store purchase credit because it took me hours to add all my passwords back in manually - and some I didn't have written down. If I create another new one, I bet the same thing is going to happen.
    2. The permissions problem in Dreamweaver was solved by creating a new user account with admin rights. I did not have to do a clean re-install. However, the Photoshop problem required the Java 6 Runtime download from Apple, as well as uninstalling and reinstalling Photoshop. Since I have been in the process of moving and my Creative Suite discs were in a box, I first tried downloading it from Adobe. But when I opened it up and clicked on the install icon, an error message came up that said Apple will not allow downloads to be installed unless they are purchased from the Apple store, or are an from an "approved vendor" (or something like that). I was like, WHAT???? But fortunately I found the box my software was in and reinstalled Photoshop from it.
    Naturally my concern is if I download Presenter 10 again (I do not have it on disc) I will get the same Apple error message. I had massive problems with the previous version of Presenter and Adobe techs spent hours and hours with me trying to fix the problem - and actually made some things worse. I finally requested a free copy of Presenter 10 Student edition (I am a full time student) as compensation for all my time, and that is the version I have and is registered with Adobe.

  • Why do I get the message "error connecting to acrobat"?

    Why am I getting the message "error connecting to the acrobat..." when I try to open a pdf file from the internet? I have the adobe reader installed on my tablet. This is something that just started happening. I did not have this problem before. I hope that someone can help.

    Hi,
    Thanks for writing to us. Are you able to view the file after this message? Is this message coming every time when you are trying to open a file from internet? If possible please share the file or link from where you are trying to open this file with us on  [email protected]  so that we can resolve the issue you are facing.
    Thanks,
    Shefali

  • I am getting a "Internal error occurred" message when I try to drag and drop common library items on to my canvas.

    Hi,
    I am getting a "Internal error occurred" message when I try to drag and drop common library items on to my canvas.
    I have noticed that there are a number of these error messages and tried one solution of renaming a couple of files, I tried this and no joy.
    Has any one go a solution for this before I purchase Fireworks please?
    Kind regards,
    Dave G

    I can no longer get Firework CS6 to run - The program loads but without any toolbars/properties etc.  It just has an 'AN INTERNAL ERROR OCCURRED' message that cannot be dismissed.  The only way to close the program is via Task Manager (this is on a Window 8 PC).  I have uninstalled the program, rebooted the PC and re-installed (several times) but it has not resolved the problem.
    Fireworks is part of my Creative Cloud subscription and when reporting this via the live chat I was given the telephone number for Seagate Drives ??
    Anybody got a solution?
    Or, does anybody know how to open native Fireworks CS6 png files in Photoshop *but* with all the Fireworks layers preserved.
    Think I'll also post this as a new topic as the problem is slightly different to SirBasher's issue.

  • When I hit the import button for a new project I get an internal error message stating: Could not find namespace: AgCreativeCloudUtils

    When I hit the import button for a new project I get an internal error message stating: Could not find namespace: AgCreativeCloudUtils
    Can someone help me with this issue please? Tks

    https://forums.adobe.com/search.jspa?q=Could+not+find+namespace%3A+AgCreativeCloudUtils&pl ace=%2Fplaces%2F1383621&depth=…

  • How do I install the lastest Ver? Why do I get a Windows error message?

    I have Acrobat Pro 1.1.8. The Help menu command Check for Updates says NO UPDATES AVAILABLE.
    A tray message in Windows 7 (32 bit) says to SOLVE A PROBLEM WITH ADOBE ACROBAT... and it takes me to my download page at Adobe where Acrobat Pro versions 11.0.01 through 11.0.05 are listed.
    When I try to install any of the newer versions I get an error msg saying "...upgrade patch may update a different version of the program..."
    What is the latest Acrobat Pro Version? How do I install it? Why do I get the Window error message?

    Please try to install the Acrobat update manually from the following page:
    Acrobat X: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5641 (Acrobat X Pro 10.1.8)
    Acrobat XI : http://www.adobe.com/support/downloads/detail.jsp?ftpID=5643 (Acrobat XI Pro 11.0.0.4) and then
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5673 (Acrobat XI Pro 11.0.0.5)

  • A get an internal error message when i try to install adobe reader

    I get an internal error message when I try to install Adobe reader.  I also get error message 1606 could not access net location %APPDATA%\.  How can I fix this?

    See this article http://support.microsoft.com/kb/886549/ regarding the corrupted %APPDATA% environment variable.
    If you require further help, please specify your Windows version.

  • I get an Internal Error message when trying to access Hotmail

    When I try to access my Hotmail inbox, I get an Internal Error message Reference #3.48406ca.1327362199.109cf5de. I can still get my mail through Internet Explorer. Please, only simple replies, I am a senior and not up with all the technical stuff, thanks

    I fixed it myself!

  • I get an "internal error " message with Adobe XI. Please give me instructions in simple terms?

    I get an "internal error " message with Adobe XI. Please give me instructions in simple terms?

    Do you have a copy of the full error mesage that you could post? What operating system are you using? Are you using Acrobat or Reader (there is not program Adobe, it is the company name)? If you are using Reader, you might get better information in the Reader forum.

Maybe you are looking for