Cant update database in 0.66

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

Moderators: XnTriq, helmut, xnview

tonyt
Posts: 73
Joined: Sun Apr 07, 2013 8:26 am

Cant update database in 0.66

Post by tonyt »

Hi

I just updated and replaced XNMP with the latest version in my apps directory - Mac OSX 10.9.2. Ran app and got this error message - HELP PLEASE!

Cheers

tony
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45489
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cant update database in 0.66

Post by xnview »

you had which version? could you send me the xnview.db? please contact me by mail?
Pierre.
tonyt
Posts: 73
Joined: Sun Apr 07, 2013 8:26 am

Re: Cant update database in 0.66

Post by tonyt »

I had 0.64, the last latest version so to speak.

The file is too big, maximum allowed size is 1 MiB. Message from forum 'Post a Reply'

My zipped .db is over 4 mb. How do I get it to you, Dropbox somehow or....???

Cheers

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

Re: Cant update database in 0.66

Post by xnview »

please contact me by mail?
Pierre.
vommie
Posts: 113
Joined: Sat Apr 14, 2007 2:36 am
Location: Berlin

Re: Cant update database in 0.66

Post by vommie »

I have the same problem but with XnViewMP 0.67 x64 on Win7 x64..

I try to update from 0.64 to 0.67 and get the same message as above.
"XnviewMP - There is a problem to update database, please contact the developer"

(PS: My DB is too private to share but I would contribute any other way to fix this)...
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Cant update database in 0.66

Post by m.Th. »

To Pierre:

Do a dialog like this (which also will help to be more user-friendly):

"Upgrading the database (## % completed)"

...and update it with percentages after each upgrade step you do. Something like this:

SQLExec(myDB, 'UPDATE Table1 SET f1='foo' WHERE f2='blah'');
SetPercentage(10);
SQLExec(myDB, 'UPDATE Table2 SET f1='bar' WHERE f2='baz'');
SetPercentage(20);
...

...and then modify the message from "XnviewMP - There is a problem to update database, please contact the developer" to "XnviewMP - There is a problem to update database at ## %, please contact the developer"

It doesn't matter that the percentages will change/ramp up very very fast in normal conditions. It is just a 'hidden code' for you to know where the program was stopped. Also if you can get the error code/message and show it, it would be ideal. Something like this:

"XnviewMP - There is a problem to update database at ## % - error code: ######, please contact the developer"
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
vommie
Posts: 113
Joined: Sat Apr 14, 2007 2:36 am
Location: Berlin

Re: Cant update database in 0.66

Post by vommie »

With 0.68 I still can't update. Now I get an "Error: 11" in the message popup.
User avatar
xnview
Author of XnView
Posts: 45489
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cant update database in 0.66

Post by xnview »

please contact me by mail?
Pierre.
hifly156
Posts: 6
Joined: Mon Mar 31, 2014 12:46 pm

Re: Cant update database in 0.66

Post by hifly156 »

Hello,

I also got this error on mac os X
Had 0.64 running fine.
This is the screenshot of the error:
http://sintjansberg.be/downloads/_20140 ... 213833.png

Do I send you the db?
hifly156
Posts: 6
Joined: Mon Mar 31, 2014 12:46 pm

Re: Cant update database in 0.66

Post by hifly156 »

hifly156 wrote:Hello,

Do I send you the db?
Where do I find the db on a mac?
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Cant update database in 0.66

Post by m.Th. »

hifly156 wrote:
hifly156 wrote:Hello,

Do I send you the db?
Where do I find the db on a mac?

Go to Tools | Settings | Integration | Paths and press the "Open Database Location" button. It should open a window with some files on it. Choose from there the xnview.db and if it is big make it zip (compress it) - it compresses very well - and send it to Pierre.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
hifly156
Posts: 6
Joined: Mon Mar 31, 2014 12:46 pm

Re: Cant update database in 0.66

Post by hifly156 »

m.Th. wrote:
hifly156 wrote:
hifly156 wrote:Hello,
Go to Tools | Settings | Integration | Paths and press the "Open Database Location" button. It should open a window with some files on it. Choose from there the xnview.db and if it is big make it zip (compress it) - it compresses very well - and send it to Pierre.
Thanks, the program didn't open anymore. I downgraded with the help of Time Machine, found the db and will send it to Pierre.

best
hifly
TWsalt
Posts: 2
Joined: Sun May 18, 2014 7:14 am

Re: Cant update database in 0.66

Post by TWsalt »

where is the database location(path)

sorry for my English is bad

after update to version 0.68
when launch XnViewMP

first ask update database
Image

then issue happen
Image

i already had try to remove new 0.68, then reinstall old 0.56 version
but this issue continue happen again, even downgrade to old 0.56 version

i want to try delete "the data base"

but where is the default database location(path)?
TWsalt
Posts: 2
Joined: Sun May 18, 2014 7:14 am

Re: Cant update database in 0.66

Post by TWsalt »

Hi, everyone

I find solution in this article
http://newsgroup.xnview.com/viewtopic.php?f=62&t=30002

delete folder in
C:/User/%userAccount%/AppData/Roaming/XnViewMP
User avatar
xnview
Author of XnView
Posts: 45489
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cant update database in 0.66

Post by xnview »

Please try this version, and tell me if it's fixed?

Windows ZIP version: http://download.xnview.com/XnViewMP-068-win.zip
Windows SETUP version: http://download.xnview.com/XnViewMP-068-win.exe
Windows x64 ZIP version: http://download.xnview.com/XnViewMP-068-win-x64.zip
Windows x64 SETUP version: http://download.xnview.com/XnViewMP-068-win-x64.exe
Mac x64 TGZ version: http://download.xnview.com/XnViewMP-068-mac.tgz
Mac x64 DMG version: http://download.xnview.com/XnViewMP-068-mac.dmg

If you have always the problem, please send me your xnview.db
Pierre.