-
Notifications
You must be signed in to change notification settings - Fork 19
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
Dbf5('file.dbf') AssertionError assert terminator == b'\r #5
Comments
I'm having the same problem. Is there any plans on addressing this issue? |
I too have this problem with a file edited with the DBF Explorer. |
Any update on this? |
I have discovered that this is caused by unsupported column types: Date/Time (Timestamp), and Memo by trial and error, i.e. removing columns and a little debuggin in simpledbf.py |
My guess is that the assertion errors are a result of incorrect DBF file versions. There is a section in the README that explains which DBF versions are acceptable. Have a look at the table entitled "Database file header" on the dbf Wikipedia page. The very last byte of the header should be You can check the DBF version info from the first byte of your file as follows:
Convert this hex value into binary. As per the DBF7 description, bits 0-2 tell you about the version number. For example, I downloaded the file "Health Indicator Attributes" from the HRSA website. When I checked the first byte, I got I hope this helps. If you'd like, you can use this code as a template to create a DBF version 7 reader using the format link that I've provided. I only deal with older DBF versions, so I won't have any bandwidth to make updates to this project. |
same issues, still no updates on this? |
same issue, updates? |
is there any alternative for this library? As I can see there is no support |
same issues, still no updates on this? |
Same issue!
|
Same problem here... Please any fix for this? |
Same problem here... any fix for this? |
Whenever I try to load a .dbf file I am getting an error.
I am using
on
Thanks,
Andre Mikulec
The text was updated successfully, but these errors were encountered: