bugGNU Octave - Bugs: bug #39652, load fails for gzipped, headerless...

 
 

bug #39652: load fails for gzipped, headerless ascii files

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Fri 02 Aug 2013 02:05:54 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 05 Aug 2013 06:47:50 PM UTC, comment #3:

I have rebased and pushed your patch:

http://hg.savannah.gnu.org/hgweb/octave/rev/ca5103ab0b21

Thanks. You might wish to pull from Savannah and get rid of your pre-rebased patch:

And from now on, you can push your own patches. :-)

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Fri 02 Aug 2013 05:50:44 PM UTC, comment #2:

Added new patch with better written commit message.

(file #28745)

Andreas Weber <andy1978>
Project Member
Fri 02 Aug 2013 02:35:13 PM UTC, comment #1:

Patch added,
Regards, Andy

(file #28744)

Andreas Weber <andy1978>
Project Member
Fri 02 Aug 2013 02:05:54 PM UTC, original submission:

Since 04fb96f4bea1 the type detection of gzipped files without header fails with some data.

The reason is because looks_like_mat_ascii_file fails if it's a gzipped file.

Below my testscrit which fails always

If you change the 4.th line from "663, 15," to "663, 16," load works. Regards Andy

Andreas Weber <andy1978>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by andy1978 (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 project members 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
    Mon 05 Aug 2013 06:47:50 PM UTCjordighStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 02 Aug 2013 05:50:44 PM UTCandy1978Attached File-=>Added NEW_wrong_gzipped_LS_MAT_ASCII_39652.patch, #28745
    Fri 02 Aug 2013 02:35:13 PM UTCandy1978Attached File-=>Added wrong_gziped_LS_MAT_ASCII_detection_39652.patch, #28744

    Back to the top


    Powered by Savane 3.1-cleanup1