View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
17626Bug reportsImport/Exportpublic2021-10-08 10:39
Reportercandrea Assigned Toadamzammit  
Status assignedResolutionopen 
Product Version5.x 
Summary17626: Unable to open *.sav file exportet in the *.sav export format.
DescriptionI am using the new feature in v5.1 that allows to export data in the *.sav format. But after exporting I can not open the *.sav file. I get this error message (SPSS version 27):

(See also

>Fehler. Befehlsname: GET FILE
>Ungültige SPSS Statistics-Datendatei: /Users/user/Downloads/survey_377467_spss.sav (DATA1204)
>Die Ausführung dieses Befehls wurde unterbrochen.
>Fehlernummer 1405 in Spalte 8. Text: /Users/user/Downloads/survey_377467_spss.sav
>Fehler bei dem Versuch, eine Datendatei abzurufen.
Steps To ReproduceSteps to reproduce
Export data in the *.sav format.

Expected result
*.sav file than can be openend.

Actual result
Can not open *.sav file with SPSS version 27.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)5.1.12
I will donate to the project if issue is resolvedNo
Database type & versionMariaDB (latest)
Server OS (if known)
Webserver software & version (if known)
PHP Version7.3

Users monitoring this issue

User List There are no users monitoring this issue.




2021-09-27 06:23

developer   ~66617


It looks like this error doesn't show up when using PSPP (or at least not the same error, and the file still opens).

Can you please test each of the 3 attachments here with SPSS and let me know how you go with opening each of them in SPSS 27 (I do not have access to this).

"orig" is a SAV file with a long string included exported same code that exists in LimeSurvey now
"psppfixed" is a SAV file with a long string included exported same code that exists in LimeSurvey now, but then opened in PSPP and saved again.
"withpatch" is a SAV file with a long string included and outputted after the following patch applied to the LimeSurvey code:



2021-10-08 10:39

reporter   ~66809


Thank you for sending the testfiles.

I can open all of these with SPSS v27.

There seems to be another reason, why some files are corrupt.


Issue History

Date Modified Username Field Change
2021-09-26 20:55 candrea New Issue
2021-09-27 05:27 adamzammit Assigned To => adamzammit
2021-09-27 05:27 adamzammit Status new => assigned
2021-09-27 06:23 adamzammit Note Added: 66617
2021-09-27 06:23 adamzammit File Added: survey_243299_spss-withpatch.sav
2021-09-27 06:23 adamzammit File Added: survey_243299_spss-psppfixed.sav
2021-09-27 06:23 adamzammit File Added: survey_243299_spss-orig.sav
2021-09-27 06:23 adamzammit Bug heat 0 => 2
2021-09-27 11:20 ollehar Status assigned => feedback
2021-10-08 10:39 candrea Note Added: 66809
2021-10-08 10:39 candrea Bug heat 2 => 4
2021-10-08 10:39 candrea Status feedback => assigned