bugGNU Octave - Bugs: bug #48020, "test imwrite; clear all;...


bug #48020: "test imwrite; clear all; test imwrite" fails

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Thu 26 May 2016 05:28:29 AM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Sat 21 Apr 2018 05:01:18 PM UTC, comment #3: 

This has been fixed somewhere along the way between Octave 4.2 and 4.4.

Mike Miller <mtmiller>
Project Administrator
Fri 27 May 2016 04:55:28 PM UTC, comment #2: 

Just to check I went backwards in versions.  This works with 3.6.4 and 3.4.3.  Unfortunately, I'm having trouble testing 3.8.2, 4.0.0, and 4.0.1.  But it definitely fails with 4.0.2.

Rik <rik5>
Project Administrator
Thu 26 May 2016 06:42:52 AM UTC, comment #1: 

I can confirm on both stable and default branches.

This may have something to do with subfunctions of private functions and calling "clear('functions')" after the function was loaded.

Mike Miller <mtmiller>
Project Administrator
Thu 26 May 2016 05:28:29 AM UTC, original submission:  

>> test imwrite
PASSES 20 out of 20 tests
>> clear all
>> test imwrite
***** testif HAVE_MAGICK
gray = randi (255, 10, 10, 1, "uint8");
r = write_and_read (".tif", gray);
assert (r, gray);
!!!!! test failed
'is_valid_index_option' undefined near line 70 column 11

See also comments 60-62 in bug #43505

tested in Win-7 and in Ubuntu

Avinoam Kalma <avinoam>
Project Member


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

Attach Files:

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 rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-21 mtmiller StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2016-05-27 rik5 CategoryOctave Function => Interpreter
    2016-05-26 mtmiller StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.5