I couldn’t open auxilliary file
Arrrgh.
I just spent 90 minutes tracking down a bug in my LaTeX code. It kept failing with “i couldn’t open auxilliary file filename.aux”.
What was actually happening was that I’d mistyped the name of an included image in my chapter3.tex file and rather than failing with some sort of intelligent message like “there’s no image by name imagename” it was merrily going along and failing in a totally undefined way. Excellent. Of course, the debug message was such that it seemed like the error was in the subsequent file, chapter4.tex because it seemed that the system was saying that everything was cool in chapter3.
This post made in the hope that someone, somewhere comes across a similar problem, googles for it and finds this page.
LaTeX: Beautiful output; not user friendly.

thank you very much. You saved me other wasted 90mins.
Your post’s mission was accomplished!! Thanks
Well, this error can also occur due to other reasons. So I did spend about 60 minutes figuring that out. As this page is high in the google results, this could be an option too:
“LaTeX terminates with “GUI framework cannot be initialized” if invoked from TeXnicCenter (1.0 Stable Release Candidate 1). This happens when a missing package needs to be installed and the pop-up window cannot be displayed.
Remedy: start MiKTeX Options and choose either Yes or No (but not “Ask me first”) for the option “Install missing packages on-the-fly”.”
from: http://www.miktex.org/2.8/issues
Thank you! This solved my problem…
Thanks for your indication.
Thank you! This was really driving me nuts.
Thanks! This solved my problems too
Thank you very much for helping me save time
I had the same problem with TeXnicCenter and your hints were very useful.
wow! hey this was amazing to find this… If nothing else, DoubleYou’s suggestion to change from “ask me first” to “yes” fixed what i have been frusterated with for the last 2 hours! I got a ton or erros but at least I now have some output!
Thx guys!!
@ DoubleYou: Thanks indeed!
Apparently this “ask me first” issue has not been resolved for the combination MikTeX 2.9/TeXnicCenter 1.0 stable…
Thanks for the solution DoubleYou!
Thanks for your information. what happens if I changed my figure file but winshell can not update the new content of my .tex?
The error still appears
unable to open wateraverage.eps(PS)
Hi,
I think I’ve a quite similar problem, but I’ve no idea to fix it…
TeXnicCenter says “I couldn’t open filename ‘I:\[...]\bibliography.bib’ – without any hinds to solve the problem.
Any ideas?
I know this is an old post, but I find it funny that your finishing paragraph, prior to the comma, reads so: “This post made in the hope that someone, somewhere comes across a similar problem…”
It just made me chuckle. For a moment.
Objective accomplished, you just saved a nice chunk of my precious time. Thank you.