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

SAS file working previously fails with unsuported features error #232

Closed
ofajardo opened this issue Mar 11, 2021 · 1 comment
Closed

SAS file working previously fails with unsuported features error #232

ofajardo opened this issue Mar 11, 2021 · 1 comment

Comments

@ofajardo
Copy link

ofajardo commented Mar 11, 2021

hi

The attached sas7bdat file was read correctly with an older version of Readstat (1.1.0), while now (version 1.1.5 and 1.1.6 RC0) it is giving an error:

Invalid file, or file has unsupported features

thanks in advance!

original report: Roche/pyreadstat#117

DCSKINPRODUCT.sas7bdat.zip

@evanmiller evanmiller added the bug label Mar 11, 2021
@evanmiller
Copy link
Contributor

Thanks for the report. Bisecting reveals the offending commit is:

ede520e

Before the above commit, non-conforming version strings were accepted, but this was changed to prevent certain non-deterministic behavior.

Examining the file, it looks like the software version string is V.0304M0. ReadStat is expecting the first character to be a digit. Looking at the original report, it appears the data set was generated by "SAS Visual Forecasting". So maybe the V is for "Visual"? In any event, the code needs to be updated to account for this possibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants