I couldn’t open auxilliary file

By: Ben Kraal

Sep 04 2006

Category: technology, thesis

15 Comments

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.

About these ads

15 comments on “I couldn’t open auxilliary file”

  1. thank you very much. You saved me other wasted 90mins.

  2. Your post’s mission was accomplished!! Thanks ;)

  3. 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

  4. Thank you very much for helping me save time :-) I had the same problem with TeXnicCenter and your hints were very useful.

  5. 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!!

  6. @ DoubleYou: Thanks indeed!
    Apparently this “ask me first” issue has not been resolved for the combination MikTeX 2.9/TeXnicCenter 1.0 stable…

  7. Thanks for the solution DoubleYou!

  8. 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)

  9. 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?

  10. 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.

  11. Objective accomplished, you just saved a nice chunk of my precious time. Thank you.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: