Dear Pierre, dear users, today I would like to seek assistance with the function 'base path of your pictures' in combination with the function 'update catalog from files' in the view-menu.
I started with a freshly unpacked v1.6.1, 64bit from portableapps (whereas the same happens within my installed version, which is a v1.6.2, 64bit). For the installed version, I removed (backed up) my databases (Thumbs.db and XnView.db) and even started with a fresh xnview.ini
I set a base bath for my pictures and start browsing, which works just fine and leads to the following view:
The xnview.db opened with e.g the SQLite-Database browser also looks as expected - fine:
As I often add/change/delete/amend the e.g. xmp-dc:subject, I need to update the files, already in the catalog.
I do this via the view-menu with 'update catalog from files'.
Now the problem - this leads to the following view of the catalog:
The database looks like this:
So it seems, that the 'forced update' does not respect/consider the set 'base path of your pictures'.
Is it a or am I missunderstanding anything or am I 'doing it wrong'
I appreciate any assistance / support / recommendation, how to deal with the above effect.
Thank you!
Problem 'base path' and force 'update catalog from files'
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 20
- Joined: Thu Jun 09, 2022 3:40 pm
Problem 'base path' and force 'update catalog from files'
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 45062
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Problem 'base path' and force 'update catalog from files'
Thanks to your detailed description I can reproduce the problem.
Pierre.
-
- Posts: 20
- Joined: Thu Jun 09, 2022 3:40 pm
Re: Problem 'base path' and force 'update catalog from files'
Thank you for the feedback, Pierre!
Would also like to say THANK YOU for your efforts and the really superb piece of software and your efforts, maintaining it!
Would also like to say THANK YOU for your efforts and the really superb piece of software and your efforts, maintaining it!
-
- Author of XnView
- Posts: 45062
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Problem 'base path' and force 'update catalog from files'
This problem is supposed to be fixed in XnView MP 1.6.4. Please check and confirm the bug fix here.
Pierre.
-
- Posts: 20
- Joined: Thu Jun 09, 2022 3:40 pm
Re: Problem 'base path' and force 'update catalog from files'
Dear Pierre, the bug seems to be fixed. I tested it with 4...5 folders, after adjusting the base path and altering the database.
Thank you!
Thank you!
-
- Posts: 20
- Joined: Thu Jun 09, 2022 3:40 pm
Re: Problem 'base path' and force 'update catalog from files'
Dear Pierre, need to re-open this issue again and would like to request your support, once again, please.
After the incorporated changes from you, now I cannot export XMP data to files in the base-path.
It works well and as expected on different path's (other than basePath, e.g. "C:\")
Background / Pre-requisite:
I have my files on a NAS, under drive "X:\", e.g. "X:\2020\2020-01-01 (New Year)" or "X:\2021\2021-06-09 (Birthday Mum)" and so on. As previously explained, I use the built-in functions cmd_updateFiles and cmd_updateDB quite a lot, for which I have created individual buttons as well.
What I have done, after you made adjustments to the code:
The function cmd_updateDB does not write any XMP data (e.g. categories) to the file (e.g. xmp-dc:subject or xmp-lr:hierarchicalsubject)
Reversing the above steps, means returning to absolute paths in the database ("X:/" instead of "@") and reversing the basePath to "/" brings back the function cmd_updateFiles and I can write XMP data to the files on "X:\...\...\..." again.
Hope, I made myself clear and that you can find the failure.
If it is a failure or misunderstanding on my side, please let me have your advice.
As usual, I would like to say thanks for looking into this.
Regards, Thomas
After the incorporated changes from you, now I cannot export XMP data to files in the base-path.
It works well and as expected on different path's (other than basePath, e.g. "C:\")
Background / Pre-requisite:
I have my files on a NAS, under drive "X:\", e.g. "X:\2020\2020-01-01 (New Year)" or "X:\2021\2021-06-09 (Birthday Mum)" and so on. As previously explained, I use the built-in functions cmd_updateFiles and cmd_updateDB quite a lot, for which I have created individual buttons as well.
What I have done, after you made adjustments to the code:
- Modify the XnView.db in the way, to replace all occurencies of "X:/" by "@" (with SQLite Database browser)
- then modify XnView.ini paragraph basePath= from "/" to "X:/"
- restart XnViewMP
The function cmd_updateDB does not write any XMP data (e.g. categories) to the file (e.g. xmp-dc:subject or xmp-lr:hierarchicalsubject)
Reversing the above steps, means returning to absolute paths in the database ("X:/" instead of "@") and reversing the basePath to "/" brings back the function cmd_updateFiles and I can write XMP data to the files on "X:\...\...\..." again.
Hope, I made myself clear and that you can find the failure.
If it is a failure or misunderstanding on my side, please let me have your advice.
As usual, I would like to say thanks for looking into this.
Regards, Thomas
-
- Author of XnView
- Posts: 45062
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 20
- Joined: Thu Jun 09, 2022 3:40 pm
Re: Problem 'base path' and force 'update catalog from files'
Yes, of course. Used the wrong wording. Meant "cmdupdate_Files". My bad. Sorry.
-
- Author of XnView
- Posts: 45062
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Problem 'base path' and force 'update catalog from files'
Thanks to your detailed description I can reproduce the problem.
Pierre.
-
- Author of XnView
- Posts: 45062
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Problem 'base path' and force 'update catalog from files'
This problem is supposed to be fixed in XnView MP 1.6.5. Please check and confirm the bug fix here.
Pierre.