• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit Search
23

P: When trying to add files to Collections I get this error: ?:0: attempt to compare two nil values

Explorer ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

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.

Bug Fixed
TOPICS
Windows

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Dec 08, 2020 Dec 08, 2020

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.

Votes

Translate

Translate
replies 124 Replies 124
124 Comments
Explorer ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

I have tried optimizing the database and restarting Lightroom. Nothing has fixed this issue. I cannot add these photos to my collection.

I use this collection to present photos from different folders together for my photography club competition. I've been doing this same operation for years. It appears there is some sort of error with the updated Lightroom.

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

I have also deleted the collection and recreated. Nothing seemed to help. But I did have one step that I didn't mention that may be the cause:

Did not work:

1. Create the collection.

2. Added an overview logo slide from one of my other collection folders. That is the "1" photo in the folder.

3. Set the sort order to custom

4. Attempt to add other photos. Get the error.

Worked:

1. Delete the collection. 

2. Set the sort order to Custom.

3. Add the photos to this collection

4. Add the logo and move to the front.

I can repeat this process and get the same error.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

The entire reason for my collection is to have a custom order of photos from multiple folders. Hoping this gets resolved quickly.

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

Thank you, John. I searched for my error and did not find any match whatsoever. Glad my report has found the proper home.

The text on the initial post does not list the proper or exact error code.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

It looks like there are at least two different (though similar) error messages produced by the same underlying problem.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

Are the sorting issues only related to collections in the latest version of Lightroom?  I have tried to reproduce my previous sorting issues without success - but I'm not using collections in the attempts.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 05, 2020 Nov 05, 2020

Copy link to clipboard

Copied

This thread is about errors when trying to use Sort: Custom Order for collections and folders in LR 10.   

Votes

Translate

Translate

Report

Report
New Here ,
Nov 06, 2020 Nov 06, 2020

Copy link to clipboard

Copied

Your suggested workaround worked for me. Thanks very much John_R_Ellis

Votes

Translate

Translate

Report

Report
New Here ,
Nov 06, 2020 Nov 06, 2020

Copy link to clipboard

Copied

Thank you, just tried that, it updated the catalogue, deleted several years worth, thankfully I know how to fix that, so that s fine. Tried quick collection again, same error message.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 07, 2020 Nov 07, 2020

Copy link to clipboard

Copied

Please post a screenshot of the error message or quote it word-for-word.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 07, 2020 Nov 07, 2020

Copy link to clipboard

Copied

By accident, I found a fix to this problem. I delete all the images in the Quick Collection. Then turned on another collection to be the targeted collection and then right-clicked on the Quick Collection to set it again as the target collection. Now the B puts selected images into the Quick Collection

Votes

Translate

Translate

Report

Report
New Here ,
Nov 07, 2020 Nov 07, 2020

Copy link to clipboard

Copied

An internal error has occured: ?:0: attempt to repair nil with string

Votes

Translate

Translate

Report

Report
New Here ,
Nov 07, 2020 Nov 07, 2020

Copy link to clipboard

Copied

thank you posted below.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 07, 2020 Nov 07, 2020

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 07, 2020 Nov 07, 2020

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 08, 2020 Nov 08, 2020

Copy link to clipboard

Copied

thanks for the workaround!

Votes

Translate

Translate

Report

Report
New Here ,
Nov 08, 2020 Nov 08, 2020

Copy link to clipboard

Copied

occurs when pushing "B" to move a photo to the quick collection. Running Lightroom classic 10.0

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 08, 2020 Nov 08, 2020

Copy link to clipboard

Copied

Try setting Quick Collection's sort order to something other than Custom.

Votes

Translate

Translate

Report

Report
New Here ,
Nov 08, 2020 Nov 08, 2020

Copy link to clipboard

Copied

Thanks very much. That worked. Interesting that it hadn't occurred before

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 08, 2020 Nov 08, 2020

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 09, 2020 Nov 09, 2020

Copy link to clipboard

Copied

Just upgraded to LR 10 and started getting this error. Here's my data:

Lightroom Classic version: 10.0 [ 202010011851-ef6045e0 ]
License: Creative Cloud
Language setting: en-US
Operating system: Mac OS 10
Version: 10.15.7 [19H2]
Application architecture: x64
Logical processor count: 8
Processor speed: 2.9 GHz
SqLite Version: 3.30.1
Built-in memory: 16,384.0 MB
Real memory available to Lightroom: 16,384.0 MB
Real memory used by Lightroom: 5,257.3 MB (32.0%)
Virtual memory used by Lightroom: 16,095.4 MB
Memory cache size: 1,103.6MB
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: 546MB / 8191MB (6%)
Camera Raw real memory: 553MB / 16384MB (3%)
Displays: 1) 3360x2100

Graphics Processor Info: 
Metal: AMD Radeon Pro 460

Application folder: /Applications/Adobe Lightroom Classic
Library Path: /Volumes/OWC BACKUP/LightroomCatalogs/LightroomCatalog-OWCBU-v10.lrcat
Settings Folder: /Users/jamesparker/Library/Application Support/Adobe/Lightroom

Installed Plugins: 
1) AdobeStock
2) Aperture/iPhoto Importer Plug-in
3) Aurora HDR
4) DxO PhotoLab 4
5) DxO PhotoLab 4 Importer
6) Envira
7) Export to Photomatix Pro
8) Facebook
9) Flickr
10) HDR Efex Pro 2
11) Helicon Focus Export
12) Imagely
13) jf Zenfolio
14) Luminar 3
15) Luminar 4
16) Luminar Flex
17) Nikon Tether Plugin
18) ON1 Photo RAW 2019
19) ON1 Resize 10
20) ON1 Resize 2019
21) Photolemur 3

Votes

Translate

Translate

Report

Report
Explorer ,
Nov 09, 2020 Nov 09, 2020

Copy link to clipboard

Copied

Resorting the collection to one of the defaults from "custom" worked as a temp fix. It only started throwing the error after two hours of pulling photos for this particular assignment. 

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 09, 2020 Nov 09, 2020

Copy link to clipboard

Copied

Helped for me to...Thank you.

Votes

Translate

Translate

Report

Report
LEGEND ,
Nov 11, 2020 Nov 11, 2020

Copy link to clipboard

Copied

I have the problem too, changing the order isn't working for me either. 

Votes

Translate

Translate

Report

Report