bugPSPP - Bugs: bug #47737, PSPPIRE CSV File Import, Param...

 
 

bug #47737: PSPPIRE CSV File Import, Param Name May Not Be "title" or "subtitle"

Submitted by:  Rob L <rcleonard>
Submitted on:  Tue 19 Apr 2016 07:02:50 PM UTC  
 
Category: Syntax ParserSeverity: 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.

 

Thu 21 Apr 2016 10:49:25 AM UTC, comment #1:

I pushed a fix for this. Thanks for reporting it.

John Darrington <jmd>
Project Administrator
Tue 19 Apr 2016 07:02:50 PM UTC, original submission:

GNU pspp 0.10.1-g1082b8

When attempting import of CSV file (first line containing parameter names), use of the name title or subtitle) results in:

.11-13: error: GET DATA: Syntax error at `A23': expecting valid format specifier.

Example CSV top lines:
foobar,....,title,....,last\n
-or-
foobar,....,subtitle,....,last\n

The format of the import variable was string, width 23, align left, nominal, input.

It appears the CSV input parser confuses parameter names title and subtitle with the usage of title and subtitle elsewhere to define output header titles and subtitles. The documentation does not indicate these to be reserved words.

Rob L <rcleonard>

 

(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 jmd (Posted a comment)
  • -unavailable- added by rcleonard (Submitted the item)
  • -unavailable- added by rcleonard
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Apr 2016 02:06:54 PM UTCjmdStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 21 Apr 2016 10:49:25 AM UTCjmdCategoryGraphical User Interface=>Syntax Parser
    Tue 19 Apr 2016 07:02:50 PM UTCrcleonardCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1