Page 1 of 1

error message when importing spss file

Posted: Wed Sep 28, 2022 5:38 am
by RMD
I've been having trouble importing a file from SPSS.

I've managed via conversion through Excel (.sav --> .xlxs --> .omv), but that way I lose the value labels and the variable labels. The error message I'm getting is:

"unable to perform import: Python int too large to convert to C long"

I thought the file could be too long, but it still doesn't work if I shorten it, nor if I shorten and simplify variable names and labels.

Does anyone know how I can retain value labels and variable labels and import directly?

The .sav file is here: https://1drv.ms/u/s!Ak18NDjxZnZr1XMXfy5 ... F?e=CMava4

Re: error message when importing spss file

Posted: Wed Sep 28, 2022 7:23 pm
by MAgojam
RMD wrote:Does anyone know how I can retain value labels and variable labels and import directly?
Hey @RMD,
first change the Type of your RespondentID variable from Numeric 8.2 to String 10 and save the .sav file, so jamovi will give you this:
open_sav.png
open_sav.png (53.17 KiB) Viewed 1951 times
Cheers,
Maurizio

Re: error message when importing spss file

Posted: Thu Sep 29, 2022 12:12 am
by RMD
Many thanks Maurizio! You're a star!
Russell