bugPSPP - Bugs: bug #64621, pspp-dump-sav index wrong

 
 

bug #64621: pspp-dump-sav index wrong

Submitter:  Daniel <deh1233>
Submitted:  Tue 05 Sep 2023 02:11:19 AM UTC
   
 
Category:  Other Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 Sep 2023 03:38:24 PM UTC, comment #1: 

Thanks for the bug report.  I pushed a fix as commit 9558f79b2d91 ("pspp-dump-sav: Number variables in cases starting from 1.")

Ben Pfaff <blp>
Group administrator
Tue 05 Sep 2023 02:11:19 AM UTC, original submission:  

I think perhaps the fix for this ...

pspp-dump-sav: Be consistent about variable numbering.
Dictionary indexes are 1-based but this printed them starting from zero,
so that the value labels (and weight) variable didn't match up properly.

Bug #55673.

Created the issue where the variable index now starts at 1 but but data dump is still index'ed at 0 ...

000000b4: variable record #1
        Width: 36 (string)
        Variable label: 1
        Missing values code: 0 (no missing values)
        Print format: 012400 (A36.0)
        Write format: 012400 (A36.0)
        Name: VISITOR
        000000d0 Variable label: "visitor_id"

00003868: case 0's uncompressible data begins
| 00003868: variable 0: opcode 253: uncompressible data: 1.869954962107943e-51/"0051ecf5

Daniel <deh1233>

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2023-09-05 blp StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code