Currently viewing the tag: "lightroom 3.4"

I knew it!!!, that was the first thing that came to my mind after learning that lightroom’s catalog native format is a SQLite. I didn’t know it was SQLite, but I new that Lightroom is somehow using a database technology intended for small-scale applications maybe like SQL Server Express from Microsoft. Anyway, thanks to an old post from Gerhard Strasse, now I know how to repair my unrepairable corrupted LR3 catalog.

For months I have been dealing with this catalog problem, it all started when I encountered an error in my lr3 scheduled backup, stating that there was an error reading the catalog file.

After restarting LR using the same catalog file, it attempted to repair the damage catalog, only to find out later that it cannot be repaired, good thing I have backup. I restored that, but when I tried to run a backup, same thing happened. And since then, I have been creating a backup manually by copying a the catalog file to a separate drive. I can’t even run integrity check and optimization on the catalog because it renders the catalog corrupted.

A week ago I noticed that the problem is getting worst. Aside from having a big 460mb catalog file, LR crashes frequently when I’m doing some editing, worst thing is, when I tried to restart LR3 using the same catalog, it’s already corrupted and cannot be use anymore, so that’s when I searched deeper and found SQLite to be the best solution. You can download SQLite here.

So if you find yourself with an unrepairable corrupted catalog, just follow this steps:

  • Just to let you know, I’m on a Windows platform, if you’re on a mac, please read Gerhard Strasse’s post.
  • Download SQLite.
  • Extract all files in a folder. Mine is in c:\SQLite
  • For simpler execution, Copy your corrupted catalog to the same folder, in this case copy it to c:\SQLite
  • Open a DOS prompt or a Command prompt.
  • Inside the command prompt change directory to c:\SQLite, the command is :
    • cd \sqlite
  • Here is the first of the two commands to execute to repair the catalog:
    • echo .dump | sqlite3 YourCatalogFileName.lrcat > TempLRCatName.sql
  • This command will extract all data from the database file into a text file with all the SQL commands needed to recreate the database. After exporting all the data, it will create a new database and use “.lrcat” as the file name’s extension. gerhardstrasse.wordpress.com.
  • 2nd command which will initialize and create a new lr3 database file .lrcat.
    • sqlite3 -init  TempLRCatName.sql  NewCatalogFileName.lrcat
  • After the execution of the above command I got this message:
    • Error: near line 6961135: database disk image is malformed.

After that, I copied the newly created Lightroom Catalog back to it’s folder and started it (still crossing my fingers), wallah!!!! Everything is back to normal. I tried to run my scheduled regular backup and it was successful. Looks like everything is back to normal. It took me 15 mins to repair the catalog, and oh before I forget, the old catalog that used to be 460mb was now down to 221mb. SQLite didn’t only repair the catalog, it optimized it and removed some fragmentation.

If you have any questions regarding this post, you can post a comment below or send me an email anytime. Thanks

The Busy Bee. May 2011. Canon EOS 20D with a Canon EF 70-200mm USM Lens

It was just a couple of weeks ago when Lightroom 3.4 and Camera 6.4 was release. Now 3.4.1 of light room 6.4.1 of Camera raw is now available for download.

Lightroom 3.4.1 and Camera Raw 6.4.1 are now available on Adobe.com and through the update mechanismsavailable in Photoshop CS5 and Lightroom 3.  This update addresses an issue introduced in the Lightroom 3.4 and Camera Raw 6.4 release where, in very rare cases, JPEG files could become corrupted after editing the metadata in the file. This update also corrected another rare issue that could cause valid JPEG files to appear with incorrect color.

Download Lightroom 3.4.1 here and Adobe Camera 6.4.1 here.

When I opened Lightroom earlier I got a pop-up message telling me that an update for lightroom is now available, this time it’s version 3.4 with Camera Raw 6.4. These updates include bug fixes, new camera support and new lens profiles.

The Adobe® Photoshop® Lightroom® 3.4 update includes these enhancements:

  • Additional camera support for several new camera models including the Canon Rebel T3i, Nikon D5100 and Fuji FinePix X100
  • Corrections for issues introduced in previous versions of Lightroom 3

Complete List of New Camera’s Supported under Lightroom 3.4.

  • Canon EOS 600D (Rebel T3i / Kiss X5 Digital)
  • Canon EOS 1100D (Rebel T3 / Kiss X50 Digital)
  • Fuji FinePix S200 EXR
  • Fuji FinePix F550 EXR
  • Fuji FinePix HS20 EXR
  • Fuji FinePix X100
  • Hasselblad H4D-40
  • Kodak EasyShare Z990
  • Nikon D5100
  • Olympus E-PL1s
  • Olympus E-PL2
  • Olympus XZ-1
  • Samsung NX11

For a complete info on this update please read the Lightroom Journal.

Download the new Adobe Photoshop Lightroom 3.4 and Camera Raw 6.4  here.

List of bug fixes under Camera Raw 6.4

  • Camera Raw did not allow write-back capability for the EXIF GPS properties.
  • The DNG File format did not support XMP Media Management.
  • A JPEG file with a specific characteristic was found to have a pink cast.
  • The undo command (Command+z) was failing to undo crop adjustments.
  • Single images marked for deletion were not moved to the trash.
  • A magenta color cast could have appeared on Nikon D7000 or Pentax K-5 images if the multi-exposure feature was used with raw capture.
  • Applying Sigma 10-20mm Lens Profile to Nikon D7000 raw files could have produced dark or black corners
  • Some EXIF fields of Panasonic raw files appeared to be blank in Bridge Metadata panel
  • Applying the exposure adjustment brush to a high ISO image could have caused excessive noise reduction correction to the entire image