Catalog constantly adding the same paths twice

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
3x5
Posts: 30
Joined: Fri Feb 26, 2016 8:58 pm

Catalog constantly adding the same paths twice

Post by 3x5 »

I am in the process of sorting my photos, but repeatedly now, I've gone through a big batch of them, and then I'll see duplicates in my categories. Then I will look in settings/catalog and the directories I've been copying to are listed twice. The number of files and the mb are the same on both lines.

If I delete one, I will lose a bunch of categorization in my filter tree. If I rebuild the catalog from files, they will come back -- but the duplicate lines and duplicate entries will also come back.
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Catalog constantly adding the same paths twice

Post by xnview »

3x5 wrote:I am in the process of sorting my photos, but repeatedly now, I've gone through a big batch of them, and then I'll see duplicates in my categories. Then I will look in settings/catalog and the directories I've been copying to are listed twice. The number of files and the mb are the same on both lines.
very strange, is it possible to have the database? on windows?
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Catalog constantly adding the same paths twice

Post by m.Th. »

It happens for me too. See specs in sig.

A „patch” would be to put an UNIQUE constraint in DB with ON ERROR IGNORE on CategoryID and ImageID (IIRC).
The best would be to find the cause. In my case, usually I use the shortcuts to assign the categories, if this matters.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Post Reply