Skip to main content
Known Participant
May 12, 2022
Question

?:0: attempt to index field 'rootFile' (a nil value)

  • May 12, 2022
  • 6 replies
  • 5435 views

I have already read previous message about it but no solution or broken link

 

I try to delete image and I always get this error 

"?:0: attempt to index field 'rootFile' (a nil value)"
 
I cant find the solution, the folder all in read and delete so what to do ? because I can manage without any issue my external diskthis ,is lightroom 11.3.1 and os 12.3.1
 
Any idea please ?
 
 
 
 
This topic has been closed for replies.

6 replies

Participant
December 12, 2024

I am experiencing blank thumbnails (83 in last import)  error and also started getting a: lightroom ?:0 attempt to index field 'rootFile' error.

Running Lightroom Classic version 14.0.1 on OS X Sonoma 14.7.2 on an Intel macbook pro.

 

I was able to "thin" my last import without getting the rootFile error by carefully deleting only files from disk and catalog. Other thumbnails showed the exclamation point for missing file and these were removed from catalog. That left me with the 83 greyed out thumbnails.

 

I also turned off two old Rob Cole plugins. Cannot remove the grey thumbnails though.

Participating Frequently
November 13, 2024

Hi there!
I got a serious pb that is getting worse every day...

On my PC W10 I run Lightroom Classic since years.

SInce a couple of week I got lost link between image files and previews files (grey rectangle intead of preview displayed). When I try to send the command "Photo/Display in File Finder" i got systematicly  this error ?:0: attempt to index field 'rootFile' (a nil value) displayed in a green box each time .

 

I read previous posts and did 2 actions;

1. Unactive all external modules including LogiOption : no effect after LR restart

2. Create a new catalog and import from corrupted one : same error message, no photo imported...

 

So could somebody help me out?

 

Thanks a lot in advance!

Participating Frequently
November 13, 2024

I forgot to mention that I am using the last LR Classic version....

Participant
September 26, 2024

When I'm trying to batch/sync my edits to multiple photos, I'm getting this error.  This is the first time I'm receiving this error.  

johnrellis
Legend
May 12, 2022

"?:0: attempt to index field 'rootFile' (a nil value)"

 

"nil value" error messages arise from low-level programming errors that have many different causes.  Reviewing past threads, this particular variant doesn't appear to be associated with the Logioptions plugin, but you don't have that plugin installed in any case.

 

- This particular error was associated with the grey "ghost thumbnails" bug a year or two ago that corrupted catalogs, but your screenshot doesn't show them.

 

- A couple people reported that this error arose in years past when they problems with folder permissions, and that might be striking you. Something changed in Mac OS 12.3.1, and many people are finding they need to grant LR Full Disk Access. See:

https://community.adobe.com/t5/lightroom-classic-discussions/quick-tips-how-to-give-full-disk-access-to-lightroom-classic-on-macos/m-p/12913413

 

- If that doesn't help, one person reporting resetting permissions fixed the problem:

https://www.lightroomqueen.com/articles-page/how-do-i-reset-lightrooms-preferences/


LR sometimes soils its preferences file, and resetting it can fix all sorts of wonky behavior. That article explains how to restore the old preferences if resetting doesn't help.

Participant
September 18, 2022

?:0: attempt to index field 'rootFile' (a nil value)

Same issue, none of the remommended changes seem to help... anyone have any other solutions??  attempts to remove corrupt photo changes it name.  cannot find the corrupt image (S), all kinds of strange things occuring.

 

configuration: 

 

Lightroom Classic version: 11.5 [ 202208080927-8a575c91 ]
License: Creative Cloud
Language setting: en-US
Operating system: Mac OS 12
Version: 12.6.0 [21G115]
Application architecture: x64
Logical processor count: 8
Processor speed: 2.4GHz
SqLite Version: 3.36.0
Built-in memory: 8,192.0 MB
Real memory available to Lightroom: 8,192.0 MB
Real memory used by Lightroom: 1,505.9 MB (18.3%)
Virtual memory used by Lightroom: 40,384.6 MB
Memory cache size: 1,125.1MB
Internal Camera Raw version: 14.5 [ 1177 ]
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 460MB / 4095MB (11%)
Camera Raw real memory: 463MB / 8192MB (5%)
Displays: 1) 3440x1440

Graphics Processor Info:
Metal: Intel(R) Iris(TM) Plus Graphics 655


Init State: 2
User Preference: 1

Application folder: /Applications/Adobe Lightroom Classic
Library Path: /Volumes/photos and catalogs/Catalog/Master Catalog complete/Master Catalog complete.lrcat
Settings Folder: /Users/garyberke/Library/Application Support/Adobe/Lightroom

Installed Plugins:
1) AdobeStock
2) Aperture/iPhoto Importer Plug-in
3) Facebook
4) Flickr
5) Nikon Tether Plugin

Config.lua flags: None

 

 

GoldingD
Legend
May 12, 2022

Please post your System Information as Lightroom Classic (LrC) reports it. In LrC click on Help, then System Info, then Copy. Paste that information into a reply. Please present all information from first line down to and including Plug-in Info. Info after Plug-in info can be cut as that is just so much dead space to us non-Techs.

Participating Frequently
March 12, 2023

Same issue.

 

Lightroom Classic version: 12.2.1 [ 202303011008-5bfbce17 ]
License: Creative Cloud
Language setting: en-AU
Operating system: Mac OS 12
Version: 12.4.0 [21F79]
Application architecture: arm64
Logical processor count: 8
Processor speed: NA
SqLite Version: 3.36.0
Built-in memory: 16.384,0 MB
Real memory available to Lightroom: 16.384,0 MB
Real memory used by Lightroom: 5.626,2 MB (34,3%)
Virtual memory used by Lightroom: 422.903,7 MB
Memory cache size: 1.165,4MB
Internal Camera Raw version: 15.2 [ 1381 ]
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2
Camera Raw virtual memory: 766MB / 8191MB (9%)
Camera Raw real memory: 771MB / 16384MB (4%)
Standard Preview Size: 2880 pixels
Displays: 1) 2880x1800

Graphics Processor Info:
Metal: Apple M1
Init State: GPU for Export supported by default
User Preference: Auto

Application folder: /Applications/Adobe Lightroom Classic
Library Path: /Users/frederickaustin/Pictures/Lightroom Catalog/Lightroom Catalog-v12.lrcat
Settings Folder: /Users/frederickaustin/Library/Application Support/Adobe/Lightroom

Installed Plugins:
1) AdobeStock
2) Aperture/iPhoto Importer Plug-in
3) Flickr
4) Nikon Tether Plugin
5) Pixieset

Config.lua flags: None

johnrellis
Legend
March 12, 2023

@fredandtam, in the Folders panel nested under Macintosh HD, do you see a folder "Volumes", under which is listed your external drives?  If so, please post a full-resolution screenshot (not a phone pic) of the Folders panel.

Ian Lyons
Community Expert
Community Expert
May 12, 2022

In the past, this issue was due to an incompatibility between Lightroom Classic and some third party plug-ins. The usual supect being Logitechs 'Logi Options'.  

 

If you're unsure whether you have above plug-in installed, then go to File > Plug-in Manager and look for Logi Options in the list. If you find it, click Disable in the Status panel on the right. 

 

I believe the Smugmug plug-in is another potentional culprit. So, follow the same procedure as set out above.