XnView MP cannot start up after image deleted/corrupted

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
DeusExMamiya
Posts: 8
Joined: Wed Jun 16, 2010 1:11 pm

XnView MP cannot start up after image deleted/corrupted

Post 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
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

Ok, a bug...

you need to disabled session saving
Pierre.
Kiwi_John
Posts: 4
Joined: Mon Aug 22, 2016 2:33 am

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

Post 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...
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

are you able to edit the xnview.ini?
Pierre.
Kiwi_John
Posts: 4
Joined: Mon Aug 22, 2016 2:33 am

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

Post by Kiwi_John »

Hi Pierre, can't find a file called xnview.ini on my mac anywhere (nor any other editable xnview.* file....).
Thanks
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

on mac, you have it in ~/.xnviewmp folder
Pierre.
Kiwi_John
Posts: 4
Joined: Mon Aug 22, 2016 2:33 am

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

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

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

Post 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.
Kiwi_John
Posts: 4
Joined: Mon Aug 22, 2016 2:33 am

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

Post by Kiwi_John »

Thanks! That did the trick - much appreciated.
Post Reply