# Failed to create pdf file

My sister is currently writing her thesis and at mid work an error occurred at creating the pdf file. Since I don't have that much experience with Latex myself I can't really help her much with it.

She is using TexnicCenter and after compiling the file Adobe says the pdf file is corrupt and can't be opened. I searched through the MikTex log files and found the error

2016-01-16 17:24:41,738+0100 FATAL pdflatex - Conversion from UTF-8 byte sequence to wide character string did not succeed.
2016-01-16 17:24:41,748+0100 FATAL pdflatex - Info:
2016-01-16 17:24:41,748+0100 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Utils\Utils.cpp
2016-01-16 17:24:41,748+0100 FATAL pdflatex - Line: 1180


I hope anyone can help us with this since the deadline is due soon. :P

• Welcome to TeX.SX! The error message is useful, but the code would be much more useful. (Nice nickname, incidentally :D) – user31729 Jan 16 '16 at 16:59
• i added the link to the file – Tanzmaus Jan 16 '16 at 17:11
• On first trial compilations: A \mathval typo (should be \mathcal and \inU... which must be \in U most likely. But a lot of other errors too. Sorry, but I don't believe this just stopped to compile. There are so many errors that can't come just of nothing – user31729 Jan 16 '16 at 17:20
• As i said, it stopped working mid work :P I didnt really have the time yet to help her with it so she just kept on writing... But even when i say "stop compiling at Latex errors" it wouldnt do so. The only error i would get is that miktex didnt succeed check the log files... Unless i copy it to a new file, there i get 600 something errors^^ And since she doesnt use a version control i cant check the file when it last worked... You think correcting those errors resolves it? – Tanzmaus Jan 16 '16 at 17:25
• And she never considered to fix the errors? (Auf gut deutsch: Wie kann man nur?) – user31729 Jan 16 '16 at 17:26

• Note that if you use characters outside US-ASCII (such as ä,ü,ö) in an argument to \graphicspath{}` command you would get the same problem. – Jakub Narębski Jun 4 '17 at 15:20