Header issues
Issue #28
new
When attempting to read my file I am receiving the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/prod/user/home/XXXXXX/sas7bdat/sas7bdat.py", line 105, in __init__
self.header = self._readHeader()
File "/prod/user/home/XXXXXX/sas7bdat/sas7bdat.py", line 352, in _readHeader
h += f.read(hl - 288)
ValueError: read length must be positive or -1
My value for hl is -1060364288, my align1 value is 0, and u64 is False. Any suggestions for fixes or possible locations of failures. Unfortunately, the document that I'm working on is sensitive so I cannot include it.