Why do I get an "internal error", just "Assertion failed" when calling createKeyword

Here is my code.  It is called within a function that runs under LrTasks.startAsyncTask.  Calls to "Util.writeLog" confirm this createKeyword is called and never returns.

() Util.Catalog:withWriteAccessDo

"CreateKwUnderPerson,"

function()

Util.writeLog ('the call' createKeyword()'"")

AKW = Util.catalog:createKeyword (name, {}, true, Nile, true)

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

         end

)

I find it disconcerting that there is no more informative error message.   This seems to be a bug to Adobe, even if the problem where probably something I am doing wrong.

The following text runs very well:

  catalog:withWriteAccessDo ("CreateKwUnderPerson", function()
      name = "test123"
      akw = catalog:createKeyword (name, {}, true, nil, true)
      end)

However, if instead of the 'name' is assigned null, it then produces ' assertion failed!  So, check that the 'name' is a string.

In addition, you use a debugger, for example, my toolbox for debugging or the IDE debugger described in another thread here?  They both take awhile to hang at the start, but they will save you a lot of time on the road, given the nature of Lua.

Tags: Photoshop Lightroom

Similar Questions

  • Why do I get an internal error message when trying to use acrobat reader?

    Why do I get an internal error message when trying to use acrobat reader?

    Hi David,

    Let me know if the problem persists.

    Kind regards

    Nicos

  • Internal error: catalog view incompatible when calling a stored procedure

    Hello

    I use JDeveloper 11.1.1.4

    When you call a stored procedure from AppModuleImpl, I get this error internal error: inconsistent display catalog

    I'll call the stored procedure of this way

    String lErrCode;

    String lErrMsg;

    Result of an integer;

    ARRAY inputArray = null;

    Table STRUCT that can be passed to a PLSQL PROCEDURE

    inputArray =

    JdbcSqlMapper.preparePlSqlArrayUsingVOAttrbs (conn, recordType,

    view, rm);

    OracleCallableStatement st =

    (OracleCallableStatement) conn.prepareCall ("{?}") = call ("+

    procedureName +.

    "(?,?,?))}");

    st.registerOutParameter (1, Types.INTEGER);

    st.setObject (2, inputArray, OracleTypes.ARRAY);

    st.registerOutParameter (2, OracleTypes.ARRAY,

    recordType.getTableType ());

    st.registerOutParameter (3, Types.VARCHAR);

    st.registerOutParameter (4, Types.VARCHAR);

    St.Execute ();

    I checked the subsidies for this package to all users. All users with grants to this package.

    I don't know where I start to debug this issue.

    Kindly help.

    Thank you and best regards,

    John.

    Have yo uchecked the right of the types of data used (at least the TABLE) to the user (referred to Pokusak blog: JPublisher - incompatible catalog display)?

    Timo

  • 500 internal Error Privoxy keeps occurring when I load the page.

    I get an internal error 500 of Privoxy when I open http://www.thoroughbredgt.com/

    Error reads: Privoxy has encountered an error while processing your request:

    Unable to load template file without Server-data or one of its components included.

    Please contact your administrator for the proxy.

    If you are the administrator of the proxy, please put the files required in the (confdir) / templates directory. The location of the directory (confdir) is specified in the main Privoxy configuration file. (It is usually the installation of Privoxy directory).

    I can't understand how to solve the problem. Any help?

    I have not had any problems.
    Try this link; http://www.thoroughbredgt.com/

    It could be that there is something to block this site, like a firewall.
    Contact your provider and ask questions. Try the link on another
    computer, or another browser.

  • Why do I get access denied error when I try to connect to the printer?

    * Original title: Please help me

    Why do I get access denied error when I try to connect to the printer?

    Hello

    Try right-clicking on the printer software when installing it and select run as administrator.

    See you soon.

  • Why do I get an unknown error when the AI document opening in Illustrator 5.5?

    Why do I get an unknown error when the AI document opening in Illustrator 5.5.? How open/fix documents?

    Did this happen after update to Yosemite? Sorry, but this could be a number of things and not only have a response

    • disable the automatic plugin font activator which is delivered with the police officer, you activate a corrupt police.
    • Clean your cache of police download nuke font it's free
    • reset your prefs AI
    • Delete your printer driver in the system preferences and recreate - Yes, there is a possibility that this can cause this
    • hold off on the update to El Captan for now, even if an update of the system has a chance to eliminate the problem, you're on CS5.5
  • PC Backup doesn't work no-internal error: Server execution failed - error Code 0 x 80080005

    Hello

    I use Vista Business SP2.

    I'm having a problem with Windows complete PC Backup. When I click on the "create backup now" trying to create a full backup of the computer, spends about 15 seconds and then this message:

    The backup application could not start due to an internal error:
    Server execution failed (0 x 80080005)
    Please check the configuration of your system and try again.

    I click on ok, and the message appears once more.

    I'm trying to save on the same disk external I used for backups. Backup of the files on this drive works fine.

    Here are a few things that may be useful to solve this problem:

    1. I recently uninstalled and tried to reinstall Sophos Anti-virus, but I can't reinstall.
    2. My computer has been restored using the backup of the computer in the past. I have not saved since.
    3. I recently changed the permissions/owner on the external hard drive that I support up to.

    Thanks in advance.

    If you have replaced TrustedIstaller with something else, which could very well be a part of the problem.  It is a user of the system and it can be called by the name of some programs and if she isn't here so the program does not know what to do.  I don't know how to solve this problem - I don't think add that a new administrator account to the user with this name will do (because it will have a different code).  In my view, that a re - install is the only way to solve this particular problem.

    Here is an article on the fixation of 4201 event viewer error: http://www.vistax64.com/tutorials/110886-event-viewer-error-4201-a.html but I wouldn't bother with this if you have an Installation of Windows Vista genuine disc.  Come back if this disc does not (and I don't think it will be necessary).

    CONGRATULATIONS on finding a disk for Installation of Windows Vista SP2 genuine - I guess that it's 32-bit (like your system).  It is exactly what you need - a commercial version.  The OEM versions do not work because they include device drivers specific to their computers and those who will hose your system unless they have exactly the same system for (and I don't think you can do an upgrade by using the OEM versions - at least not all of them - just a clean install {although I found a HP and it has used to update my XP system crashed then) ({I was waiting the disc of real update that I bought from Dell - not exactly kosher but finally in compliance}).  Here is the procedure: http://www.vistax64.com/tutorials/88236-repair-install-vista.html.  Although this will not affect your data, settings or programs, you should always back up your data before you start just be on the safe side (by copy and paste if necessary even if you can't use the full backup feature). If other procedures do not work, it is almost certain to work.  You can have a lot of updates to re - install.  What version of Vista do you have currently?  I think that the drive will work with any version of Vista (they contain probably all versions on them and that they install is governed by the Code of the product used - but I have never actually tried using a different version of disc - I only heard this said by people who seem to know what they're talking about).  The fact that it is SP2 means that you won't have to uninstall all the Service packs that is even better.  I REALLY hope it works for you.  Make sure you use the UPGRADE option or you're going to do a clean install.  If the upgrade option is grayed out, it means that it will not work (but I don't think that this will be the case).

    If the drive works (and after installing all updates), then there should be nothing to fix on your system - it should work like new.  You should be able to do your backup with no error message.  Have no other problems.  This will fix the problem with TrustedInstaller so.  I feel confident thiis will work.

    I mentioned that Acronis because first of all, it's the best backup software and secondly because there could be a workaround, because it does seem like there was another solution because you do not want to delete this special software (but now that you have the disc - which is debatable – although it is still the best software {even though) ({, as you say, it's not free}).

    As far as Windows7 goes, I refer you to the Windows7 Forum at: http://social.answers.microsoft.com/Forums/en-US/w7install/threads where the people who specialize in installation, the upgrade, and activation Windows7 will be more than happy to help you in the process.  I have Windows7 (my computer is not compatible and it is too costly to update since it's several components that need to be changed and my other computers are even older, so he has no hope here - I just have to wait until the "I need a new computer" but strikes me to new, but that will probably not for one or two years).  To be honest, I wouldn't intentionallly update at this point even if I could because I always wait a while before installing a new OS (generally up to the publication of its SP1 and in the case of Vista its SP2) to let other people work the new bugs - and there are some despite what you see in the ads.  Spend time on Windows7 forums, if you don't believe me.  Out of the box, she seems to be better than Vista did (which was awful) but there are still issues that need to be addressed - I'll wait instead until it is more stable (and a bit of my software is not compatible and I don't want to have to go out and buy all these updates at the same time (, because it will be too expensive overall).  But if you want to upgrade, which is perfectly fine - thousands of others do (always, especially since Vista has problems after all this time) and I totally understand.  This is just my own personal bias and procedure - I don't recommend to my clients that I recognize it as being just a personal preference rather than one-piece objective advice.  Before installing Windows7, make sure that your system is ready with the Windows7 Upgrade Advisor to: http://www.microsoft.com/windows/windows-7/get/upgrade-advisor.aspx - you should perhaps update or remove some software and may not even need to upgrade certain hardware - better know before you start (especially if you go x 64 which I assume that your PC is able to treat - mine isn't).

    I hope this helps and wish you all the best in your effort to make the repair/improvement of the system.  I hope it works.  Remember that you must use your own product key to activate the software if necessary.  If it does not automatically have to activate manually, go to start, search, and type in slui 4 enter.  Enter your country and press Next.  You will be on a screen with a phone number and a bunch of codes below.  Dial the number and browse automatic guests until you get to a human being.  Have your handy product code because it will be asked.  Explain that you had a problem and you need to reinstall the OS but it's the same PC.  They should give you a code to enter on this screen to activate Vista.

    Good luck! Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • We use Adobe Acrobat 10. When I try to download the most recent update, I get the message error 1608 download failed. How can I fix it.

    We use Adobe Acrobat 10. When I try to download the most recent update, I get the message error 1608 download failed. How can I fix it?

    Uninstall acrobat, clean (if windows os), Download Adobe Reader and Acrobat cleaning - Adobe Labs tool , and then reinstall.

  • Why Fireworks CS6 show me 'internal error' when I edit text itens?

    Hi, guys!

    Why the CS6 fireworks show me "internal error" when using the itens text? I work on the edition of the texts and, suddenly, the internal error occurs.

    I need and reopen the software work until it happens again... and reopen...

    Can you help me? I use Windows 8.1... all licenses are original.

    McAfee FIX 1

    McAfee antivirus may cause this. Download the redistributable package from Microsoft http://www.microsoft.com/en-ca/download/details.aspx?id=13523.

    McAfee FIX 2

    Instead of uninstalling McAfee, just right-click on the icon/change McAfee settings/real time... /Parameters/

    In the first section, replace "All files (recommended)" program & Documents only.

    McAfee FIX 3

    Another option is to interrupt the analysis in real-time for awhile

  • Impossible to install Microsoft products, getting "an internal error has occurred."

    It seems that I am more able to install the Microsoft product. This all started when I tried to reinstall Games for Windows Live as he kept randomly sign out after a half hour of play. After completely uninstaslling, I tried to reinstall it and got the error "an internal error has occurred." The journal is here: http://pastebin.com/d0i1b6ES I have been unable to solve this delivers also the number I got to support GFWL is now supported in Xbox Live.

    But it seems that the problem goes further than GFWL. I started by Skype and it needed to be updated, only it wouldn't install the update due to "an internal error has occurred" error code: 1603 and the making available of patches online seem to not work. With a single instance of Microsoft installation set (50461) I also had "an internal error has occurred."

    I'm really at a loss with this.

    Jasper

    The reason why I am interested in the free disk space on your C partition, it is that it would appear reasonable to perform an in Place Upgrade. To do this, the more satisfactory is to download a copy of Windows 7 on one partition other than C and run together to the top from there. You can then repair the installed copy of Windows 7on your C partition. All you then need to do is install all Windows updates after SP1 update. All programs and data files remain unchanged.

    The C: drive
    Local fixed disk description
    Uncompressed
    NTFS file system
    Size 922,79 GB (990,841,401,344 bytes)
    Free space 109.10 GB (117,141,598,208 bytes)

    To continue, you would need to create a new partition taking 50 GB of disk space on your C partition. That would leave your C partition with 60 GB of free disk space, and I would prefer to see more. When you have completed the in Place Upgrade you can remove the downloaded version of Windows 7 and to merge the partition in C.

    I guess you know the installed copy of Windows 7 product key. Please confirm that you are and that it matches the key specified on the COA sticker on the computer case. Please confirm that the copy of Windows 7 installed is not an upgrade from Windows XP or Vista? Do not post details of the 25-character product key.

  • When I open lightroom cc I get an internal error has occurred:? 0: attempt to index field ' info.poodle'(a nil value)

    any ideas? I optimized lightroom catalog closed and still get the error

    Hi joey58,

    Greetings.

    Please check this thread and see if it helps - no fix for "impossible to export: an internal error has occurred:?: 0: try to index the value nil". "

    Concerning

    Rohit

  • Why do I get connection timeout errors when downloading FTP when internet does not work?

    I tried to update my site for a few days now, but I get the same errors. I'm not a particular web-savvy person, but the first time that I transferred my site after I built it I don't remember all such problems.

    It starts when I try to submit my log in credentials. The info will be correct, but he'll say, I got a connection error and exceeded it, check your username and password again. But my internet is also not have connectivity issues. This only happens to half the time and usually resolves by clicking on "Try Again" or said whatever the button continue.

    After that, it comes to this window:

    museerror4.PNG

    Now my question is maybe here. Some tutorials told me that I don't have to put anything in the box "Folder on the server", Adobe shows that my host should give me this info, but as far I can tell that it is empty, or just has a ' / ' provided for in this article. Maybe I'm looking in the wrong place.

    Sometimes when I click ok it goes to the progress bar window. Sometimes it gives me this instead:

    museerror5.PNG

    Then I click ok, sometimes it goes to the progress window after that. But sometimes it gives me this:

    museerror6.PNG

    Then I click Try Again and it goes to the progress window. Then need me here, as it should:

    museerror2.PNG

    And finally, I get here, and this is where I'm stuck:

    museerror1.PNG

    Sometimes, the error message looks like this:

    museerror7.PNG

    I can press summary and trying it again, but then the same error keeps coming back. Googling brought up any messages with a similar problem. If it is really only a problem of internet connectivity, well, I feel really stupid but also at my wit's end because my internet seems to be working very well and I don't know what I could do about it. If it has something to do with 'Folder on the server' box maybe someone can enlighten me on what should be there. I wondered if take down the Web site and starting over, download it again, could work because she has no problems, the first time that I put it to the top of back in June, but I am currently applying to places and I want that my portfolio upward where potential employers are looking.

    If anyone can help me would be great. If this proves to be a problem on part of my host, I'll take my questions and my comments here instead.

    Thank you!

    Are you still facing the same issue? This concerns majorly network problem or probably a problem on server side, have you tried to contact your webhost?

    Thank you

    Sanjit

  • I had problems with LR, once in development mode, I'm getting "an internal error has occurred: Lightroom_fatal_sqlite_transient_error::database:E:lightroom 5 catalog.ircat::error:disk I/O error sql:update Adobe _imageDevelopSettings SET historySetti.

    should I remove LR and reload?

    Hi Charlesg,

    May I know you use mac or windows.

    where is the catalog is registered. Try to create a new catalog and check if you still get the same error message.

    Thank you

  • During the installation of Acrobat DC why do I get a configuration error, saying: it cannot be installed on this operating system?

    I welcomed CC updated XI Acrobat Acrobat DC.  I bought DC Acrobat but serial number does not work with the version installed by creative cloud.  And when I uninstall this version, downloaded Acrobat DC installation generates an error indicating that the application cannot be installed on this operating system. I lost my money by buying the download?

    Previously titled:

    How to install a downloaded version of Acrobat DC purchased with a serial number allocated, when I get a Setup error, saying: it cannot be installed on this operating system? Creating cloud had already updated Acrobat XI in DC, but will not work with the new S-N

    Allan, please see: download Acrobat products | Standard, Pro | DC, XI, X. Please check the system requirements for | Adobe Acrobat Pro DC, Adobe Acrobat Standard DC

  • Why do I get a download error?

    I get a download error in the apps section.  Can someone help me solve this problem?  I want to update to Lightroom.  Thank you

    Hello

    Please check the help below document:

    https://helpx.Adobe.com/creative-cloud/kb/download-error-apps-tab.html

    You can also view the threads below:

    Persistent Cloud error - error download - creative

    Creative cloud "Download error" message

    Kind regards

    Sheena

Maybe you are looking for