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

 
 

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

Submitted by:  None
Submitted on:  Mon 18 Jan 2016 09:40:54 PM UTC  
 
Category: Syntax ParserSeverity: 5 - Average
Status: Cannot ReproduceAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
Tue 19 Jan 2016 07:39:15 PM UTC, comment #3:

I can't reproduce this with the following:

Ben Pfaff <blp>
Project 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>
Project 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: -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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 18 Jun 2016 07:46:42 AM UTCjmdOpen/ClosedOpen=>Closed
    Tue 19 Jan 2016 06:47:47 AM UTCjmdStatusNone=>Cannot Reproduce
    Tue 19 Jan 2016 06:34:52 AM UTCjmdCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1