Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncomplete DBF loading #29

Open
m0rgancz opened this issue May 12, 2022 · 1 comment
Open

Uncomplete DBF loading #29

m0rgancz opened this issue May 12, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@m0rgancz
Copy link

Hi,

table = dbf.Table ( filename=DBF_FILE, on_disk=True )

when i open DBF table (link below) it will not load all columns (only 47 instead of 58). If i specified column names, it deleted all data in DBF. I tried specify codepage, but it not helped. Im I missing something or only this DBF file have something wrong? Thanks

SFGX_test.zip

@ethanfurman
Copy link
Owner

It is partially a bug in the dbf code -- it should not be showing the fields marked as SYSTEM -- there are 11 such fields. dbf is expecting SYSTEM fields to be at the end of the record, which is why mingled SYSTEM fields are showing, and the last 11 fields are not.

Can you tell me why there are fields marked as SYSTEM? Typically those fields are solely for the use of the dbf program -- for example, if there are any fields that can be null, a _NULL C(x) SYSTEM BINARY field is added to keep track of which fields in a record are nulled.

@ethanfurman ethanfurman added the bug Something isn't working label May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants