I am trying DxO Photolab 5 and I just hit a puzzling issue. I have been working on RAW files in several folders while suddenly 2 of my folders appeared empty. In fact these folders are not empty, they are full of RAW files and I had processed them with PL5 a couple days ago. I can see they are not empty from Windows Explorer.
The message I see in the image browser is “This folder does not contain any image”.
My filters are all good: I have checked Show RAW images and unchecked Show sRGB images.
This is a local internal hard drive.
Here is an excerpt from the log file which I find relevant:
2022-01-30 20:19:14.322 | DxO.PhotoLab - 9192 - 30 | DataModels - Error | Error while creating a file source entity for “D:\Pictures\Nepal\Nepal 2012\Day 09 - Tagnak to Dzongla\PA174765.JPG”. 2022-01-30 20:19:14.322 | DxO.PhotoLab - 9192 - 30 | Exception.DataModels - Error | System.InvalidOperationException: Sequence contains more than one element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)*
at DxO.OpticsPro.DataModels.Handlers.DopFileSourceHandler.GetOrCreateFileSource(String filePath, Int64 parentId, Boolean checkFormat, Boolean useSidecar)*
at DxO.OpticsPro.DataModels.Handlers.DopFileSourceHandler.d__10.MoveNext()* 2022-01-30 20:19:14.338 | DxO.PhotoLab - 9192 - 30 | Database - Warn | The method ‘GetOrCreateFileSource’ encountered more file sources than expected: - D:\Pictures\Nepal\Nepal 2012\Day 09 - Tagnak to Dzongla\PA174765.ORF (ID = 14118, EntityState = Unchanged) - D:\Pictures\Nepal\Nepal 2012\Day 09 - Tagnak to Dzongla\PA174765.ORF (ID = 14853, EntityState = Unchanged)
2022-01-30 20:19:14.338 | DxO.PhotoLab - 9192 - 30 | Database - Warn | The method ‘GetOrCreateFileSource’ encountered more file sources than expected: - D:\Pictures\Nepal\Nepal 2012\Day 09 - Tagnak to Dzongla\PA174765.ORF (ID = 14118, EntityState = Unchanged) - D:\Pictures\Nepal\Nepal 2012\Day 09 - Tagnak to Dzongla\PA174765.ORF (ID = 14853, EntityState = Unchanged)
2022-01-30 20:19:14.338 | DxO.PhotoLab - 9192 - 30 | DataModels - Error | Error while creating a file source entity for “D:\Pictures\Nepal\Nepal 2012\Day 09 - Tagnak to Dzongla\PA174765.ORF”. 2022-01-30 20:19:14.338 | DxO.PhotoLab - 9192 - 30 | Exception.DataModels - Error | System.InvalidOperationException: Sequence contains more than one element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)*
at DxO.OpticsPro.DataModels.Handlers.DopFileSourceHandler.GetOrCreateFileSource(String filePath, Int64 parentId, Boolean checkFormat, Boolean useSidecar)*
at DxO.OpticsPro.DataModels.Handlers.DopFileSourceHandler.d__10.MoveNext()*
Also what will happen if I delete it? I mean the image adjustments are already stored in sidecars… what will I lose if I delete the database and restart the application?
As long as you use DOP sidecar files and don’t use either projects or persistent history, deleting the database will cause it to be recreated on next startup and all you DOP files will be re-imported.
I don’t know where the database is kept on Windows, I’m sure someone else can tell you that.
Then close the database (close PL5) and navigate to the directory shown above and change the name from PhotoLab.db to PhotoLab.db.saved 2022-01-31 for example. (you now have two backups of the database!)
Then restart PL5 and it will create a new database!
Navigate to the “lost” directories and the database entries will be reconstructed from the (hopefully) intact and present DOP files etc. Data will only be re-absorbed into the database as you navigate around the directories you have been using.
As @joanna has indicated the DOPs contain mostly editing data. If you were using keywords then the options you were using will determine if any of that made it out of the database.
Incidentally have you checked the filters applied to the directories that have “gone missing”. Sorry I just re-read your original posts and yes you had checked the filters. My filters normally have nothing checked at all shown in the rather misted out snapshot!