Author Topic: Error processing file '<file path and name>': Invalid seek position  (Read 2517 times)

amitalon

  • New Community Member
  • Posts: 1
  • Hero Points: 0
Hi,
I meet this error for a file (or some files) that are in my c/c++/other project.
As a result the file is not indexed correctly, and I can't access using the goto definitions etc.. to the updated info of this file.
I searched for the reason and found it, I also found the solution in SE manual.
Quote
If you load the same source file in Unicode and SBCS/DBCS mode, the Context Tagging® database
will have incorrect seek positions. It is important to use the default load options and to always load
source files in the same encoding so that the Context Tagging seek positions match the editor seek
positions.

The problem is that I don't understand what does it mean?
Can anyone explain in plain language the cause and the solution for this issue?

I use SE version:
Quote
SlickEdit 2014 (v19.0.1.1 64-bit)
Build Date: December 10, 2014
Emulation: Visual C++ 6
OS: Linux
OS Version: SUSE Linux Enterprise Server 11 (x86_64)
Processor Architecture: x86_64
Project Type: Cpp
Language: .c (C/C++)
Encoding: Text, SBCS/DBCS mode

Thanks,
-- Amit.
« Last Edit: June 25, 2015, 09:20:33 PM by amitalon »

Dennis

  • Senior Community Member
  • Posts: 3956
  • Hero Points: 515
Re: Error processing file '<file path and name>': Invalid seek position
« Reply #1 on: June 26, 2015, 05:27:37 PM »
The more likely solution is that you have a corrupt tag file.  Try deleting your workspace tag file and letting SlickEdit rebuild it from scratch.