Category information lost

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

Moderators: XnTriq, xnview

Post Reply
User avatar
XnTom
Posts: 9
Joined: Thu Apr 07, 2016 8:41 am

Category information lost

Post by XnTom » Mon May 06, 2019 6:32 pm

Dear all,
hopefully somebody can release me from the panic that just struck me, because after having to move my private photo data to another drive I seem to have lost all category information. Here is the story:

My PC used to have two physical drives for data, because it is used as private PC as well as for the job and I wanted to keep the data separate.
Private data is kept on drive D: including my photos. Everything that has to do with photography is stored in the folder D:\Foto.
This includes a folder called D:\Foto\XNViewMP. All paths in the preferences of XNViewMP have been set to this path.
Job data and all PortableApps - including XNViewMP - are stored on and operated from drive E: This seems to be a bit inconsistent but is has to do with backup strategy and the fact that all drives are encrypted volumes and I let my private drive dissappear when working outside, e.g. at a customer's office.

Everything worked perfect until I decided to move the complete folder \Foto from D: to a new separate drive F:, because the amount of photo data started to become too big. Now I have a separate drive only for my photo stuff.

After I moved the complete folder and changed the respective paths in the XNView preferences, everything seemd to be normal apart from the fact that all XNVievMP does not show the selected categories for my photos.
If I browse a directoy of my photos I can see the complete and correct category hierarchy in the category window, but if I select a photo that had categories allocated all tick boxes remain empty and the entire category tree is greyed out and I can not even set a category for one of my photos.

For completeness sake I want to mention that I have a complete backup of my data for the time before changing the drive configuration and movng the photo data folder. Thus, getting ini files or db filed back is not a problem. Nevertheless it would be really nice to find a solution without having to undo the complete configuration change and redo it again.

Is there anybody out there who could help me with restoring my category information ?
Any help is highly welcome.

Best regards

Thomas
Best regards

Thomas

User avatar
xnview
Author of XnView
Posts: 31938
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Category information lost

Post by xnview » Tue May 07, 2019 5:46 am

XnTom wrote:
Mon May 06, 2019 6:32 pm
Everything worked perfect until I decided to move the complete folder \Foto from D: to a new separate drive F:, because the amount of photo data started to become too big. Now I have a separate drive only for my photo stuff.
Do you have moved the folder outside XnView MP?
Do you use embedded metadata or only catalog?
Is there anybody out there who could help me with restoring my category information ?
Please send me the .db and i'll fix it
Pierre.

User avatar
XnTom
Posts: 9
Joined: Thu Apr 07, 2016 8:41 am

Re: Category information lost

Post by XnTom » Tue May 07, 2019 7:29 am

Good morning and thanks a lot for the quick response.

To answer your questions first:

Q1: Yes, I have moved the folder outside XNViewMP.

Your question makes me think that this may have been my mistake. If I am sorting pictures and move them around I do it inside XNViewMP.
Because of the amount of data (app. 0,7 TB !) and the fact that there is other data regarding photography in this path as well (documentation, Excel sheets etc.) I didn't even think of doing it inside XNViewMP.

Q2: I use emedded data AND the catalog.
I use emdedded data are only for
- photographers name
- copyright information
- the rating meta data (colored stars and bullets) and
- information regarding the source of information if it is a photo or graphic I found somewhere else or one of my photos shows something like that.

For being able to find photos, I use only the catalog with a hierarchical strucutre of categories.

Around midnight I got to a state where categories seem to have found their way back. What I did was two things:

1. In order not to let the database grow too much I hat excludet all drives and paths that may contain photos and graphics for whatever reason that I don't want in my catalog. After a while I found out that also F:\ was listed as excluded, i.e. the drive where I moved the photos. I removed this entry for exclusions

2. I took the XNView.db and the Thumb.db from my latest backup and tried an import of the category database.

After restarting XNViewMP it seems like the category information is back again. I hope I find the time later today to take closer look to ensure that the category information is back and complete and correct. At least the two db files that XNViewMP uses seem to look from their size and modifications are written to the right place, i.e. the db files in F:\Foto\XNViewMP.

If I find things that do not look right, I really appreciate your offer to take a look at my db files.

I must admit that I just gave it a try - which obviously was a bit naiv :| -, but is there a summary of how to proceed when moving large amount of data around in case of this kind of configuration change of a computer, moving photos to a NAS, etc. and what are the Do's and Don'ts in this situation ?
Best regards

Thomas

User avatar
XnTom
Posts: 9
Joined: Thu Apr 07, 2016 8:41 am

Re: Category information lost

Post by XnTom » Wed May 08, 2019 8:33 am

Good morning,

in the meantime I have checked the category information in more detail and it looks like evernything is back to normal again.
May be I corrected one user failure with another one but the measures taken seem to have solved the problem.

I hope the configuration will now stay like it is at the moment for a longer time. But next time I have to change something will make sure to move the photos inside XNViewMP :?

Best regards and thanks anyway

Thomas
Best regards

Thomas

User avatar
xnview
Author of XnView
Posts: 31938
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Category information lost

Post by xnview » Thu May 09, 2019 6:25 am

you can move outside, but you need to change path of files in catalog
Pierre.

Post Reply