bugPSPP - Bugs: bug #46932, error: WEIGHT: Syntax error at...

 
 

bug #46932: error: WEIGHT: Syntax error at `,': expecting

Submitter:  None
Submitted:  Mon 18 Jan 2016 09:40:54 PM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  Cannot Reproduce Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 18 Jun 2016 07:46:42 AM UTC, comment #4: 

I have not been able to produce this error after much trying.  Perhaps it has been fixed.

Therefore I'm closing this item.  If anyone can give an exact method to provoke this error, then please re-open it.

John Darrington <jmd>
Group administrator
Tue 19 Jan 2016 07:39:15 PM UTC, comment #3: 

I can't reproduce this with the following:


GET FILE="physiology.sav".
SAVE TRANSLATE
   /OUTFILE='physiology.csv'
   /TYPE=CSV
   /REPLACE
   /KEEP= sex, height, weight.


Ben Pfaff <blp>
Group administrator
Tue 19 Jan 2016 06:47:47 AM UTC, comment #2: 

I cannot reproduce this error despite an hour or so of trying. 

Obviously I do not have your "myfile.sav" so I cannot try exactly what you posted.  Can you post this file?

Can you please try using the "physiology.sav" example file which ships with 0.8.5  (which also has a variable called "weight").

and can you please post an example which provokes this error using syntax - ie, NOT using a preprepared .sav file.

The more information you can give, the better the chances are that
we can fix this.


John Darrington <jmd>
Group administrator
Mon 18 Jan 2016 09:44:58 PM UTC, comment #1: 

Please do let me know if I'm doing something incorrect or there is bug somewhere. My email is: -email is unavailable-

Anonymous
Mon 18 Jan 2016 09:40:54 PM UTC, original submission:  

PSPP Version: 0.8.5
OS: Ubuntu 14.04 LTS

PSPP gets confused when in syntax we write "weight" as one of the variable in .sav file WITH weight as its native function.

My syntax;
GET FILE="/home/kailash/myfile.sav".
   SAVE TRANSLATE
   /OUTFILE='/home/kailash/output.csv'
   /TYPE=CSV
   /REPLACE
   /KEEP= salary, height, weight.

If I run above command, I get error:
error: WEIGHT: Syntax error at `,': expecting

If I remove weight, it works fine.

I don't have much detail. I'm just running this simple command.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by jmd (reporter)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-18 jmd Open/ClosedOpen Closed
    2016-01-19 jmd StatusNone Cannot Reproduce
    2016-01-19 jmd Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code