Open evandrocoan opened 7 years ago
I just noticed the iterator used on:
# save previous line for "! File ended while scanning use of..." message
prev_line = line
try:
print( "prev_line: " + prev_line )
line, linelen = advance_iterator(log_iterator) # will fail when no more lines
# print( "line: " + prev_line )
line_num += 1
last_iteration_lines.append(prev_line)
except StopIteration:
break
Is not returning the lines which are starting with null bytes. The output of the above code should be:
prev_line: Enter file name:
line: Enter file name:
prev_line:
line:
prev_line: :7: Emergency stop
line: :7: Emergency stop
prev_line: Here is how much of TeX's memory you used:
line: Here is how much of TeX's memory you used:
prev_line: 4034 strings out of 493314
line: 4034 strings out of 493314
Instead of:
prev_line: Enter file name:
line: Enter file name:
prev_line:
line:
prev_line: Here is how much of TeX's memory you used:
line: Here is how much of TeX's memory you used:
prev_line: 4034 strings out of 493314
line: 4034 strings out of 493314
Minimal code:
LatexTools output:
Latex log output: test3_log.txt
Noticing there are some null bytes on it:
Related: