Skip to content

"! I can't find file" at latex compilation on Windows #4

@arthur-lebee

Description

@arthur-lebee

Dear Casey,

Thank you for providing latextools and drawSvg.

I have a functionnal install following the readme instructions:

  • pdflatex is functional
  • inkscape is in the path
  • svg.sty is installed and I can invoke inkscape extraction directly calling pdflatex from the command prompt

Neverthless, when running the examples, latex compilation fails on my machine. Here is the result with the first example on the readme page:

Traceback (most recent call last):
  File "C:\Users\arthur.lebee\ownCloud\Enseignement\MECST\MECST_Cours\Polycopie\Animations\EssaiLtools1.py", line 24, in <module>
    pad=1,
  File "C:\Users\arthur.lebee\AppData\Local\Continuum\anaconda3\lib\site-packages\latextools\shortcuts.py", line 42, in render_snippet
    '-shell-escape'])
  File "C:\Users\arthur.lebee\AppData\Local\Continuum\anaconda3\lib\site-packages\latextools\project.py", line 97, in compile_pdf
    **pdf_args)[0]
  File "C:\Users\arthur.lebee\AppData\Local\Continuum\anaconda3\lib\site-packages\latextools\project.py", line 108, in compile_pdf_batch
    **pdf_args)
  File "C:\Users\arthur.lebee\AppData\Local\Continuum\anaconda3\lib\site-packages\latextools\project.py", line 117, in compile_pdf_batch
    self.run_pdflatex(fpath, cwd=tmp_dir, options=options)
  File "C:\Users\arthur.lebee\AppData\Local\Continuum\anaconda3\lib\site-packages\latextools\project.py", line 185, in run_pdflatex
    raise LatexError(msg)
latextools.project.LatexError: This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 22.3) (preloaded format=pdflatex.fmt)
 \write18 enabled.
entering extended mode
! I can't find file `C:/Users/ARTHUR'.
<to be read again>
                   \protect
<*> C:/Users/ARTHUR~
                    1.LEB/AppData/Local/Temp/tmpkfvlisip/main.tex
(Press Enter to retry, or Control-C to exit)
Please type another input file name
! Emergency stop.
<to be read again>
                   \protect
<*> C:/Users/ARTHUR~
                    1.LEB/AppData/Local/Temp/tmpkfvlisip/main.tex
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.

I tried my best to find out if the temp directory and its files to be compiled are actually created or not. As everything is wiped out after execution, I could not figure out.

Any suggestion?

Best Regards

Arthur

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions