Keyword lost after move keyword in thesaurus manager

Started by vasekk, February 08, 2025, 10:18:32 PM

Previous topic - Next topic

vasekk

Hello, I encountered a problem in iMatch where Keywords was lost in photo.
I proceeded as follows:
1) I had photos that were tagged with keywords
2) I created a new keyword using Thesaurus Manager (for example "A")
3) In  Thesaurus Manager I placed an existing keyword in the hierarchy under "A"
4) After closing the Thesaurus Manager, I confirmed the option to submit the change to the iMatch database.
5) After making changes, I lost keywords in the photos.

The same problem happened to me yesterday and it was also related to moving keywords in  Thesaurus Manager.
Unfortunately (or fortunately) I was unable to simulate the problem, but today I edited and moved keywords several times using  Thesaurus Manager and the problem only occurred once.
I use iMatch 2025.1.18 64bit.

vasekk

I thought about it for a while and I think this problem is related to the fact that when I edited the keywords using Thesaurus Manager , I was in the Photos section in the Categories section.
I think so because the keyword that was tagged in the categories section disappeared from all my photos.
Maybe this will help you find the problem.

Mario

What do you mean by "Photos section in the Categories section"? Tip: A screen shot <Print> key of what you see attached to your post is usually very helpful.

Switch IMatch to debug logging (Help menu > Support) (see log file).

Make a screen shot of the Thesaurus Manager before and after your change (crop to reduce size).

Let IMatch perform the database update.

Go to Help menu > Support > Copy Log File, save to disk, ZIP the resulting file and attach.

As outlined on the Thesaurus help page, moving or renaming keywords in the thesaurus and applying these changes to a database can run into problems sometimes, depending on how the thesaurus is structured and the existing keywords in the images. Always test with a small set of sample files first.

vasekk

Hello Mario, thank you for your help!I tried to simulate the problem, but unfortunately I didn't succeed.
I am attaching a screenshot of the procedure and the log file. 
Last night, when I did the same procedure, all photos with the tag "příroda" lost this tag.