python 3.x - Unexpected End-of-file (1AH) in .dbf file -
i using excellent dbf package python read data .dbf file. file produced proprietary windows application source code cannot access. dbf says .dbf foxpro file.
the .dbf file continually updated, re-read regularly. contains on million records. fine until today, when received following error:
dbferror: record data not correct -- first character should ' ' or '*'. closer inspection reveals data corresponding record (#46448) starts ascii character 26 (0x1a). wikipedia says character used in .dbf files end-of-file marker. why character appear in middle of file of sudden?
there forum post seems have had same problem. unfortunately, no resolution given there.
the problem seems creating application. further digging showed there 1 record 0x1a in field, , application treating record normally.
Comments
Post a Comment