LR2: non-official SQLite fix for non-exporting keywords

Hello
This is not the official Adobe fix.
I've been looking into this and it's relatively trivial to update the catalog using SQLite tools to update a catalog so that keywords are exported again.
Please note that you do this at your own risk.
-- Start --
1. Obtain an SQLite tool - I use SQLiteSpy, there are others for both Windows and Mac - search this forum for examples.
2. Close Lightroom if it is running.
3. Backup your .lrcat file
4. Start your SQLite tool, and open your .lrcat file.
5. Execute this query:
update aglibrarykeyword
set includeOnExport = 1, includeParents = 1, includeSynonyms = 1
where parent is not null
6. Close your SQLite tool
-- End --
This will set all three options on your keywords, and should make any keyworded image export with the keywords. However, this fix sets all three options on all your keywords, it doesn't match the options you had in LR 1.4.1. If you're not confident with running these steps, I suggest you wait for an official fix.
Zak

I've been experimenting with this, taking advantage of what Zak already described.
But Im finding that some of the keywords *are* written out. And by using SQLiteSpy to looking into my 1.X and 2.0 catalogs its pretty easy to see where they botched up the conversion.
I think the problem is something like this...
For each keyword, if you have never fiddled with the Keyword Tag Options for a keyword then the 1.X catalog has the corresponding values in the set to NULL (the three properties are actually stored as a string containing Lua code to create a table with these three values). If you fiddle with any of them then they get set (all of them). The 2.0 conversion process seems to do the right thing when converting non-NULL values. Its when the 1X database has a NULL that they screw up, putting a false in the 2X database, when they probably should have inserted true instead.
Ive now got a swag at fixing this, but I cheated. I run an UPDATE statement on the 1.X catalogit will supply true values for all three settings on keywords that currently have no value. You then need to run LR 2 to convert the catalog to the new format, and things seem to work ok.
Heres the query. Remember this is to be run on the 1.X catalog. Specifically, I was using Lr 1.4.1, and havent tried with earlier versions. And all normal warnings about making backups, not trusting code you find on forums, etc, apply.
update AgLibraryTag set flattenedParams = "params = { includeOnExport = true, includeParents = true, includeSynonyms = true, }" where flattenedParams is NULL;

Similar Messages

  • Another non-official fix for LR2's non-exporting keywords

    Just as Zak Beck's fix, this is NOT an official fix!<br /><br />I'm sure Adobe's fix will be out soon, but for those who don't want to wait and are a bit adventurous, here's my fix :)<br /><br />You will need a copy of your old LR1 catalog and your new LR2 catalog. This utility will read each keyword from the old catalog and apply the same setting to Include On Export, Include Parents and Include Synonyms in the new catalog.<br /><br />FAIR WARNING!!! This is not tested rigorously!!! I did this for my own catalogs, and it works on them. It passes LR's integrity check, opens fine in LR2 and I have checked around 30 (of 9000) keywords and they all seem to be correct now. However, PLEASE MAKE A BACKUP of your LR2 catalog prior to running this. You never know... Needless to say, this comes with no warranty whatsoever, use at your own risk!<br /><br />For the diligent, the source code is included, so feel free to make sure it does what I say it does :)<br /><br />If your still interested, here's what you need to do:<br /><br />1) If not already installed, install Java 1.6 or later.<br /><br />2) Download LRKeywordFix.zip from here: http://www.box.net/shared/tyylegbccg<br /><br />3) Unzip LRKeywordFix.zip<br /><br />4a) If you are on a Mac, move the file macosx/libsqlitejdbc.jnilib one directory up<br /><br />4b) If you are on Windows, move the file win\sqlitejdbc.dll one directory up <br /><br />5) run the command "java -jar LRKeywordFix.jar <path to LR1 catalog> <path to LR2 catalog>"<br /><br />For example: "java -jar LRKeywordFix.jar c:\backups\LR1Cats\mylr1cat.lrcat c:\LR2Cats\mylr2cat.lrcat"<br /><br />Let me know how it goes!<br /><br />Regards,<br />Kris

    OK, so I've updated the tool now. This is what's different:
    -Separate packages for Win32 and OSX
    -Output is more informative now. Note the levels: INFO, WARNING and ERROR. INFO is just FYI, nothing went wrong. WARNING means something non-critical happened and the tool should continue to process. ERROR usually means a critical error happened and the tool will quit. Also, if a keyword from LR1 was not found in LR2, it will tell you so.
    -I actually check that the LR2 keyword is the same by complete name, case sensitive. So, e.g., if LR1 keyword was 'Los Angeles^California^USA', the LR2 keyword must be exactly the same, not e.g. 'los angeles^california^usa' or 'Los Angeles^USA', etc. This may be a nuisance for some but I felt it was better to be strict here. If really needed, I can add an option to let the user choose how strict the tool will be.
    Win32 package:
    http://www.box.net/shared/54yyp6zuq4
    OSX package:
    http://www.box.net/shared/un61qc2gfg
    /Kris

  • Official apple fix for 3 bars with no working wireless!

    This is for all of you with internet connected bars yet no internet on your ipod touch
    If you have tried everything on forums and youtube from doing the network reset to unplugging your router for 10 seconds and replugging it back in and it has not worked for you then this is what you do.
    Unplug router and other internet devices for 4 minutes "not the ipod" unlike the original 10 seconds .
    Plug back in your router and devices
    Go to settings on your ipod touch, general , reset , reset network settings.
    It will reboot.
    Boom your on.
    I called apple and was amazed that this works. Just make sure that router is unplugged for 4 minutes. No one on any forum has said that as a fix for internet. Your welecome.

    Give apple technical support a call. They will stay on the phone with you till its fixed. They have very simple steps and know what there doing. From the problems your having. If he/she cannot fix it then call 1 more time and hopefully you will get someone with more knowlage. They fixed mine in 2 minutes and I tried everything before that

  • EASY fix for import/export drives not showing up!

    I had that problem that I've heard about around here, where when you go to import or export, you can't select any of your drives, etc. you only get 'Desktop' and your user folder.
    I went through EVERYTHING from my registry to, well, everything.
    I read a post here that talked about moving your desktop directory; that is a pain and is dangerous for people who don't know what they're doing. Here's a much easier way!
    First you need to find your preferences file. I'm running Windows7  32-bit, and mine was here:
    C:\Users\Dave\AppData\Roaming\Adobe\Lightroom\Preferences
    Paths for other versions of windows can be found here:
    http://kb2.adobe.com/cps/405/kb405365.html
    Once you get there, make sure to close lightroom first. Then you want to open "Lightroom 2 Preferences.agprefs"
    Find a section that says something like this:
        AgMRUPopupList_AgExport_destinationFolderPathPrefix = "s = {\
        \"C:\\\\Users\\\\Dave\\\\Pictures\",\
    this is a list of where Lightroom will try to export pictures. For some reason having only that one line messes it up. so we add another like so:
        AgMRUPopupList_AgExport_destinationFolderPathPrefix = "s = {\
        \"C:\\\\Users\\\\Dave\\\\Pictures\",\
        \"F:\\\\part 1\",\
    Note that the new directory has to be a real one or this won't work. It doesn't matter what it is though. Also note all the slashes, I don't know why they have to be there but they do.
    Now when you go into lightroom, and you're at the export dialog, when it says where to export to, click the little arrow to drop a list down. choose your new directory, then you can use the choose correctly, all your drives will be there and everything, and it is almost fixed permanently (see below)!
    The same thing goes for the import dialog issue,
    AgMRUPopupList_AgImportDialog_destinationFolderPath = "s = {\
        \"C:\\\\Users\\\\Dave\\\\Pictures\",\
    Add a line so its like this:
    AgMRUPopupList_AgImportDialog_destinationFolderPath = "s = {\
         \"C:\\\\Users\\\\Dave\\\\Pictures\",\
       \"F:\\\\part 1\",\
    Save it. Now go to import, copy to a directory, then use that drop-down to select f:\part 1 (or whatever you used), and the choose folder is almost permanently fixed!
    It turns out this issue arises when, say, all of the previous paths Lightroom imported from/exported to no longer exist. This actually happened to me for stupid reasons (!), but it might just be you left a USB drive off or whatever...So it clears the list and effs it up. It's a bug in lightroom and I hope they fix it, but this fixes it for now (unless you cause it again...)
    Yay! I spent about 3 hours on this. Thanks to the other posters who helped pieces of the puzzle!

    I'm guessing the ext. drive may have been damaged during the forced shutdown, and a repair is needed. You could also try mounting it in Disk Utility. A PRAM reset may also help.
    But you also should try to resolve the Kernel Panic.
    Here's the most used site for Resolving Kernel Panics. Please do all the steps in order, even if you don't think you need to do a certain step.
     Luck! DALE

  • A fix for Adobe Export PDF

    Is anyone trying to fix this issue around 0 attempts left to convert PDF to word?

    Yes, we are currently investigating the issue and we really appologize for this inconvenience.
    Regards,
    Laura.

  • Any fixes for LR5 export error message 'Not enough memory'?

    I have plenty of hard disk space, and the files being exported are only 10MB each. I'm exporting from PEF raw files to jpg's.  Closing and restarting LR5 fixes the issue after two or three goes, but it's getting annoying.  Anyone know of this issue?

    Don't be tempted to just upgrade your RAM, as Windows 7 32 Bit is unable to utilize more than the 4 GB you already have installed.  If costs are an issue upgrade your OS to Windows 7 (or higher) 64 bit first, then upgrade to 8GB of RAM if/when required.
    I have Lightroom 5.4 installed on two Windows 7 64 bit desktops, one with 4GB of RAM installed and the other with 8GB.  I have never experienced a 'not enough memory' error with either, although performance is significantly better on the 8GB system.

  • Joe Schorr - When can we expect a fix to the numerous keyword problems?

    Joe, when can we expect a fix for the numerous keyword problems? Is this a priority?
    There are so many problems that I’ll be very surprised if you can resolve them all on the first attempt. I doubt you have a complete list but I feel safe in saying they’ve all been mentioned here in one form or another. You would be doing yourself and the customers a service if you took the unprecedented step of providing your list so that it can be reviewed for accuracy. I’m finding new problems... or at least I think I am. I hate to waste your time reporting problems others have already reported or worse yet, problems I’ve reported — as I’ve lost track there are so many.
    Please let us know what is going on with this. You’ve made progress on the performance issues (though I think I speak for everyone with a PPC system that it’s still not what it should be – and I have a G5 Quad w/7 GB RAM and Quadro FX 4500 card. Aperture should be smokin’ but it’s not...)
    I look forward to hearing from you....

    I have a 500 GB hard drive; that's how I've avoided the issue, to date. But you consider a 2000 shot bat mitzvah a small shoot, so I have know problem acknowledging you shoot a lot more than I do.
    The key point about Aperture, to date, is that it doesn't add ANY data to original RAW files, period. Everything it appears to do -- everything is just a set of modifications to the master. This applies to sharpening, this applies to shadows and highlights, this applies to cropping... and it applies to metadata.
    As for archival, etc., ... if you're archiving outside of Aperture... why not just use multiple Aperture libraries? It's a bit inconvenient (to the extent that it takes 15 seconds to change the setting and re-launch), but it gets around the problem. I mean, if you're archiving external to Aperture in original RAW format, you're not only "losing" the metadata... you're losing every single change you've made to the file. Truly, no editing functionality of anything would you be using in this scenario.

  • [svn:fx-trunk] 11642: Simple fix for non-integer translations by first multiplying to twips before casting to int .

    Revision: 11642
    Author:   [email protected]
    Date:     2009-11-10 19:40:31 -0800 (Tue, 10 Nov 2009)
    Log Message:
    Simple fix for non-integer translations by first multiplying to twips before casting to int.
    QE notes: Please test non-integer translations in FXG.
    Doc notes: N/A
    Bugs:
    SDK-24110 - Drawing of compiled FXG items is off by half a pixel
    Reviewer: Peter DeHaan
    Tests run: Checkintests, Bug test case
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24110
    Modified Paths:
        flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/types/FXGMatrix.java

    i dont know why you are so mean i just asked which
    wrongs i had wrong
    anyway im done with thoseSo, the questions have 4 alternative answers. We tell you which questions you got wrong. This eleminates one of
    the alternatives, leaving 3 choices. Usually in most mutlichoice questions 1 choice is obviously incorrect,
    leaving 2 choices. One of those you have probably already discarded when you initially made your incorrect chocie
    thus leaving 1 alternative. Congratulations you just 100% on your test. I don't think so. Go read your book or notes or
    whatever you have because all the answers will be in there. The teacher will not ask you a question on a subject
    you have no prior knowledge of.

  • [svn] 4184: Fix for @ see tag referencing a non-global package function generates an empty link@ href in DITA

    Revision: 4184
    Author: [email protected]
    Date: 2008-11-25 12:33:43 -0800 (Tue, 25 Nov 2008)
    Log Message:
    Fix for @see tag referencing a non-global package function generates an empty link@href in DITA
    Also now the deprecated should show up in the property and method summary table.
    and when @see results in an invalid href, an additional attribute called invalidHRef will be added to the dita file - this isn't picked up by xslt but will be consumed by FB.
    QE Notes: Some baselines may need to be updated due to new attribute for invalidHRef
    Doc Notes: None
    Bugs: SDK-18206
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18206
    Modified Paths:
    flex/sdk/trunk/asdoc/templates/asdoc-util.xslt
    flex/sdk/trunk/asdoc/templates/class-files.xslt
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Update!
    v3.1 has a major bug! Even though it may appear to work properly, strange characters may leak onto the end of URLs, and you may even get segfaults. Sorry I didn't properly test it before releasing it!
    Technical details:
    I calloc()ed the memory for the link href improperly, per:
    link = calloc((noprepend ? 0 : urllen) + i - s, 1);
    Once I fixed it with "+ 1", per:
    link = calloc((noprepend ? 0 : urllen) + i - s + 1, 1);
    it worked great.
    I may use a method that doesn't use a calloc() in the future; this works for now, and I'm not gonna knock it...
    Last edited by dav7 (2009-01-23 12:38:51)

  • Since up updating to ios 7 i'm no longer able to receive push notifications.  does anyone have a fix for a non-techie?

    since updating my iphone 4s to ios 7 i'm longer able to receive push notifications for my apps.  does any have any fixes for a non-technically person :-)?

    I am having this problem as well.  I hate to just wait and hope Apple will fix the problem, but I'm not sure what else can be done. We can't be the only people experienceing this, can we?

  • I have 9 Soundcloud widgets on my web page, none of them work. They use HTML 5 which works on Google Chrome and Internet explorer. Do you have a fix for this ?

    I have 9 Soundcloud widgets on my web page, none of them work. They use HTML 5 which works on Google Chrome and Internet explorer. Do you have a fix for this ? I am using Firefox V 20.0.1

    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Any news on a fix for incompatibility between non-apple docks and ios 7?

    Neither Bose nor Sony dock will play music after "upgrading" to ios 7. I've seen many complaints on these forums but haven't heard any sort of response from Apple. None of the "fixes" have worked for me. Any news about a patch? Thanks.

    Here's what M-Audio's support sent me today:
    The iControl Protocol (the protocol by which the iControl Control Surface communicates with Garage Band and Logic) was created by Apple, and the iControl Control Surface was designed by M-Audio to Apple s specifications. The iControl has no drivers to install and is class compliant.
    It has happened over the course of Garage Band and Logic development that some updates (both major and incremental) of these applications have had the side effect of changing the way certain features of iControl interact with the Apple software.
    Since the iControl was built to Apple s original specifications, and since the device uses no drivers (therefore no M-Audio drivers to update), there is no way for M-Audio to address these issues directly. Any fixes for these issues would have to come in the form of updates to Garage Band or Logic.
    That obviously doesn't keep them from marketing and selling it ...

  • Any fix for non-booting back-up disks?

    I have 5 Lacie back-up disks, all firewire, and all based on clones of my iBook (on 10.4.6).
    Unfortunately, they've all followed the same pattern of decline - working perfectly for a year or so, then suddenly becoming unbootable. They appear as a bootable option in system preferences, but simply fail to boot - same too when the option key is held down at startup.
    My last 2 disks went unbootable at the weekend, when I installed iLife 06 on the iBook (can't see any link between the events.)
    Disk Utility assesses them all as needing no repair, but it sound like they're not spinning fast enough to start up. The blue 'Power-on' light doesn't flicker either, as it normally does when a disk is active.
    They're 2 - 4 years old, still store data fine and mostly mount first time. The line-up includes three d2s (300GB + 320GB) + 2 Porsche mobiles (100GB). Slim chance I know, but since Google throws up several instances of Lacies becoming unbootable, for no apparent reason, has anyone found a fix for this?

    conran:
    The firewire bridge is the interface that enables the HDD to communicate with the computer. That's about all that I know about it. In my case, both drives to which I referred in my earlier post, were still functional. In the case of my LaCie I could feel the vibration of the HDD spinning, but nothing came up. You can read about it here. In the case of my son-in-law's HDD, nothing worked. I was not even sure if the drive would work if I pulled it. But I put it in my enclosure and it worked fine. Everything was still on it the way it was when he last used it.
    Those LaCie Porsches do look pretty neat. I still have my case, although I don't know what I would do with it. Buying a firewire bridge by itself would have cost more than the enclosure cost. So I don't have a neat shiny box anymore, -- just a blue box. But it works! If I want to look at a neat shiny box I can set that up next to my computer and look at it; but it only makes me sad.
    Incidentally, the computer's firmware has nothing to with it. LaCie had a firmware update that I downloaded, but my firmware was up-to-date.
    Cheers
    cornelius

  • 3g phone ringer all the way up but very faint, all sounds are very faint or none at all.  Even the click when turning off is bearly audible.  Is there a fix for this?

    My phone volume has almost disappeared.  Screen clicks, ringer all of it is bearly audible, sometimes not at all.  Everything is on, ringer volume turned all the way up.  Is there a fix for this on the iphone 3G?

    I am simply lookig for some help not an argument.  I am not an RF specialist however have setup a few wireless networks in my tenure at Wynn Resorts.  I fully agree that wireless networking is an art and a science however the powers that be in Network Land have toughted wireless networking is the easiest and quickest way to get two computers to talk with one another.  As I previously said I have already turned one (1) MBP in for this problem and Apple decided to replace it because they could not fix the problem with my particular MBP.  This MBP was running Leopard when the problems started
    I am having a hard time believeing that there are several other devicces in my home that depend on a wireless network to operate and my MBP is the only one having an issue.  I took this a step further and decided to see what would happen if I tried to connect wirelessly via Fusion.  In Windows 7 I am able to print and scan to my hearts content without any issues.  I am able to browse the internet as much as I want.  I close Fusion and try to connect to my printer via wireless and nothing.
    In order to get Apple to help do I need to get a Network Analyzer and capture packets when I have these problems?  Out of the 1000 + posts is there a consolidation of which answer is the best?  BTW I am accessing the internet via a wireless connection using Fusion and Windows 7.
    In response to Linc's comments, I will look at the router specifications however I did not qualify that these devices are not using the wireless connection at the same time.  Right now I would guess there are maybe two (2) or three (3) at the most that are actively transmitting / receiving information. --  Thanks

  • Root CA certificate marked as non-exportable

    Hello All.
    I've found myself with an odd issue. A few months ago I migrated from an old 2008R2 Enterprise CA to a new 2012R2 Core Enterprise CA. I exported the Root CA cert from the old server using the following:
    certutil.exe backupkey C:\Temp\Migration
    That made a P12 file with the private key. I then imported the Root CA on the new server (after decommissioning the old server, installing ADCS, etc) using this command:
    certutil.exe importpfx "blah.p12"
    I continued the rest of the CA Migration steps per TechNet articles (http://technet.microsoft.com/en-us/library/31eca881-0744-447a-ae7a-597310b9d9bf(v=ws.10)#BKMK_PrepDest
    http://technet.microsoft.com/en-us/library/cc742388(WS.10).aspx).
    Things have been fine for months but I wanted to do a scheduled backup of our CA cert and got an error:
    C:\Scripts>Certutil.exe -p Blah -backupkey
    CABackupCertUtil: -backupKey command FAILED: 0x8009000b (-2146893813 NTE_BAD_KEY_STATE)
    CertUtil: Key not valid for use in specified state.
    This error appears to be because my Root CA cert is marked as non-exportable. I verified this by using the Certificates MMC and the option is greyed out.
    My understanding is that importing a PFX with no options marks the private key as exportable but for some reason mine didn't. I'm not sure why but the issue at hand is to fix this for the future.
    I can see 2 possible options. To re-import the P12 file (I still have the original file) or to possibly renew the Root CA certificate although I'm not sure if that will allow it to be exportable.
    We have a lot of certificates issued by this new CA so I'm looking for suggestions or caveats since I can't find anyone else with similar issues.
    Thanks!

    > Would I have 2 CA certificates when I look at the properties of the CA in the MMC?
    you can delete existing key from the store and re-import from PFX file.
    > My understand was that it imports by default with the private key being exportable
    Not sure about certutil (haven't used this parameter for a while). You can try to run it again and check whether it will allow key export.
    > Would I have 2 CA certificates when I look at the properties of the CA in the MMC?
    no, you will still see the same certificate list as before, because this list is maintained by renewals and internal CA database information.
    > Or do you think it would be as easy as re-importing?
    Re-import will solve the issue. If certutil won't help, then use MMC.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new:
    SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

Maybe you are looking for

  • Corrrect procedure to upgrade

    What is the correct procedure to upgrade from Forms30 to Forms60 ? Is it Forms30 to Form4.5 to Forms60 ? Is there any direct method ? I tried using f60genm, but it only generates the .fmx file not the .fmb file. what I am missing ??

  • How do I play avi hotmail attachment on my Ipad 3?

    How do I play avi hotmail attachment on my Ipad?

  • Scripting & Applying Set Percentage in Javascript

    I need to script a set percentage to an existing calculated total field in order to show a new field total with the set percentage applied. Total is already calculated in the form, but I'm not sure how to plug in the 2.25% to calculate for a final to

  • Hi im struggling to pring a pdf form

    hi im struggling to print a pdf form on line it says r PDF viewer may not be able to display this type of document how can i get the correct programe for free to print it out

  • Help! I'm desperate, imported PPT's are giving me nightmares on export!

    Greetings fellow Captivators, it's my first post here. I hate to jump right in and beg for help, but I'm really beside myself here, and am losing ground/time on a major project due to this bug/error/mistake. First let me explain the project to you: 1