Copy link to clipboard
Exporting a photo with a brush mask and overlapping red-eye correction fails with "unknown error" when Use GPU For Export is enabled.
Tested on LR 12.1 with Mac OS 12.6.1, 12.6.2, and Mac OS 13.1 on two different machines.
1. Import the attached JPEG.
2. Enable the option Settings > Performance > Use GPU For Export.
3. Export the photo to the desktop as a JPEG (see the attached screenshot for precise export settings).
4. Observe the following "unknown error":
The photo has a brush mask applied around the right eye socket, with Whites = 22 and Noise = 18, and a red-eye correction on the right eye.
See here for the original report:
Adding bug number
While publishing photos (a single one or a collection set as well) LrC always produce the following error message:
readMetadata: Error when Lightroomattemps to process a catalog masterimage file: "dng_error_file_not_found"(look at the part after "dng_error" fora clue to the problem)
Later apears a window with a list of not rendered photos preceded of this message:
Einige Exportvorgänge wurden nicht gerendert.Unbekannte Fehler. Dieses Foto wurde nicht gerendert.or in englishSome export operations were not performedAn unknown error occurred. This photo was not rendered.
All the listed photos are exist on the HD as DNG-Files. They appear in the LrC catalog with all their metadata attributes.They also could without any problems be exported to HD by using the same parameters as in the Publishing Service.
Consequently the Publishing Service of LrC is not usable.
The same problem already occurred in LrC 11.5 so I was forced to downgrade LrC to version 11.4.
Lightroom Classic-Version: 12.0.1 [ 202210260744-9e008017 ]OS: Windows 10 - Home Premium Edition, version: 10.0.19044
Please post a screenshot, library module, grid view, with folders panel shown. Looking to see if their are ? and ! marks, thinking missing photos
This error currently affects any photo in any of my collections.None of this photos are marked with "?" or "!" in the library module. They were neither moved nor missing.All the photos are stored on an internal HD. It is still possible to develop this photos and also to exportthem to any location.
"Graphics processor information:DirectX: NVIDIA GeForce GTX 1650 (22.214.171.1244)Initial status: GPU is supported by default for image processingUser Preference: GPU enabled for export"
In Preferences > Performance, try unchecking the option Use GPU For Export.
Also, your graphics driver (126.96.36.1994, 516.94)) is about four months old. LR is constantly tripping over bugs in graphics drivers, so update to the latest (526.98) by going directly to Nvidia.com. Try the Studio driver first, rather than the Game Ready Driver (Studio drivers are supposedly better tested with creative apps.)
Hi John, it has no effect whether GPU support is enabled or even completely disabled: the error still occurs.Installing the latest version of the NVIDIA Studio Driver (188.8.131.5298) has no effect as well.
Which publishing service are you using?
I found only one other relevant instance of this error, which you also found:
Another suggestion: Rarely, LR has been known to corrupt export presets and definitions of publish services. Try creating a new instance of the Hard Drive publish service (right-click Hard Drive under Publish Services and do Create Another Publish Service). Does that new instance also experience errors?
I found only one other relevant instance of this error, which you also found:https://community.adobe.com/t5/lightroom-classic-discussions/ls-classic-10-4-error-using-publishing-... Another suggestion: ...Try creating a new instance of the Hard Drive publish service...@johnrellis
Another suggestion: ...Try creating a new instance of the Hard Drive publish service...
Unfortunately, a new instance doesn't behave any better.But I found out that the bugs were caused by two plugins, Timothy Arme's "LR/Mogrify 2" and Jeffrey Friedl's “Metadata Wrangler” Export Filter, which I've been using for years with no problems. After disabling both and adjusting the publish services accordingly, the errors no longer occur. Thank you for your support!
"“Metadata Wrangler” Export Filter"
Please report the problem to Friedl. He's generally very responsive and actively maintains his plugins.
Unfortunately, there's no point in reporting this to the LR/Mogrify2's author -- lots of reports in the forums that he hasn't responded in years.
You made two changes, deactivated two plugins, and things now work. But, we're both of those changes required, or just one?
If you put one back, probably the metadata wrangler, does the problem return?
I just found that the "Export as before" feature gives the same errors as described.
I have just run into the same issue running MacOS 12.6.2 & LR 12.1. I do have Metadata Wrangler installed. I got the same error whether I publish to SmugMug (using SmugMug's plugin) or publish to my hard drive Friedl's Collection Publisher plugin. Interestingly, some of the photos are published successfully, others are not. Exactly the same photos fail when publishing to each Publish Service. At this point I can't see what the successful or unsuccessful photos have in common. It seems random (but I am guessing it's not!).
I have used these two public services with Metadata Wrangler installed for many years without a problem.
I am not persuaded that Metadata Wrangler is the culprit. I disabled it in the plug-in manager, and the same files still failed to get published, only this time the error message is different; it simply says "there was an unknown error."
Digging into this further, the 18 images that were successfully published were the first 18 in the publish collection. The remaining 44 images failed to publish. The culprit seemed to be the 19th image. When I removed it from the publish collection, all of the remaining photos published successfully, both with Collection Publisher and with the SmugMug publish plugin. Now I will have to see if I can puzzle out why Lightroom choked on publishing a particular photo.
I have spent (way too many!) hours trying to track down exactly what steps lead to this error. I can consistently create this error by doing the following:
The export or publish will fail with the error noted by the OP.
I have tried this with a number of different images (taken with different cameras) that require redeye correction, and the steps consistently lead to the error.
* For the curious, this phenomenon is independent of whether I draw a pentagram and hop five times on my left foot prior to taking the steps above.
I'm can replicate this on my Mac, but only with Preferences > Performance > Use Graphics Processor enabled. I'll file a precise reproducible bug report on this.
Can you please do the LR menu command Help > System Info and copy/paste the entire contents here so we can see exactly which versions of hardware and software LR thinks you're running. Unless this issue can be easily reproduced by Adobe, it will get thrown into the bit bucket.
Here is the bug report: