Updating old database not working

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Updating old database not working

Post by soulky »

I am having an issue to correctly use an old database with 0.51 version.
I believe the old database version containing all thumbnails is 0.39. Now when I try to use this database with version 0.51 it starts to recreate all thumbnails which are already there.
In the settings thumbnails window I can see a directory path name /@/ together with the correct number of thumbnails and a huge cache size.
However for some reason xnviemp does not access this cache, it start to redo all thumbnails using the actual drive name.
How can I tell it to use the cache that is showing as /@/ as a pathname instead?
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Updating old database not working

Post by xnview »

It seems that you have used 'base path of your pictures'
Pierre.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Updating old database not working

Post by soulky »

xnview wrote:It seems that you have used 'base path of your pictures'
Basebath is set to \. As the source is an external media which has different drive letters assigned depending on which computer it is connected. So by this I expected it do ignore the drive letter and store them relatively. But it doesnt.
It does not make sense to have the thumbnails of the files getting created over and over again just because it is connected to a different machine.
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Updating old database not working

Post by xnview »

The mounted path is the same?
Do you have /@/ on all entries?
Pierre.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Updating old database not working

Post by soulky »

It is running on Windows os.
In this particular case even the assigned drive letters are the same on both machines. But even then computer1 is doing its own thumbnails with /@/ path and computer 2 is doing its own thumbnails with driveletter as path. I believe this also means that all all categorization and rating are not available on both computers.
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Updating old database not working

Post by xnview »

and you have the same basepath on the 2 computers??
Pierre.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Updating old database not working

Post by soulky »

xnview wrote:and you have the same basepath on the 2 computers??
What exactly do you mean by basepath?
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Updating old database not working

Post by xnview »

The settings basepath in Option>database
Pierre.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Updating old database not working

Post by soulky »

Where it says basebath of your pictures?
Well there is no change of settings as xnviewMP is not installed on the machines itself. It resides in a seperate folder on the portable device. So there is absolutely no difference if the portable device is connected to computer 1 or computer 2. The settings for xnviewMP are exactly the same.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Updating old database not working

Post by soulky »

Is there in the meantime any advise on how to make xnviewmp use the existing database?
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Updating old database not working

Post by xnview »

soulky wrote:Is there in the meantime any advise on how to make xnviewmp use the existing database?
If you have /@/ in the database, this can be the problem...
Pierre.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Updating old database not working

Post by soulky »

xnview wrote:
soulky wrote:Is there in the meantime any advise on how to make xnviewmp use the existing database?
If you have /@/ in the database, this can be the problem...
Ok. But how can I get rid of the problem. The behaviour of xnviemp does not sound right to recreate thumbnails of the same folder only because the portable decive has been attached to another computer while all other setting are the same.
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Updating old database not working

Post by xnview »

soulky wrote:Ok. But how can I get rid of the problem. The behaviour of xnviemp does not sound right to recreate thumbnails of the same folder only because the portable decive has been attached to another computer while all other setting are the same.
Is it possible to start with a clean database, and check if you have '/@/' again in one of your 2 computers?
Pierre.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Updating old database not working

Post by soulky »

It seems that during upgrade the basepath has changed. When I set it back to the original, then it works. However there is a new issue then I gonna open a new thread for.
Post Reply