Add two Quick Collection fails with ?:0: attempt to compare two nil values error





I am using Lightroom Classic 10.0.

 

This morning I added a few pictures to Quick Collection and didn't have any problems. This afternoon, no matter what picture I pick, I get the following error if I try to add it to a Quick Collection:

 

"An internal error has occured: ?:0: attempt to compare two nil values"

 

I get this error message if I try to click the little quick collection "circle" in the top-right corner of the image. I also get it if I right-click on the image and select "Add to Quick Collection" from the popup menu.  

 

Again, worked fine in the morning, but this afternoon not so much. Of course nothing's changed or has been upgraded in a few hours.

 

I tried closing and restarting the computer and that didn't help. I tried optimizing the catalog and that didn't help. 

 

Any thoughts?
see: <https://feedback.photoshop.com/conversations/lightroom-classic/lightroom-classic-when-trying-to-add-files-to-collections-i-get-this-error-0-attempt-to-compare-two-nil-values/5f9091ea35f40c2520b9ecc4>
that error happens when there's no handle to close. i see you call the 'open()' and you're not getting an object reference error before closehandle(). check your memory.pointerwrite() function to make sure it's not doing a closehandle() prematurely. it sounds like you're calling closehandle() twice. i've seen this as well. it happened to me when i allowed evernote access to selected photos vs all photos. it is a new ios 14 feature. but it keeps asking. in fairness, i have seen this with other apps too though, so not sure if this is an ios 14 bug or the devs aren't 100% sure how to use the new feature.
 


 for me the fix was to go into iphone privacy settings and give evernote access to all photos, then go back in and deny access. but if you try to import photos again and give it selected access this loop will happen again, so if you do it frequently, give evernote access to all photos. that was all you could do with ios 13 and earlier anyway. you got this error because the image is not in the local working directory and is your home folder. pandoc does not know where to find it with ~. 
i think you should use full path by expanding your image file path so that pandoc gets it. 
also, you can use knitr::include\_graphics to include images i… Check if any of the values in the cells are null.  

If they are you need to modify your code to check for null conditions before using `ToString()`. welcome to mrexcel!

it actually works for me (see below). this appears to be a kind of rounding error. the way excel stores numbers causes some issues when you have decimals. it is a bit rare when comparing a cell to itself, but it can happen. you can try to use sumproduct instead, see column h.

efgh1valuescountifranksumproduct248737.76222336113.11333454287.76111f2:f4f2=countif($e$2:$e$4,">"&e2)+1g2:g4g2=rank.eq(e2,$e$2:$e$4)h2:h4h2=sumproduct(--(round($e$2:$e$4,2)>round(e2,2)))+1 for your insertion and bubble sort, you are returning the comparison value, but you are not assinging it to anything when that value is returned. In your main



```
insertionSort(copy_integers_1);
```

Change that to:



```
int compInsertion = 0;
...
compInsertion = insertionSort(copy_integers_1);
```

and do the same with your bubble sort.



It actually would work the way it is, but the second time you call your functions (in your cout statements in main) the arrays are already sorted.



As for your error, try this



```
int *L = new int[Left_Size];
int *R = new int[Right_Size];
```

Also, you probably don't need to declare Left\_Size or Right\_Size as const. this was fixed in 0.1.0 this error is caused by some bugs with tensorflow’s freeze graph tool. it can happen when you try to convert a model that was created with a different version of tensorflow, but it also seems to happen randomly.

you can fix it by manually adjusting the bugged nodes:

# load saved model and freeze g… not sure i understood. are you having problems with this code?

if yes, i think you’re using the wrong comparison operator (not = but ==). hey [@emartini](/u/emartini) ,

if you want to use clij2, you also need to activate the clij update site. the error should be gone then.

[[image]](https://aws1.discourse-cdn.com/business4/uploads/imagej/original/3x/0/9/095bc5fb3f3fa0db9dac6286bb16cf30ee81783d.jpeg "image")

see also the [installation instructions](https://clij.github.io/clij2-docs/installationinfiji).

let me know if this solves the issue!

cheers,

robert