Thread: ADE 2.0 warning
View Single Post
Old 03-30-2013, 09:16 AM   #3
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
It's a programming error. An assertion is where you tell the programming language that such-and-such a condition must be true. If the given condition is not true then you get this error. In this case the assertion is "loc != null" i.e. the value of the loc variable must not be null.

What does that mean to you as a user? Not much. It's really only helpful for Adobe programmers.

We could make some educated guesses: "loc" could be a variable for a location of something, e.g. a file. Not being null could mean that it's tried to open the file and it's failing because the file doesn't exist, or isn't in the place it thinks it should be. Normally if it's just a question of a file not existing, that you the user tried to load a file that's not there you'd get a more meaningful error, one targetted at the user e.g. "Could not open file 'blah.epub'". Which makes me think it's something like the file was there one minute and not the next, e.g. maybe it temporarily didn't exist whilst Sigil was saving it (overwriting an old version). All of which is speculation of course, it might not be anything to do with files.

I would try making sure you close down Sigil before opening in ADE (and vice-versa) - make absolutely sure that there's no other program that could be accessing the file whilst ADE is trying to use it.
latepaul is offline   Reply With Quote