Location of picture's changed! Categories?

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

masterdrummer
Posts: 1
Joined: Fri Jun 29, 2018 6:58 pm

Location of picture's changed! Categories?

Post by masterdrummer »

Hi Guys.

I am using XnViewMP Version 0.84. Because i am working on different computers i installed it on an USB Drive.
Everything worked fine, all of my 10k+ pictures have a category and a Rating.

When i attach the USB drive to a computer and it get's another drive letter than bevfore everythink is broken. Xnview does not show me my pictures when i click on the category.
Everything (category and rating) ist stored in iptc and/or xmp.

Is there any way to get everything to work again?
Can i just get xnview to like import the categories from the files and write that to the db?
Or ist there a way to edit the xnview.db to change the location of the pictures from like N:/.... to O:/....

best regards,
- Alex
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Location of picture's changed! Categories?

Post by xnview »

masterdrummer wrote: Fri Jun 29, 2018 7:06 pm When i attach the USB drive to a computer and it get's another drive letter than bevfore everythink is broken. Xnview does not show me my pictures when i click on the category.
Everything (category and rating) ist stored in iptc and/or xmp.
XnView stores categories/rating in database, with the pathname of pictures. So if you change the drive letter, it can't know how to get them.
Is there any way to get everything to work again?
Can i just get xnview to like import the categories from the files and write that to the db?
Or ist there a way to edit the xnview.db to change the location of the pictures from like N:/.... to O:/....
you can edit the database or use 'relocate' in settings>Catalog
Pierre.
alobo
Posts: 47
Joined: Sun Jun 18, 2017 3:24 pm

Re: Location of picture's changed! Categories?

Post by alobo »

you can edit the database or use 'relocate' in settings>Catalog
To solve the same problem, I use relocate from e.g.

Old Path: D:\FOTOS\BDNMar\
New Path: E:\FOTOS\BDNMar\

Click OK and nothing changes.

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

Re: Location of picture's changed! Categories?

Post by xnview »

the path are not changed?
Pierre.
alobo
Posts: 47
Joined: Sun Jun 18, 2017 3:24 pm

Re: Location of picture's changed! Categories?

Post by alobo »

xnview wrote: Mon Sep 17, 2018 5:59 am the path are not changed?
No, look the consecutive screenshots: after OK in captura2, nothing changes (captura3).
https://www.dropbox.com/s/pr4h1q7d62tj6 ... 1.JPG?dl=0
https://www.dropbox.com/s/jgqdzfadqwvi2 ... 2.JPG?dl=0
https://www.dropbox.com/s/uycbismwqubuv ... 3.JPG?dl=0

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

Re: Location of picture's changed! Categories?

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce
Pierre.
alobo
Posts: 47
Joined: Sun Jun 18, 2017 3:24 pm

Re: Location of picture's changed! Categories?

Post by alobo »

xnview wrote: Sun Sep 23, 2018 12:54 pm :bugconfirmed: Thanks to your detailed description I can reproduce
Just updated to Version 0.92 64bits (Sep 18 2018) but the problem persists.
Is this problem going to be fixed soon?
Thanks
viewfan
Posts: 24
Joined: Thu Oct 10, 2013 2:43 pm

Re: Location of picture's changed! Categories?

Post by viewfan »

I have the same Problem :(
@xnview
you can edit the database ...
which encoding has the databas? Which encoding do I have set to edit it on linux with Kate for instance?
viewfan
Posts: 24
Joined: Thu Oct 10, 2013 2:43 pm

Re: Location of picture's changed! Categories?

Post by viewfan »

I found a solution. See this thread down.

viewtopic.php?f=82&t=38046&p=152521#p152521
alobo
Posts: 47
Joined: Sun Jun 18, 2017 3:24 pm

Re: Location of picture's changed! Categories?

Post by alobo »

viewfan wrote: Mon Oct 15, 2018 1:27 pm I found a solution. See this thread down.

viewtopic.php?f=82&t=38046&p=152521#p152521
Thanks!
...but this is a workaround, not a solution. The solution is having relocate fixed, and unfortunately
we do not get an answer on whether this is being worked for the next release.
Agus
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Location of picture's changed! Categories?

Post by xnview »

the bug will be fixed
Pierre.
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Location of picture's changed! Categories?

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Location of picture's changed! Categories?

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.94. Please check and confirm the bug fix here.
Pierre.