I just installed LrC 10 and when I went to add images to a target collection, I get the following error: ?:0: attempt to compare two nil values. This is really holding me up organizing my photo book. Please help.
Updates to the Adobe Photography Products were released yesterday and include a fix for this issue. Please install the December update, restart your system and verify you are no longer experiencing the issue. Thank you for your assistance in reporting, providing additional information and, most of all, for your patience.
This happened to me when trying to move some images into a specific folder that's linked to an online gallery (format.com). I made a new folder on format, transferred the existing images to it, and now I can add the new images as well. I have dozens of other folders on the same server, for some reason one got corrupted. Hope that helps for others.
Very strange: I changed the sort order in the destination to 'Capture Time' and suddenly it worked. When switching back to 'Custom order' the error reappears.
"I changed the sort order in the destination to 'Capture Time' and suddenly it worked. When switching back to 'Custom order' the error reappears."
LR 10 has a new implementation of Custom Order (that fixed old bugs). Unfortunately, that new implementation also has bugs that are causing the problems in this thread. LR sometimes stores "nil" for the custom-order position of an image within a collection, which then causes the error messages reported here.
See the other bug report for gory technical details:
I regularly use collections in my workflow but I started having issues while trying to add photos to a few of my collections today. When I try to add photos to certain collections I receive the error message (?:0: attempt to compare two nil values) I have restarted LR Classic but the issue still persists. I'm using Mac OSX 10.15.6 and LR Classic 10.
Lightroom Classic version: 10.0 [ 202010011851-ef6045e0 ] License: Creative Cloud Language setting: en Operating system: Mac OS 10 Version: 10.15.7 [19H2] Application architecture: x64 Logical processor count: 16 Processor speed: 3.6 GHz SqLite Version: 3.30.1 Built-in memory: 32,768.0 MB Real memory available to Lightroom: 32,768.0 MB Real memory used by Lightroom: 4,259.5 MB (12.9%) Virtual memory used by Lightroom: 24,899.2 MB Memory cache size: 2,354.3MB Internal Camera Raw version: 13.0 [ 610 ] Maximum thread count used by Camera Raw: 5 Camera Raw SIMD optimization: SSE2,AVX,AVX2 Camera Raw virtual memory: 215MB / 16383MB (1%) Camera Raw real memory: 224MB / 32768MB (0%) Displays: 1) 5120x2880, 2) 1920x1200
Graphics Processor Info: Metal: AMD Radeon Pro 580X
@John_R_Ellis Yes!! I changed over to Sort by Capture time in View within the said Collection and voilà! It allowed me to move images into the Collection from other Collections and my Folders in the Catalog. Thanks for the tip. Support did tell me that this is a known problem and there would be a fix "soon".
A workaround that's helped several so far: Select the problem collection and do View > Sort to change its sort order to something other than Custom Order.
I'm getting just the same error message when I try to move images to some collections - but so far mercifully not to all. It's a damn nuisance - when will they fix it? Also, I've had a couple of unexpected unwanted shutdowns.
I updated Lightroom to the recent version 10 and now when I press B or click dot in top right of image it gives me an error message of 'An internal error has occurred - attempt to compare nil with string'
Thanks for your reply! I'm on a mac too. I've just made a new catalog and added images and yes it then works to add them to quick collection... so the problem is with my existing catalog?