< Back

Err. Unexpected end of file after location


Problem:

I tried to load a data file into Tecplot ad got this error message. What does it mean and how can I fix it?

Solution:

This error message means that the number of points specified in the header of the data file is greater than the number of points the Tecplot found when it read the file. The only way to fix this is to examine the file to see if:

  1. Some data points have been left out of the file.
  2. There are no syntax errors/stray characters/extra spaces or carriage returns etc in the file.

If for instance, two values have no space between them then Tecplot will not recognize that they are supposed to be separate values and read them as one value. This will leave Tecplot one value short when it gets to the end of the file. Once the file has been fixed it should into Tecplot just fine.