A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/WizardMac/ReadStat/issues/245 below:

Reading sas file with long string variable results in "A row in the file was not the expected length" · Issue #245 · WizardMac/ReadStat · GitHub

Hi! I have attached two files in the zip. One file contains a shortened version of the other file's string variable, and the shortened version does not give an error. The complete error message is:

ReadStat: Row #0 decompressed to -1 bytes (expected 32500 bytes)
ReadStat: Error parsing page 0, bytes 262144-524287
Error processing test_utf8_char_compression.sas7bdat: A row in the file was not the expected length

I guess this is more of a feature request to support longer variables if it's possible. I also feel like this may or may not be a bug relating to #236 (if the long string variable splits maybe that's why it returns READSTAT_ERROR_ROW_WIDTH_MISMATCH?)

Thanks!

string_length_sas.zip


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4