bugPSPP - Bugs: bug #48373, Error Importing Long Line TXT file

 
 

bug #48373: Error Importing Long Line TXT file

Submitter:  Petros <plinakos>
Submitted:  Sat 02 Jul 2016 07:42:11 AM UTC
   
 
Category:  Other Severity:  5 - Average
Priority:  5 - Normal Status:  Need Info
Assigned to:  None Open/Closed:  Open
Release:  None Effort:  0.00
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Fri 22 Dec 2023 06:32:04 PM UTC, comment #4: 

I'm a bit confused here.  PSPP should support importing text files with long lines.

How long are the lines in your file? And what error are you getting?

Ben Pfaff <blp>
Group administrator
Wed 20 Dec 2023 09:24:13 AM UTC, comment #3: 

When importing a large CSV with 1000s of variables I get this.  I assume it is the column headings of multiple columns that is resulting in a long first line? not a bug.

If this is the case, what is the correct way to import a large data set from excel with such a large number of variables to avoid this error?  (presumably not CSV as this is going to 'string' everything together to this line that's too long).

(I could not see this issue covered in pspp-users archives?)

thank you

Anonymous
Tue 19 Dec 2023 10:30:12 AM UTC, comment #2: 

I am getting the same error.

What is 'a line' in the data file. I am importing a CSV from excel. is 'a line' a row in the spreadsheet or a cell that is too long?

How do I identify where this line is so I can rectify the problem.  the file I am trying to import is 2046 rows by 2610 columns (and apart from column headings is all numeric or missing values (unless something weird has crept in I cant immediately see))

Anonymous
Sun 14 Apr 2019 03:45:50 PM UTC, comment #1: 

I don't think this is really a bug.

I file with such enormously long lines can't reasonably be considered a text file.

John Darrington <jmd>
Group administrator
Sat 02 Jul 2016 07:42:11 AM UTC, original submission:  

Trying to import a survey csv file got the message:

error: Failed to read `C:\Users\xxxx\
xxxx.csv', because it contains a line over 16384 bytes long and
therefore appears not to be a text file.

Petros <plinakos>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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 plinakos (Submitted the item)
  • -email is unavailable- added by plinakos
  •  

    Votes

    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.

     

    History

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-22 blp StatusWont Fix Need Info
        Open/ClosedClosed Open
    2019-04-14 jmd StatusNone Wont Fix
        Open/ClosedOpen Closed
    2016-07-02 plinakos Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code