PSPP 1.4.1 is really old. It was released in 2020. You should probably
upgrade to a newer version.

But that is not the problem here. The problem is that PSPP does not
accept .sav or .csv files on the command line. PSPP only accepts
syntax files on the command line. Syntax files can say to open .sav
and .csv files, e.g. to open a .sav file, "GET 'tastdb-exp-2020.sav'."


On Tue, Apr 2, 2024 at 8:18 PM clinton bowen
<clinton.bowen.servi...@gmail.com> wrote:
>
> Hello,
>
> I am trying to convert a sav file from slavevoyages.org:
> https://www.slavevoyages.org/documents/download/tastdb-exp-2020.sav
>
> I am using pspp v1.4.1 from the ubuntu jammy package.
>
> When I run `pspp tastdb-exp-2020.sav tastdv-exp-2020.csv` I get errors
> like "tastdb-exp-2020.sav:1.251: error: Syntax error at `...': Bad
> character U+0000 in input."
>
> I suspect there are null characters in places they shouldn't be.  Is
> there a way to correct this?
>
> Thanks,
> Clinton
>

Reply via email to