error message when importing spss file

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
RMD
Posts: 13
Joined: Tue Sep 27, 2022 3:24 am

error message when importing spss file

Post 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
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: error message when importing spss file

Post 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 1745 times
Cheers,
Maurizio
RMD
Posts: 13
Joined: Tue Sep 27, 2022 3:24 am

Re: error message when importing spss file

Post by RMD »

Many thanks Maurizio! You're a star!
Russell
Post Reply