SPSS_NO_TYPE73 error code should not raise error

Issue #40 resolved
moonpiesandbox created an issue

From pages 149-150 of SPSS 11.0 for windows developer's guide, SPSS_NO_TYPE73 error code should be regarded as a warning, quoted:

SPSS_NO_TYPE73

There is no type 7, subtype 3 record present. This code should be regarded as a warning even though it is positive. Files without this record are valid.

This may not be the most relevant documentation, but I have some files that fail to parse due to this.

Comments (4)

  1. Albert-Jan Roskam repo owner

    Hi,

    Thanks for reporting this. I just changed the code. SPSS_NO_TYPE73 now issues an SPSSIOWarning instead. You can choose to ignore all warnings by setting environment variable SAVRW_DISPLAY_WARNS=ignore. Not sure when I introduced that variable, perhaps it's post v3.3.0. See commit 83ff4ccd75f4ccd61f7fd27b18f7c6543a597e10.

    May I ask where this .sav file came from? From PSPP? Or perhaps R?

    Best wishes, Albert-Jan

  2. moonpiesandbox reporter

    I think it might have been an R sav file, but I no longer have the file and cannot verify it. Anyways, thank you for committing a fix.

  3. Log in to comment