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

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

Community Beginner ,
May 12, 2022 May 12, 2022

Copy link to clipboard

Copied

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 ?
 
 
 
 
TOPICS
macOS

Views

3.0K

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
Community Expert ,
May 12, 2022 May 12, 2022

Copy link to clipboard

Copied

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.

Votes

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
LEGEND ,
May 12, 2022 May 12, 2022

Copy link to clipboard

Copied

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.

Votes

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
Community Beginner ,
May 12, 2022 May 12, 2022

Copy link to clipboard

Copied

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
8) 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

Votes

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
New Here ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

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

Votes

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
LEGEND ,
Mar 12, 2023 Mar 12, 2023

Copy link to clipboard

Copied

@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.

Votes

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
New Here ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

 

Votes

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
LEGEND ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

Several possibilities for everything being gray (navigator, Grid view, Filmstrip, histogram). Another members reply to a different posting reminds me of the following.

 

1. Corrupt Monitor Profile. see:

 

https://www.lightroomqueen.com/how-do-i-change-my-monitor-profile-to-check-whether-its-corrupted/

 

Additional possibilities:

 

2. Bad GPU driver. Test this by turning off use GPU in preferences.

 

3. Corrupt preference file. See:

 

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

Votes

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
New Here ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

@GoldingD I tried options 1 and 3 but it didn't work. How do I turn off GPU?

Votes

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
LEGEND ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

"How do I turn off GPU?"

 

Set Preferences > Performance > Use Graphics Processor to Off.

Votes

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
LEGEND ,
Mar 13, 2023 Mar 13, 2023

Copy link to clipboard

Copied

@fredandtam, you said "same issue", but your screenshot shows all the thumbnails as grey.  Are you also seeing the error message "?:0: attempt to index field 'rootFile' (a nil value)" when you try to delete photos (the original topic of this thread)?

 

For the grey thumbnails, two more troubleshooting steps in addition to those suggested by @GoldingD:

 

1. Ensure LR is granted Full Disk Access (not Files And Folders) permission:
https://community.adobe.com/t5/lightroom-classic-discussions/quick-tips-how-to-give-full-disk-access...

 

2.  See this help article:

https://helpx.adobe.com/lightroom-classic/kb/lightroom-gives-error-preview-cache.html

Votes

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
Community Expert ,
Mar 14, 2023 Mar 14, 2023

Copy link to clipboard

Copied

Note that screenshot seems to be indicating that there is an ongoing sync from the Adobe Cloud. I'm not sure how or even if that would result in the error message, but I would pause the sync to see whether the error continues.

Votes

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
New Here ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

@John R Ellis Yes I'm seeing that error message "?:0: attempt to index field 'rootFile' (a nil value)" when I click 'show in finder'.  I have tried all these methods and they have not worked

Votes

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
LEGEND ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

One more troubleshooting step: Roll back to LR 12.1.

Votes

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
New Here ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

Unfortunately that didn't work as well

Votes

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
LEGEND ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

Which didn't work, disabling the GPU or rolling back to LR 12.1?

Votes

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
New Here ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

Both didn't work

Votes

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
Community Expert ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

Given that the obvious solutions seem to be failing, I'd be tempted to trash the Previews.lrdata files as it or one of it's components (i.e. pixels.db or root-pixels.db) may be corrupt.

Votes

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
Community Expert ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

This old thread from 2017 may also be worth checking out as relates to the same error message

 

https://community.adobe.com/t5/lightroom-classic-discussions/error-message-0-attempt-to-index-field-...

Votes

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
LEGEND ,
Mar 15, 2023 Mar 15, 2023

Copy link to clipboard

Copied

"'I'd be tempted to trash the Previews.lrdata files"

 

That was one of suggestions that @fredandtam said they already tried:

https://community.adobe.com/t5/lightroom-classic-discussions/0-attempt-to-index-field-rootfile-a-nil...

Votes

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
LEGEND ,
May 12, 2022 May 12, 2022

Copy link to clipboard

Copied

"?: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...

 

- 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.

Votes

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
New Here ,
Sep 18, 2022 Sep 18, 2022

Copy link to clipboard

Copied

?: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

 

 

Votes

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
New Here ,
Sep 26, 2024 Sep 26, 2024

Copy link to clipboard

Copied

Screenshot 2024-09-26 092026.png

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.  

Votes

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
New Here ,
Dec 11, 2024 Dec 11, 2024

Copy link to clipboard

Copied

LATEST

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.

Votes

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
Community Beginner ,
Nov 13, 2024 Nov 13, 2024

Copy link to clipboard

Copied

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!

Votes

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