Re: save translate error message not understood

2016-01-15 Thread Ben Pfaff
On Fri, Jan 15, 2016 at 04:40:22PM +0100, John Darrington wrote: > On Fri, Jan 15, 2016 at 06:35:37AM -0800, Ben Pfaff wrote: > On Mon, Jan 11, 2016 at 08:48:40PM +0100, John Darrington wrote: > > On Mon, Jan 11, 2016 at 08:37:20PM +0100, news wrote: > > Hi, > > >

Re: save translate error message not understood

2016-01-15 Thread John Darrington
On Fri, Jan 15, 2016 at 06:35:37AM -0800, Ben Pfaff wrote: On Mon, Jan 11, 2016 at 08:48:40PM +0100, John Darrington wrote: > On Mon, Jan 11, 2016 at 08:37:20PM +0100, news wrote: > Hi, > > I want to export to a csv file and get an error message, but >

Re: save translate error message not understood

2016-01-15 Thread Ben Pfaff
On Mon, Jan 11, 2016 at 08:48:40PM +0100, John Darrington wrote: > On Mon, Jan 11, 2016 at 08:37:20PM +0100, news wrote: > Hi, > > I want to export to a csv file and get an error message, but > don't see the error. > > Any help appreciated. > > C:\Users\To

Re: save translate error message not understood

2016-01-11 Thread ftr
On 11/01/2016 20:48, John Darrington wrote: On Mon, Jan 11, 2016 at 08:37:20PM +0100, news wrote: Hi, I want to export to a csv file and get an error message, but don't see the error. Any help appreciated. C:\Users\Toshiba\Documents\data\EB\save translate.sps.16-2

Re: save translate error message not understood

2016-01-11 Thread John Darrington
On Mon, Jan 11, 2016 at 08:37:20PM +0100, news wrote: Hi, I want to export to a csv file and get an error message, but don't see the error. Any help appreciated. C:\Users\Toshiba\Documents\data\EB\save translate.sps.16-22: erreur: SAVE TRANSLATE: Erre

save translate error message not understood

2016-01-11 Thread news
Hi, I want to export to a csv file and get an error message, but don't see the error. Any help appreciated. C:\Users\Toshiba\Documents\data\EB\save translate.sps.16-22: erreur: SAVE TRANSLATE: Erreur de syntaxe dans 'OUTFILE': Fin de commande attendu. Fin de commande attendu = end of command

Re: save translate error

2015-01-19 Thread Ben Pfaff
On Mon, Jan 19, 2015 at 05:58:49PM +0100, John Darrington wrote: > On Mon, Jan 19, 2015 at 05:50:33PM +0100, F. Thomas wrote: > > The only (minor) surprise: During a first run I copy-pasted a > file name ending with a sav format as outfile name in the Save > Translate command.

Re: save translate error

2015-01-19 Thread John Darrington
On Mon, Jan 19, 2015 at 05:50:33PM +0100, F. Thomas wrote: The only (minor) surprise: During a first run I copy-pasted a file name ending with a sav format as outfile name in the Save Translate command. It worked and produced, as I had demanded, an outfile named as a

Re: save translate error

2015-01-19 Thread F. Thomas
On 18/01/2015 20:25, Harry Thijssen wrote: Could you use the latest ReleaseCandidate and try it again? John improved the error handling so it should give 2 error messages now. If it gives the same error, could you a) use show tempor show all from the syntax window and check

Re: Re: save translate error

2015-01-18 Thread Harry Thijssen
> > > >> > >> Hi, > >> > >> I try to export a part of my sav file into a text file to treat it in > >> another prog. > >> > >> This is the syntax used: > >> save translate > >> /outfile ="C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv" > >> /type = csv > >> /fieldnames > >> /cells = va

Re: save translate error

2015-01-16 Thread F. Thomas
No, save translate worked when saving to C:\WVS5_Europe_trustvars1.csv . On 16/01/2015 17:57, Alan Mead wrote: Does the same error occur with save translate when you save to, say, C:\ (if you have permission)? If so, then my theory about spaces or the specialness of Documents would be refuted.

Re: save translate error

2015-01-16 Thread Alan Mead
Does the same error occur with save translate when you save to, say, C:\ (if you have permission)? If so, then my theory about spaces or the specialness of Documents would be refuted. -Alan On 1/16/2015 10:48 AM, F. Thomas wrote: > The surprising fact is that I can load sav and save formatted da

Re: save translate error

2015-01-16 Thread F. Thomas
On 16/01/2015 09:17, John Darrington wrote: On Thu, Jan 15, 2015 at 11:17:32AM -0600, Alan Mead wrote: I guess not. The code below that saves "test data.csv" produces the error shown when I try to use "My Documents" but it works fine when I use "Documents":

Re: save translate error

2015-01-16 Thread ftr
The file name which produces the data is "C:\Users\Toshiba\Documents\data\EVS-WVS\WVS 5 Europe recodes.sav". And it is loaded and is saved in PSPP latest version under windows 7. On 15/01/2015 16:39, Ben Pfaff wrote: Does any file name that contains spaces cause trouble under Windows? I've just

Re: save translate error

2015-01-16 Thread John Darrington
On Thu, Jan 15, 2015 at 11:17:32AM -0600, Alan Mead wrote: I guess not. The code below that saves "test data.csv" produces the error shown when I try to use "My Documents" but it works fine when I use "Documents": save translate /outfile ="C:\Users\amead\My Doc

Re: save translate error

2015-01-15 Thread Alan Mead
On 1/15/2015 9:39 AM, Ben Pfaff wrote: > Does any file name that contains spaces cause trouble under Windows? > I've just tested out a few simple cases with spaces on GNU/Linux, > without trouble, so I'd be curious to hear what kinds of cases do cause > problems. I guess not. The code below that

Re: save translate error

2015-01-15 Thread Ben Pfaff
Does any file name that contains spaces cause trouble under Windows? I've just tested out a few simple cases with spaces on GNU/Linux, without trouble, so I'd be curious to hear what kinds of cases do cause problems. On Wed, Jan 14, 2015 at 11:54:08AM -0600, Alan Mead wrote: > FWIW, I've run into

Re: save translate error

2015-01-14 Thread Alan Mead
FWIW, I've run into trouble like this when there are spaces in Windows paths. It looks like FTR's path doesn't have a space but does Windows actually have a folder named "Documents"? When I run the code below (on the example hotels.sav) and then look in "My Documents" (not "Documents" although it

Re: save translate error

2015-01-14 Thread Alberto Cabello Sánchez
On Wed, 14 Jan 2015 14:09:24 +0100 "F. Thomas" wrote: > Alberto, > Sorry I am not a programmer. This is not a PSPP syntax code ? Where to > make it run ? Sorry, Frank. This message was intended to Ben or developers. It is a little section of PSPP source code (lines 155-163 of src/data/csv-file

Re: save translate error

2015-01-14 Thread F. Thomas
Alberto, Sorry I am not a programmer. This is not a PSPP syntax code ? Where to make it run ? -ftr On 14/01/2015 08:47, Alberto Cabello Sánchez wrote: On Tue, 13 Jan 2015 21:13:29 -0800 Ben Pfaff wrote: The error message says (translated from the French text): Creating temporary file result

Re: save translate error

2015-01-13 Thread Alberto Cabello Sánchez
On Tue, 13 Jan 2015 21:13:29 -0800 Ben Pfaff wrote: > > > > The error message says (translated from the French text): > > Creating temporary file resulted in error (file name): No such file or > > directory. > > Usually, in creating a file, "No such file or directory" means that the > director

Re: save translate error

2015-01-13 Thread Ben Pfaff
On Wed, Jan 14, 2015 at 06:58:42AM +0100, John Darrington wrote: > On Tue, Jan 13, 2015 at 11:04:25PM +0100, news wrote: > > > On 13/01/2015 19:05, John Darrington wrote: > >On Tue, Jan 13, 2015 at 04:28:49PM +0100, ftr wrote: > > > > A second question with the

Re: save translate error

2015-01-13 Thread John Darrington
On Tue, Jan 13, 2015 at 11:04:25PM +0100, news wrote: On 13/01/2015 19:05, John Darrington wrote: >On Tue, Jan 13, 2015 at 04:28:49PM +0100, ftr wrote: > > A second question with the save translate command. > The manual says (p.91) that missing can be

Re: save translate error

2015-01-13 Thread Ben Pfaff
On Tue, Jan 13, 2015 at 04:28:49PM +0100, ftr wrote: > I try to export a part of my sav file into a text file to treat it in > another prog. > > This is the syntax used: > save translate > /outfile ="C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv" > /type = csv > /fieldnames > /cells

Re: save translate error

2015-01-13 Thread news
On 13/01/2015 19:05, John Darrington wrote: On Tue, Jan 13, 2015 at 04:28:49PM +0100, ftr wrote: A second question with the save translate command. The manual says (p.91) that missing can be recoded with the command line /missing = recode. But into what ? My version o

Re: save translate error

2015-01-13 Thread John Darrington
On Tue, Jan 13, 2015 at 04:28:49PM +0100, ftr wrote: A second question with the save translate command. The manual says (p.91) that missing can be recoded with the command line /missing = recode. But into what ? My version of the manual says: "Specify MISSING

Re: save translate error

2015-01-13 Thread F. Thomas
The file was not created. It is done with the latest version from yesterday. HTH ftr On 13/01/2015 17:14, Alan Mead wrote: Out of curiosity, your bug report doesn't actually say anything about the file. It was NOT created? Or it was blank? Is this with the version Harry posted yesterday or a

Re: save translate error

2015-01-13 Thread Alan Mead
Out of curiosity, your bug report doesn't actually say anything about the file. It was NOT created? Or it was blank? Is this with the version Harry posted yesterday or a previous version? -Alan On 1/13/2015 9:28 AM, ftr wrote: > I doubt that my previous message arrived at the list. So I resend

save translate error

2015-01-13 Thread ftr
I doubt that my previous message arrived at the list. So I resend it again. Sorry for any inconvenience. Hi, I try to export a part of my sav file into a text file to treat it in another prog. This is the syntax used: save translate /outfile ="C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetr

save translate error

2015-01-13 Thread F. Thomas
Hi, I try to export a part of my sav file into a text file to treat it in another prog. This is the syntax used: save translate /outfile ="C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv" /type = csv /fieldnames /cells = values /keep v3 country v125 to v130. The error message says