-
Notifications
You must be signed in to change notification settings - Fork 117
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
Haven: The file's timestamp string is invalid #683
Comments
HI @AlejandroDGR, thanks for the bug report. Are you able to share a copy of the file causing the issue so we can investigate? |
Of course @gorcha! It happens to me with several files. All of them come from the Spanish National Sociological Centre, like this example Luckily, they're a minority (the great majority of Spanish National Sociological Centre's files work fine). |
Perfect, thanks! @evanmiller this is related to #488, but for SPSS files rather than Stata. The fix provided for #488 ignores invalid timestamps rather than throwing an error but only for Stata files, so an invalid timestamp will still throw an error in an SPSS file. |
I'm having this issue as well for a file from the same origin as @AlejandroDGR's. I'm wondering if the issue has been resolved as the problem appeared to have been identified and fixed for Stata files. @gorcha |
Hi @JulianEGerez, We're waiting for PR WizardMac/ReadStat#277 to be merged in the underlying ReadStat library to resolve this. I've followed up with the maintainer over there, hopefully won't be too long. |
Maintains iconv hack from c1f9f19 and solaris hack from 4a878a1. * Fix various SAS catalog file reading bugs (fix #529, fix #653, fix #680, fix #696, fix #705). * Increase maximum SAS page file size to 16MB (fix #697). * Ignore invalid SAV timestamp strings (fix #683). * Fix compiler warnings (fix #707).
Following this fix I don't get errors for @gorcha is this something that could be updated to ignore |
I try to read SPSS format:
and get:
This has been posted in a closed issue (The file's timestamp string is invalid #488) and in a Stackoverflow question [(Difficulty with haven package Reading SPSS data in R)](https://stackoverflow.com/questions/60006760/difficulty-with-haven-package-reading-spss-data-in-r), but I have not found any solution yet.
The text was updated successfully, but these errors were encountered: