SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2.01k stars 365 forks source link

Exception using texify on Windows #29

Open e-vacchi opened 12 years ago

e-vacchi commented 12 years ago

The console reports the following:

[u'texify', u'-b', u'-p', u'--tex-option="--synctex=1"', u'X:\\Users\\NoWhereMan\\Documents\\Universita\\2011Tesi\\trunk\\papers\\icooolps\\icooolps.tex']
Welcome to thread Thread-5
2
Finished normally
0
Parsing log file
Exception in thread Thread-5:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\makePDF.py", line 299, in run
  File ".\makePDF.py", line 194, in parseTeXlog
IndexError: pop from empty list

I have fixed the problem by adding len(files)>0 on line 193 of makePDF.py :

while len(files)>0 and len(line)>0 and line[0]==')':
msiniscalchi commented 12 years ago

Thanks. I'll look into it.

msiniscalchi commented 12 years ago

Can you check if you still have this issue? I changed a few things in the build code recently and you may get different results.

e-vacchi commented 12 years ago

This is what I've been getting lately:

Parsing log file
Exception in thread Thread-2:
Traceback (most recent call last):
  File ".\threading.py", line 532, in __bootstrap_inner
  File ".\makePDF.py", line 324, in run
  File ".\makePDF.py", line 149, in parseTeXlog
  File ".\makePDF.py", line 55, in handle_warning
IndexError: list index out of range

problem persists even with the GIT version :/

msiniscalchi commented 11 years ago

Can you check to see if you still have this issue? I have recently commited a new, much more robust parser.