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.

Known Participant
May 12, 2022

Thank you for your answer.

computer :

Informations matériel :

  Nom du modèle : Mac Pro

  Identifiant du modèle : MacPro6,1

  Nom du processeur : Intel Xeon E5 6 cœurs

  Vitesse du processeur : 3,5 GHz

  Nombre de processeurs : 1

  Nombre total de cœurs : 6

  Cache de niveau 2 (par cœur) : 256 Ko

  Cache de niveau 3 : 12 Mo

  Technologie Hyper-Threading : Activé

  Mémoire : 64 Go

 

LIGHTROOM

Version Lightroom Classic: 11.3.1 [ 202204181225-f90ebff5 ]
Licence: Creative Cloud
Paramètre de langue: fr-FR
Système d'exploitation : Mac OS 12
Version : 12.3.1 [21E258]
Architecture de l'application : x64
Nombre de processeurs logiques: 12
Vitesse du processeur : 3,5Ghz
Version SQLite: 3.36.0
Mémoire intégrée : 65 536,0 Mo
Mémoire réelle disponible pour Lightroom : 65 536,0 Mo
Mémoire réelle utilisée par Lightroom : 8 638,9 Mo (13,1%)
Mémoire virtuelle utilisée par Lightroom : 57 788,2 Mo
Taille de la mémoire cache : 4 862,5Mo
Version interne de Camera Raw: 14.3 [ 1072 ]
Nombre maximal de liens utilisé par Camera Raw : 5
Optimisation SIMD de Camera Raw : SSE2,AVX
Mémoire virtuelle de Camera Raw: 69Mo / 32767Mo (0%)
Mémoire réelle de Camera Raw: 72Mo / 65536Mo (0%)
Affichages : 1) 6400x3600

Informations relatives au processeur graphique :
Metal: AMD Radeon HD - FirePro D500

 

Dossier de l'application : /Applications/Adobe Lightroom Classic
Chemin d'accès à la bibliothèque : /Volumes/LCN/00_DOCUMENTS/01_PHOTOS/02_Banques/LIGHTROOM/_Banque_LCN/Lightroom Catalog-v10-v11.lrcat
Dossier des paramètres : /Users/laurentcuchet/Library/Application Support/Adobe/Lightroom

Modules installés :
1) Adobe Stock
2) DxO PhotoLab 5
3) DxO PhotoLab 5 Importer
4) Facebook
5) Flickr
6) HDR Efex Pro 2
7) LR/Mogrify 2
😎 Module externe d'importateur Aperture/iPhoto
9) Module externe de prise de vue en mode connecté Nikon
10) Paramètres du plugin

Marqueurs Config.lua: None

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.