The same image will appear twice
Moderators: helmut, XnTriq, xnview, Dreamer
The same image will appear twice
I select any category in categories, the same image will appear twice.
I used DB Browser For SQLite to view XnView's database file XnView.db and found that the same picture was recorded as 2 different pictures in the database.
I used DB Browser For SQLite to view XnView's database file XnView.db and found that the same picture was recorded as 2 different pictures in the database.
Re: The same image will appear twice
Please check out these two screenshots. I checked the details of the same two pictures in XnView in turn. The results showed that they are the same picture in the system folder.
Re: The same image will appear twice
but the folderID is different 12 & 33, please check the Folder table
Pierre.
Re: The same image will appear twice
Thank you for paying attention to my question. I opened my folder table, searched "12" and "33", and found that they were not the same folder.
I wonder, what caused this problem?
Re: The same image will appear twice
I use XnView to manage the same sets of images on both computers.
On two separate computers, I use a netdisc to synchronize the images, keeping them exactly the same. The synchronization also includes the XnView database (excluding the thumbnail database) .
The paths of the image library folder on both computers are the same, both are "D: \Material Center"
My operating system is Windows 10.
Is that what caused the problem I mentioned? If so, what advice would you give to keep the image and database consistent between the two computers?
On two separate computers, I use a netdisc to synchronize the images, keeping them exactly the same. The synchronization also includes the XnView database (excluding the thumbnail database) .
The paths of the image library folder on both computers are the same, both are "D: \Material Center"
My operating system is Windows 10.
Is that what caused the problem I mentioned? If so, what advice would you give to keep the image and database consistent between the two computers?
Re: The same image will appear twice
Yes, I've set the base path to "D:\Material Center\" on both computers
Re: The same image will appear twice
The 'base path' was entered before to browse your files?
Pierre.
Re: The same image will appear twice
The two screenshots above were taken today.
The Base Path was set up before the problem was discovered. But the 2 computers weren't set up at the same time.
Re: The same image will appear twice
you should not have in Folder Table "D: \Material Center\*", do you have only one row like that?
Pierre.
Re: The same image will appear twice
Please see the screenshot of the folders table
Re: The same image will appear twice
so it's strange, you have many folders without 'base path'. Your 2 computers use same database with same 'base path', right?seabirdr wrote: Mon May 18, 2020 7:05 am Please see the screenshot of the folders table
screenshot_20200518_150233_compress.jpg
Try to remove the folder entry like 'D:/Material Center', and check to see if they re-appear?
Pierre.
Re: The same image will appear twice
I removed the folder entry like 'D:/Material Center'. The image stopped repeating itself. 
Thank you for your help! Hope this strange problem doesn't happen again.
Other than that, any suggestions for synchronizing photos and data across multiple computers? 🖥
Thank you for your help! Hope this strange problem doesn't happen again.
Other than that, any suggestions for synchronizing photos and data across multiple computers? 🖥
Re: The same image will appear twice
no, using 'base path' is goodseabirdr wrote: Wed May 20, 2020 9:16 am Other than that, any suggestions for synchronizing photos and data across multiple computers? 🖥
Pierre.