P: "Unknown error" for Denoise and Distraction Removal after .lrcat-data file is deleted; LR hangs
In LR 15.1, after deleting the catalog's .lrcat-data file, photos with Denoise or Distraction Removal applied show the error message "An unknown error occurred" in Develop. Trying to do Update AI Settings in Library hangs LR, requiring a force quit. This doesn't occur with the other AI commands, nor does it occur in LR 15.0.1.
This bug makes recovery of corrupted .lrcat-data files harder, forcing the user to wait for Adobe Support to repair their catalog.
(Note that Denoise and Distraction Removal use the FilterList setting internally.)
To reproduce with LR 15.1 / Mac OS 15.7.1:
1. Download this tiny catalog:
2. Uncompress the catalog and open it in LR 15.1.
3. Open the photo in Develop.
4. Apply one of these AI commands: Denoise, Distraction Removal > Reflections, > People, or > Dust.
5. Exit LR, delete the .lrcat-data file from the catalog folder, restart LR. Click Continue in response to the warning. Observe in Develop the error message "An unknown error occurred" (incorrect).
6. Go to Library and do Photo > Develop Settings > Update AI Settings. Observe the Update AI Settings dialog appears but makes no progress (incorrect).
7. Click Stop and observe the dialog never exits. You have to force-quit LR.
8. Repeat steps 2-7 with LR 15.0.1 and observe there is no error in step 5 and doing Update AI Settings works correctly.
* * *
A workaround:
1. Exit LR and delete the .lrcat-data file from the catalog folder.
2. Start LR 15.0.1.
3. Select all photos in Library Grid view (not Library Loupe, not Develop) and do Photo > Develop Settings > Update AI Settings and wait (a potentially long time).
4. Restart LR.
5. For each photo with Distraction Removal > People, open the People panel. For each pin representing a removed person, click on it and do Generate.
6. Repeat step 3.