bugPSPP - Bugs: bug #26034, PSPP generates invalid portable...

 
 

bug #26034: PSPP generates invalid portable file

Submitted by:  Michel Boaventura <michelboaventura>
Submitted on:  Sat 28 Mar 2009 05:10:50 AM UTC  
 
Category: System/Portable File I/OSeverity: 5 - Average
Status: FixedAssigned 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.

 

(Jump to the original submission Jump to the original submission)

Tue 31 Mar 2009 08:03:54 AM UTC, comment #7:

I've merged the stable branch into master so it should be there now.

John Darrington <jmd>
Project Administrator
Tue 31 Mar 2009 05:37:40 AM UTC, comment #6:

I've found this problem on master. Can you add this patch to master also?

Thanks!

Michel Boaventura <michelboaventura>
Project Member
Tue 31 Mar 2009 05:32:45 AM UTC, comment #5:

Checked in to stable.

John Darrington <jmd>
Project Administrator
Tue 31 Mar 2009 04:45:32 AM UTC, comment #4:

>I suggest the attached patch be checked in to stable.


Good catch. Please check this in.

Ben Pfaff <blp>
Project Administrator
Tue 31 Mar 2009 03:13:55 AM UTC, comment #3:

The problem seems to be that SYSMIS values are supposed to be represented "." but we've been writing them "./"

I suggest the attached patch be checked in to stable.

(file #17843)

John Darrington <jmd>
Project Administrator
Sat 28 Mar 2009 05:42:49 AM UTC, comment #2:

I guess that pspp doesn't uses the extension of the file to figure out what is its format. That's why I save it as .sav and it works.

I've discovery that if I put an (ELSE = 0) it works.

Michel Boaventura <michelboaventura>
Project Member
Sat 28 Mar 2009 05:28:51 AM UTC, comment #1:

Files generated by EXPORT normally take the suffix .por

Despite that, this bug report still seems to have highlighted a problem.

John Darrington <jmd>
Project Administrator
Sat 28 Mar 2009 05:10:50 AM UTC, original submission:

If you create a simple file with only one variable with values from 1 to 10 (like the attached) and run the syntax above on pspp, the out.sav file isn't readable by pspp.

GET
/FILE=test.sav.

RECODE test1 (1 = 1) INTO cor1.
EXECUTE.

EXPORT
/OUTFILE=out.sav.

Michel Boaventura <michelboaventura>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #17843:  export-sysmis.patch added by jmd (1007B - text/x-patch)
file #17826:  test.sav added by michelboaventura (375B - application/octet-stream)
file #17827:  out.sav added by michelboaventura (656B - application/octet-stream)

 

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 michelboaventura (Submitted the item)
  •  

    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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 31 Mar 2009 05:32:45 AM UTCjmdStatusReady for Test/Review=>Fixed
      Open/ClosedOpen=>Closed
    Tue 31 Mar 2009 03:13:55 AM UTCjmdAttached File-=>Added export-sysmis.patch, #17843
      StatusConfirmed=>Ready for Test/Review
    Sat 28 Mar 2009 05:28:51 AM UTCjmdStatusNone=>Confirmed
      SummaryPSPP generates invalid .sav file=>PSPP generates invalid portable file
    Sat 28 Mar 2009 05:10:50 AM UTCmichelboaventuraAttached File-=>Added test.sav, #17826
      Attached File-=>Added out.sav, #17827

    Back to the top


    Powered by Savane 3.1-cleanup1