bugGNU Octave - Bugs: bug #38414, Unhelpful error message when...


bug #38414: Unhelpful error message when loading an invalid sparse matrix

Submitted by:  None
Submitted on:  Tue 26 Feb 2013 06:16:50 PM UTC  
Category: InterpreterSeverity: 3 - Normal
Priority: 3 - LowItem Group: Other
Status: ConfirmedAssigned to: None
Originator Name: Michael EkstrandOriginator Email: -unavailable-
Open/Closed: OpenRelease: 3.4.2
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sat 20 Apr 2013 12:16:01 AM UTC, comment #1:

Confirmed; the rows and columns fields for all data types must be integers, and sparse indices must be integers. And just to clarify, was this a text file you formatted yourself to be read into Octave, or one created in Octave using the save function?

Mike Miller <mtmiller>
Project Member
Tue 26 Feb 2013 06:16:50 PM UTC, original submission:

I have an Octave-format text file that (inadvertently) contained a column index of '1e+05' in a sparse matrix. This confused Octave, of course, but the resulting error messages was quite unhelpful:

In particular, there was no indication of where in the (1.6MB compressed) input file the error occurred. Fortunately, JordiGH helped me track it down on IRC, but more helpful error reporting for corrupt input would be very appreciated.



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

Attach File(s):

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 rik5 (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Oct 2013 09:36:30 PM UTCrik5Priority5 - Normal=>3 - Low
    Sat 20 Apr 2013 12:16:01 AM UTCmtmillerCategoryNone=>Interpreter

    Back to the top

    Powered by Savane 3.1-cleanup