The same image will appear twice

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

The same image will appear twice

Post by seabirdr »

I select any category in categories, the same image will appear twice.
screenshot_20200515_175528_compress.png
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.
97a938575aaff0bd0fe0e1b897ae95d542b8acbc.jpg
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The same image will appear twice

Post by xnview »

you have 2 files but on different folder
Pierre.
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: The same image will appear twice

Post 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.
screenshot_20200516_111909_compress.jpg
screenshot_20200516_111927_compress.jpg
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The same image will appear twice

Post by xnview »

but the folderID is different 12 & 33, please check the Folder table
Pierre.
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: The same image will appear twice

Post by seabirdr »

screenshot_20200516_190002.jpg
screenshot_20200516_185957.jpg

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?
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: The same image will appear twice

Post 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?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The same image will appear twice

Post by xnview »

do you have a base path in settings>Catalog?
Pierre.
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: The same image will appear twice

Post 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
snipaste_20200517_155545_compress.png
snipaste_20200517_155523_compress.png
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The same image will appear twice

Post by xnview »

The 'base path' was entered before to browse your files?
Pierre.
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: The same image will appear twice

Post 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.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The same image will appear twice

Post by xnview »

you should not have in Folder Table "D: \Material Center\*", do you have only one row like that?
Pierre.
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: The same image will appear twice

Post by seabirdr »

Please see the screenshot of the folders table 👇
screenshot_20200518_150233_compress.jpg
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The same image will appear twice

Post 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?
Pierre.
seabirdr
Posts: 18
Joined: Fri May 15, 2020 9:53 am

Re: The same image will appear twice

Post 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? 🖥
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The same image will appear twice

Post 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
Pierre.
Post Reply