Skip to main content
Participant
February 26, 2025
Question

Virtual copy fails to create when keyword field has entries Build [202502071718-3869eef7]

  • February 26, 2025
  • 1 reply
  • 159 views

Recently came across a bug where a message stating:

"An internal error has occurred: Database
Catalog-v13-3.lrcat": UNIQUE constraint failed: AgLibraryKeywordImage.id_local
sql: INSERT INTO AgLibraryKeyword1mage( id_local, image, tag ) VALUES( ?
); (error code 1555)"

when creating a virtual copy in a photo with items in the keyword field in Lightroom Classic Build [202502071718-3869eef7]. Removing all entries in the keyword field eliminated the problem.

The error seems to have gone away after a restart of lightroom but I bet the bug team would want to have a look anyway.

1 reply

AxelMatt
Community Expert
Community Expert
February 26, 2025

In a first step try to reset the preferences of Lightroom Classic:  How to reset Lightroom Classic preferences (adobe.com)

It's recommended to backup your preferences before you reset the preferences to the default settings: 

https://helpx.adobe.com/lightroom-classic/kb/preference-file-and-other-file-locations.html

 

If this doesn't help a faulty catalog can be also the reason.

Hold the Ctrl-Key while starting LrC. This opens a catalog selection dialog.

First select the appropriate recent catalog and let it check it – note the checkmark "Test integrity of this catalog" to check its integrity. If that doesn't help, try to create a new one and see if this catalog works. If yes, you could then try to import your current catalog into the new one.

 

My System: Intel i7-8700K - 64GB RAM - NVidia Geforce RTX 3060 - Windows 11 Pro 25H2 -- LR-Classic 15 - Photoshop 27 - Nik Collection 8 - PureRAW 6 - Topaz Photo AI