bugGNU Octave - Bugs: bug #39791, imwrite error

 
 

bug #39791: imwrite error

Submitted by:  Cristian <r41nm4n>
Submitted on:  Thu 15 Aug 2013 01:27:33 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 17 Aug 2013 04:21:27 PM UTC, comment #2:

Thank you for the report and the tests. The bug was caused by a really stupid thing I done. It is fixed now. All the 9 tests we had in imwrite are for failures so when I actually broke something the tests were useless.

But I'll be applying a slightly different patch, one that only runs if octave's been configured to deal with images, and with a unwind_protect to make sure the file is removed for sure, no matter what happens during the reading and writing.

Carnë Draug <carandraug>
Project Member
Thu 15 Aug 2013 01:41:09 PM UTC, comment #1:

Same patch, properly formatted.

(file #28852)

Cristian <r41nm4n>
Thu 15 Aug 2013 01:27:33 PM UTC, original submission:

With octave dev version, hg id e3870f594d8b I get the following error:

I am attaching a patch that adds a test to imwrite.m useful to highlight this and other possible errors: the test works with octave 3.6.4 and fails with current dev version.

Cristian <r41nm4n>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28852:  imwrite.patch added by r41nm4n (877B - text/x-diff)
file #28850:  imwrite.patch added by r41nm4n (873B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by r41nm4n (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
    Sat 17 Aug 2013 04:21:27 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 15 Aug 2013 01:41:09 PM UTCr41nm4nAttached File-=>Added imwrite.patch, #28852
    Thu 15 Aug 2013 01:27:33 PM UTCr41nm4nAttached File-=>Added imwrite.patch, #28850

    Back to the top


    Powered by Savane 3.1-cleanup1