Page 1 of 1
The same image will appear twice
Posted: Fri May 15, 2020 10:00 am
by seabirdr
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.
Re: The same image will appear twice
Posted: Fri May 15, 2020 12:41 pm
by xnview
you have 2 files but on different folder
Re: The same image will appear twice
Posted: Sat May 16, 2020 3:26 am
by seabirdr
xnview wrote: Fri May 15, 2020 12:41 pm
you have 2 files but on different folder
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
Posted: Sat May 16, 2020 7:38 am
by xnview
but the folderID is different 12 & 33, please check the Folder table
Re: The same image will appear twice
Posted: Sat May 16, 2020 11:02 am
by seabirdr
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
Posted: Sat May 16, 2020 11:09 am
by seabirdr
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?
Re: The same image will appear twice
Posted: Sun May 17, 2020 6:41 am
by xnview
do you have a base path in settings>Catalog?
Re: The same image will appear twice
Posted: Sun May 17, 2020 8:00 am
by seabirdr
xnview wrote: Sun May 17, 2020 6:41 am
do you have a base path in settings>Catalog?
Yes, I've set the base path to "D:\Material Center\" on both computers
Re: The same image will appear twice
Posted: Sun May 17, 2020 9:30 am
by xnview
The 'base path' was entered before to browse your files?
Re: The same image will appear twice
Posted: Sun May 17, 2020 11:55 am
by seabirdr
xnview wrote: Sun May 17, 2020 9:30 am
The 'base path' was entered before to browse your files?
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
Posted: Mon May 18, 2020 6:28 am
by xnview
you should not have in Folder Table "D: \Material Center\*", do you have only one row like that?
Re: The same image will appear twice
Posted: Mon May 18, 2020 7:05 am
by seabirdr
Please see the screenshot of the folders table
Re: The same image will appear twice
Posted: Mon May 18, 2020 2:10 pm
by xnview
seabirdr wrote: Mon May 18, 2020 7:05 am
Please see the screenshot of the folders table

screenshot_20200518_150233_compress.jpg
so it's strange, you have many folders without 'base path'. Your 2 computers use same database with same 'base path', right?
Try to remove the folder entry like 'D:/Material Center', and check to see if they re-appear?
Re: The same image will appear twice
Posted: Wed May 20, 2020 9:16 am
by seabirdr
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? 🖥
Re: The same image will appear twice
Posted: Fri May 22, 2020 10:26 am
by xnview
seabirdr wrote: Wed May 20, 2020 9:16 am
Other than that, any suggestions for synchronizing photos and data across multiple computers? 🖥
no, using 'base path' is good