LaTeX forum ⇒ TeXworksUnable to compile twice Topic is solved

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
peter jcd
Posts: 2
Joined: Fri Jan 20, 2012 2:36 pm

Unable to compile twice

Postby peter jcd » Fri Jan 20, 2012 2:54 pm

This is my first time on the forum (or in fact any forum) and would appreciate some help.

I am using MiKTex 2.9. Previously when I used it I had no problems. However I did not use it for a couple of months and now I am only ever able to compile once. The second time I always get an error. This is only prevented if I first delete all the files from the previous compilation, and naturally I do not want to do this everytime. For example for the following simple tex document:

  1. \documentclass{article}
  2.  
  3. \begin{document}
  4. Test
  5. \end{document}


I get the following console output after the second compilation (the first compilation works fine):
  1. This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
  2. entering extended mode
  3.  
  4. ("X:/Data/My Documents/Linux/Documents/LaTeX/Learn_LaTeX/PhD_Thesis/test/test.t
  5. ex"
  6. LaTeX2e <2009/09/24>
  7. Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
  8. abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
  9. croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
  10. lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
  11. ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
  12. vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
  13. an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
  14. romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
  15. sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
  16. senglishmax, welsh, loaded.
  17. ("C:\Program Files\MiKTeX\tex\latex\base\article.cls"
  18. Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
  19. ("C:\Program Files\MiKTeX\tex\latex\base\size10.clo"))
  20. ("X:\Data\My Documents\Linux\Documents\LaTeX\Learn_LaTeX\PhD_Thesis\test\test.a
  21. ux")pdflatex.EXE: Bad file descriptor: test.pdf
  22. pdflatex.EXE: Data: test.pdf
  23. texify: pdflatex failed for some reason (see log file).


The log file then contains the following:
  1. This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=pdflatex 2012.1.13) 20 JAN 2012 13:43
  2. entering extended mode
  3. **X:/Data/My*Documents/Linux/Documents/LaTeX/Learn_LaTeX/PhD_Thesis/test/test.t
  4. ex
  5.  
  6. ("X:/Data/My Documents/Linux/Documents/LaTeX/Learn_LaTeX/PhD_Thesis/test/test.t
  7. ex"
  8. LaTeX2e <2009/09/24>
  9. Babel <v3.8l> and hyphenation patterns for english, afrikaans, ancientgreek, ar
  10. abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
  11. croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
  12. lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
  13. ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
  14. vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
  15. an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
  16. romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
  17. sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
  18. senglishmax, welsh, loaded.
  19. ("C:\Program Files\MiKTeX\tex\latex\base\article.cls"
  20. Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
  21. ("C:\Program Files\MiKTeX\tex\latex\base\size10.clo"
  22. File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
  23. )
  24. \c@part=\count79
  25. \c@section=\count80
  26. \c@subsection=\count81
  27. \c@subsubsection=\count82
  28. \c@paragraph=\count83
  29. \c@subparagraph=\count84
  30. \c@figure=\count85
  31. \c@table=\count86
  32. \abovecaptionskip=\skip41
  33. \belowcaptionskip=\skip42
  34. \bibindent=\dimen102
  35. )
  36. ("X:\Data\My Documents\Linux\Documents\LaTeX\Learn_LaTeX\PhD_Thesis\test\test.a
  37. ux")
  38. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
  39. LaTeX Font Info: ... okay on input line 3.
  40. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
  41. LaTeX Font Info: ... okay on input line 3.
  42. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
  43. LaTeX Font Info: ... okay on input line 3.
  44. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
  45. LaTeX Font Info: ... okay on input line 3.
  46. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
  47. LaTeX Font Info: ... okay on input line 3.
  48. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
  49. LaTeX Font Info: ... okay on input line 3.

Tags:

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Fri Jan 20, 2012 7:14 pm

peter jcd wrote:[…] However I did not use it for a couple of months and now I am only ever able to compile once. […]

If so, I suggest to do an update of your installation and then try again. You can find the MiKTeX tools somewhere in the »Start« menu. You may need administrator rights for this process.


Best regards and welcome to the board
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

peter jcd
Posts: 2
Joined: Fri Jan 20, 2012 2:36 pm

Postby peter jcd » Mon Jan 23, 2012 2:56 pm

Thank you for your help, however updating did not work and neither did uninstalling then reinstalling. I did however manage to get it to work my changing where my files were saved. I generally keep all of my work on a Network Drive. If instead I move it to a Local Disk then MiKTeX seems to work fine.


Return to “TeXworks”

Who is online

Users browsing this forum: No registered users and 1 guest