Page 1 of 1

XnView MP cannot start up after image deleted/corrupted

Posted: Mon Aug 08, 2016 1:50 pm
by DeusExMamiya
Hi,

I'm using the latest Mac version of XnviewMP (I reinstalled it from the website right now just to be sure, and it made no difference).

What seems to be a new feature of XnviewMP is actually a curse :evil: : I am referring to the way in which it reloads whatever images were open at the time it was last quit.

This "feature" has completely disabled my XnViewMP installation :bug: , because it is trying to reopen a deleted or corrupted image - and fails of course - so it gets completely stuck: there is no getting past the error popup which says " ! File can't be loaded!" [the only option to respond is "OK", which just closes the app again, and you're back to square one].

At the very least, this needs better error handling.
Better still, just stop reloading old images again. If we want them again, we'll get them again :) . Even if there were no problems with deleted images, it slows down the startup process.

Regards,
Ray

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Sat Aug 13, 2016 1:43 pm
by xnview
Ok, a bug...

you need to disabled session saving

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Mon Aug 22, 2016 2:37 am
by Kiwi_John
Hi Pierre. I have the same issue - how do we disable session saving?
I can't start xnviewmp even after deleting and re-installing...

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Mon Aug 22, 2016 9:30 am
by xnview
are you able to edit the xnview.ini?

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Mon Aug 22, 2016 11:18 pm
by Kiwi_John
Hi Pierre, can't find a file called xnview.ini on my mac anywhere (nor any other editable xnview.* file....).
Thanks

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Tue Aug 23, 2016 12:20 pm
by xnview
on mac, you have it in ~/.xnviewmp folder

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Tue Aug 23, 2016 9:18 pm
by Kiwi_John
Thanks Pierre. I found the ini file and changed sessionsave to false but still getting the "File can't be loaded!" error when I try to start Xnviewmp. That happens both when I click on a file to open and also when I just try to start Xnviewmp from the Applications.

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Tue Aug 23, 2016 9:30 pm
by XnTriq
Welcome aboard, Kiwi_John (-:
  1. Close XnViewMP.
  2. Delete the following lines from the [Start] section of your INI file:
    • session=
    • sessionIdx=
    • sessionSave=
  3. Start XnViewMP.
  4. Go to Tools » Settings... » General » General:
    • Deactivate Confirm 'Session' saving on program exit.
    • Click the Reset all confirm prompts button.
  5. Confirm the changed settings with OK.

Re: Bug: XnviewMP cannot start up after image deleted/corrup

Posted: Tue Aug 23, 2016 9:59 pm
by Kiwi_John
Thanks! That did the trick - much appreciated.