Unable to read metadata during the process or Slow?

I am trying to write metadata to hundreds of files at a time. I need to me able to write and read back the updated metadata in the same process.Say like add the last name to the photo title then append the first name to the title. Each piece of data is another operation that can be set to overwrite or append to a certain field.
The problem is when I enclose the entire operation inside a withWriteAccessDo block. In this case if I overwrite that title field with the last name and thend in the next operation I try to append the first name. The problem is that it does not get the updated metadata in the title field, it returns the orginal value!
I can fix it by putting the withWriteAccessDo block inside the operation for loop so during each operations it uses a new withWriteAccessDo block. This way the updated metadata can be read back for the append correctly. The problem with this meathod is that it takes a very long time! like hours! before in Lightroom 2 this whole operation would take place in under 30 seconds and now it takes and hour!
So here is some pusdocode
1 does not get old data correctly
withWriteAccessDo
     For each operation
          if overwite
               write data to field
          else if append
               get current filed data
               concat old data with data to be added
               write new data
          end
     loop
end withWriteAccessDo
2 works but takes a long time
For each operation
     withWriteAccessDo
          if overwite
               write data to field
          else if append
               get current filed data
               concat old data with data to be added
               write new data
          end
     end withWriteAccessDo
loop
Anything that I am doing wrong?

Lightrooom has been extensively reworked under the hood as far as catalog writes go.
Before: writes just wrote.
Now: All writes are accumulated in a transaction but are not committed (and hence not accessible) until exiting the with-write gate. And,
complete undo info is saved for every write.
So, what I do for effiiciency is either:
1) Make "to-do" functions
2) Save "to-do" info.
Then, call all these "to-do" functions, or process all this saved "to-do" info in a single write-gate, or in a succession of dependent write-gates.
Rob

Similar Messages

  • I forgot my passcode, so I was unable to access my phone. I then tried to restore it, but it has frozen during the process. It won't connect to my mac again and I can't stop the process because my lock button is broken. What do I do?

    I forgot my passcode, so I was unable to access my phone. I then tried to restore it, but it has frozen during the process. It won't connect to my mac again and I can't stop the process because my lock button is broken. What do I do?

    My first advice is "Back up the device, then have it replaced."  Second item of advice, "Don't forget your passcode."
    One of the purposes of the lock button is to recover from certain software failures.  Without the lock button, such a recovery is nearly impossible.  My advice would have served you best when the malfuction first developed, not after you forgot your passcode.

  • Error during the Process of Netting - No Identifier Found TPM_TRG136

    Hi All
    During the process of doing Netting , the system is popping up an error message as - No Identifier found. The message error is TPM_TRG136.
    Can anybody suggest the solution for the error.
    Ram K

    Hi @artem98765,
    Welcome to the HP Forums!
    It is a terrific place to find answers and suggestions.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp that when you tried to do a recovery back to factory you received the error incomplete recovery.
    As you did not state if how you were doing the recovery I will include documentation for the process along with a troubleshooting document.
    HP PCs - Performing an HP system recovery (Windows 8)
    HP PCs - Troubleshooting HP System Recovery Problems (Windows 8)
    If you are still unable to complete the recovery please contact HP support for further assistance.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • When I installed iTunes 10.6 to windows 7, during the process i got this message -" There is a problem with this windows installer package. A program required for this install to complete could not be run"

    when I installed iTunes 10.6 to windows 7, during the process i got this message -" There is a problem with this windows installer package. A program required for this install to complete could not be run" and after that the setup closed automatically. Plaese tell me if any setting up of windows is in order.

    Try looking at the two previous discussions listed on the right side of this page with your same question.
    Also, try searching/posting in the iTunes forum since you do not have an iPod problem.

  • Unable to read payload from the message object in XI

    Hello Guys,
    Please help me about my problem in XI version 7.0.im quite new here.
    im trying to test my config but error message occured. "Unable to read payload from the message object"
    when i checked the comm channel this is the error message :
    Error during database connection to the database URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor': com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "TRAVEL:SelectMethod=cursor" requested by the login. The login failed.'
    when i tried my login in sql it works...but in this message the login is failed..what shall i  do..
    Please advice.
    Thanks in advance
    aVaDuDz

    Hi
    Check with the connection string & Authorization of user you have used.
    MSSQL string is
    jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
    While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
    Thanks
    Gaurav

  • PLEASE HELP ! While updating My Xperia Z1 , my pc hanged during the process and .

    While updating My Xperia Z1 , my pc hanged during the process ( so , installation of update was interrupted , guess it's same as getting your USB connection disconnected )and now the phone won't turn on .
    Its shows the Sony Xperia logo , then shows a black lit screen , and that's it , nothing else happens . I can only turn it off by pressing and holding the power+up volume button , but it turns on automatically if plugged in for charging or in PC only till it gets that black screen .
    I tried to flash it with a flashtool (Emma) , but it says phone locked , but since it can't even be turned on , i can't unlock it .
    It's a store bought phone and is not of any contracts with any mobile service provider or anything like that ....
    Funny you know ... my PC had to crash at the moment i was updating it .... my luck ....
    Anyways , now please can anyone tell me what i can do ? I'm sure there is a way i can fix it using my pc and other downloadable software , so please can some one help me how i can fix this problem ? I don't care if i lose all the data on it , i just want my phone back ....
    Solved!
    Go to Solution.

    Problem Solved ,Thank you  very much !! 
    For those who might face the problem and stumble upon this thread after googling  
    Read above mentioned comments 
    Now here's what I did :
    Turned the phone off by power+volume key method , then plugged it in to the pc via USB and opened sony pc companion , entered Support zone , then entered the Update device option , then I Unplugged my device , only after doing this a window pops up with  Repair my phone/tablet in blue text , then i clicked on that and followed the simple instructions ..
    It's basically what Thommo said , only i was so freaked out at that time that i failed to follow his instructions to the letter  
    So now my phone is back to normal , and , it got the latest lolipop update !
    Problem solved i guess  but Thommo , i need to disturb you again with  just one more  question ,  since at the very beginning , the update process was interrupted , and now i got lolipop after  the repair ,without needing to update again ,  so has the lollipop been installed properly on my phone or do i need to use any other flashtool to re-install lollipop ? 
    again , Thank you ... 

  • After forgetting the password for my iPhone, I am trying to restore it through iTunes, however, during the process, the phone keeps turning on and asking for the password, thus canceling the process. Any advice?

    After forgetting the password for my iPhone, I am trying to restore it through iTunes, however, during the process, the phone keeps turning on and asking for the password, thus canceling the process. Any advice?

    Yes, you will still get the prompt.
    I meant reset then try the recovery mode restore again.
    You can also try DFU Mode.
    DFU (Device Firmware Update) Mode is different than Recovery Mode.
    DFU Mode is a special mode where the device can still interface with iTunes, yet it does not load the iBoot bootloader.
    DFU Mode:
    Plug your device into your computer.
    Turn off the device.
    Hold the Power button for 3 seconds
    Hold the Home button without releasing the Power button for 10 seconds
    Release the Power Button but keep holding the Home button
    Keep holding the Home button until you are alerted by iTunes saying that it has detected a device in Recovery Mode
          NOTE: Make sure the device screen is blank and no logos are present. Be patient, it make take several trys.

  • SOAP to proxy scenarion  error An error occurred during the processing of proxy E 00 001 The message can not be processed in plugin mode HTTP

    Hi all
    My scenario is soap to proxy scenario .while testing using soap to proxy i am getting " An error occurred during the processing of proxy E 00 001 The message can not be processed in plugin mode HTTP:  in sxmb_moni sap pi .
    Some times this interface is failing and some time its successfully processing.
    While testing with successful xml data also i am getting the same error in sxmb_moni.
    I modified the proxy inbound code where passing error message  and still i am getting the same message.
    Please suggestion the same  for error solving.
    Regards
    Ravi.

    Hi,
    I'm facing the same problem.
    I wrote an very easy report. It works as intended, but when i set fillable='X' i get the error FPRUNX 001.
    FP_GET_LAST_ADS_TRACE return following:
    Begin operation:
    Render, elapsed time = 16 ms.
    #   End operation: Render, elapsed time = 89 ms.
    #   Begin operation: UsageRights, elapsed time = 89 ms.
    #   End operation: UsageRights, elapsed time = 97 ms.#
    ...and the error string of FP_GET_LAST_ADS_ERRSTR is:
    ADS: Request start time: Wed Jul 01 14:44:26 CEST 2009(200.101).
    Any idea what the problem might be?

  • HT201413 i tryed to restore my phone but it turns of during the process and an error happens so what should i do

    i tryed to restore my phone but it turn off during the process and an error happens so should i do ?

    Hello there, VladlsSwag.
    The following Knowledge Base article provides some steps for troubleshooting your issue:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Particularly:
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    My issue is still not resolved. What do I do next?
    Contact Apple Support.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Is it possible to turn off the fluid grid function in dreamweaver during the process of building your site by mistake? It was working fine and simply stopped and I don't see how to correct what is wrong.

    Is it possible to turn off the fluid grid function in dreamweaver during the process of building your site by mistake? It was working fine and simply stopped and I don't see how to correct what is wrong.

    There is no specific function that turns FGL on or off.
    When you say that it has stopped, do you mean that the handles no longer show?
    If that is the case, then I think you may have modified the CSS to such an extent that Dreamweaver no longer recognises it as belonging to FGL.
    There are a couple of avenues for you
    Redo the site and make sure not to touch the FGL CSS
    paste the code here so that we can see what has gone wrong.

  • Consumption during the processing time of the production order

    Which adjustments must be made in the material master for the calculation of the lot size in the MRP run, that the consumption of the material during the processing time of the production order is considered for the calculation of the lot size.

    Hi ,
    You have to judiciously indicate  the re order point  in the material master(  the re-order point is the sum of saftey stock and consumption during replenishment lead time).
    How ever , this does not in any way influence the lot size , but only influence the no of lots i.e the procurement proposals. The lot size is determined by the lot sizing procedure selected by you , depending on various factors like agrrements with your vendor , optimum lot sizes to reduce the cost of procurment and storages etc.
    You can refer to the following url for details on lot size :http://help.sap.com/saphelp_47x200/helpdata/en/fe/819b9f643b11d3b4e40004ac160649/frameset.htm
    and  for details about re order point :
    http://help.sap.com/saphelp_47x200/helpdata/en/db/6f143ea7ec11d3a8330000e82a3c24/frameset.htm
    Hope this information will be useful.
    Regards
    Raghuramam.

  • HT201210 Hi. During the process of updating my ipad to IOS 6 utilizing iTunes, I received the error #1602. I tried the update procedure again, this time itunes does not recognize the devise. The pad is displaying USB connecter to iTunes. Does anyone recom

    Hi. During the process of updating my ipad to IOS 6 utilizing iTunes, I received the error #1602. I tried the update procedure again, this time itunes does not recognize the devise. The pad is displaying USB connecter to iTunes. Can anyone recomend a fix?
    Thank you

    There is only one fix now. The message on the screen means that you have to restore the iOS software on the iPad now. Read the part at the very end about using recovery mode.
    iTunes: Restoring iOS software - Support - Apple
    About the error code.....
    Error 1600, 1601, 1602
    Follow the steps listed above for Error 1604. This error may also be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.
    If needed.....
    Additional Information
    If your device is continually restarting, not responding, or showing the Apple logo with no progress bar or a stopped progress bar, place the device into recovery mode and try restoring again.

  • Unable to upload metadata during package creation?

    Hi,
    I'm creating a package with multiple apps and versions, as I have done many times prior, but upon completion of the build it states that the packager was unable to upload metadata to the server. I tried editing the package, rebooting and editing the package but nothing changed. Still unable to upload the metadata. What does that mean and how can I fix it?
    Using CCPLauncher and serial number license for enterprise

    I am having the same problem with the latest CCPLauncher and serial number license for enterprise, the system I am running it on is Mac OS 10.10.3. Also, I have noticed that the newest CCPLauncher has RemoteUpdateManager version 1.7.0.25, build version 1.6, with a build date of 09/02/2014. However an older CCPLauncher I had a RemoteUpdateManager version 3.2.0.1, build version 3.2, with a build date of 07/10/2013.
    So the newer CCPLauncher has a lower version number, a lower build version, but a newer build date, but says it does not support "AdobeDigitalPublishingCC2014 app".
    The older CCPLauncher has a higher version number, a higher build version, but an older date and updated the "AdobeDigitalPublishingCC2014 app".
    Anyone know what the heck this is about? Not sure which one to deploy.

  • While I was updating my ipod touch to ios 6 the battery got drained during the process, i tried restoring it, it couldnt now my ipod is stuck on the Apple logo screen.

    while I was updating my ipod touch to ios 6 the battery got drained during the process, i tried restoring it, it couldnt now my ipod is stuck on the Apple logo screen.
    Can anyone help me with this issue???

    Connect your iTouch to your PC then open iTunes, if iTunes does not recognize your device, try to hold the SLEEP Button and the HOME button at the same time (iPod Reset) for a couple of seconds until the "Charging Tone sounds, now you should be seeing your device name in the iTunes " Device List". If you do, just click RESTORE and iTunes will automatically restore your iTouch to original set-up and download the iOS6 update.
    Hope this helps..

  • HT4859 I turned off my iPad during the process of restoring it, will this mess up the iPad or my apps?

    I turned off my iPad during the process of restoring it, will this mess up the iPad or my apps?

    If you turned it off in the process of doing a full restore, yes.  If you turned it off in the process of restoring it from an iCloud backup, it depends.  You may be able to turn it on and resume the restore; otherwise you'll have to restore from the backup again.

Maybe you are looking for

  • Importing to AE files - goes to wrong folder

    I looked in the AE FAQ, didn't see the answer to my question, so here goes. I am using AE with editing video, meaning I only use AE for some basic things. This is one of those times where my lack of knowledge is driving me mad. When I went to import

  • Header and footer does not strech 100% in browser.

    I cannot get header and footer to strech 100% in my browser. I started having problems after installing the November 21st update. What can I do to remedy this problem? Thank you for any help.

  • Why isnt my apple id not working

    I'm trying to reset my iPad but i cant. You're supposd to put in an id but this wont work. Im putting in my correct id and password but it says "this email cannot be used to unlock this iPad" and ive been trying for four hours and im starting to beco

  • ITunes 7.1.1 won't open

    alright, so i had iTunes 7 on my computer and it worked fine. i go to update to 7.1.1 and it seemed to install ok but when i went to open up the program, the computer just sits there. ive tried uninstalling and reinstalling but it wont work. i did un

  • ITunes Crash, Too Much Music?

    First of all, I was listening to my iTunes with my iPod not having fully updated with iTunes, meaning, not having gotten the latest iTunes music onto the Mini iPod. Second of all, I deleted about half of my library right before the occurrence. Then I