bugGNU Octave - Bugs: bug #49656, xlswrite error, due to...

 
 

bug #49656: xlswrite error, due to uninitialized r_extnd

Submitted by:  None
Submitted on:  Sun 20 Nov 2016 10:56:46 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Philip Nienhuis <philipnienhuis>
Originator Name: Anthony SeniseOriginator Email: -unavailable-
Open/Closed: ClosedRelease: other
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 28 Nov 2016 09:42:34 PM UTC, comment #3:

Pushed the fix here:
http://hg.code.sf.net/p/octave/io/rev/05ccd8106966

Closing report.

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Mon 21 Nov 2016 10:17:02 PM UTC, comment #2:

Yep sorry for the oversight.

Just replace L.128 with:

I'm away from my dev box this week, next weekend I 'll push this fix.

Philip Nienhuis <philipnienhuis>
Project MemberIn charge of this item.
Mon 21 Nov 2016 02:56:35 PM UTC, comment #1:

The problem is with changeset http://hg.code.sf.net/p/octave/io/rev/595b04737601.

The new lines:

r_extnd is used but it defined only if nargin >= 4

Package maintainer added.

Avinoam Kalma <avinoam>
Project Member
Sun 20 Nov 2016 10:56:46 PM UTC, original submission:

After downloading the latest "io" package, I got the following:

error: 'r_extnd' undefined near line 171 column 27
error: called from
xlswrite at line 171 column 3
test at line 29 column 1

I was able to get it working by defining "r_extnd = 0;" at the beginning of "xlswrite.m". See attached "xlswrite.txt".

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #39036:  test.xlsx added by None (132KiB - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet - Attached are the test driver, input data, and proposed solution)
file #39034:  test.m added by None (454B - application/vnd.wolfram.mathematica.package - Attached are the test driver, input data, and proposed solution)
file #39035:  xlswrite.txt added by None (9KiB - text/plain - Attached are the test driver, input data, and proposed solution)

 

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 avinoam (Posted a comment)
  • -unavailable- added by avinoam
  • -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 15 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Nov 2016 09:42:34 PM UTCphilipnienhuisItem GroupNone=>Incorrect Result
      StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 23 Nov 2016 01:05:27 AM UTCrik5CategoryOctave Function=>Octave Forge Package
    Mon 21 Nov 2016 10:17:02 PM UTCphilipnienhuisCategoryOctave Forge Package=>Octave Function
      Operating SystemGNU/Linux=>Any
    Mon 21 Nov 2016 02:56:35 PM UTCavinoamStatusNone=>Confirmed
      Assigned toNone=>philipnienhuis
      Release4.0.2=>other
      Carbon-Copy-=>Added -unavailable-
    Mon 21 Nov 2016 05:39:25 AM UTCrik5Carbon-CopyRemoved 72865=>-
    Mon 21 Nov 2016 05:39:04 AM UTCrik5CategoryNone=>Octave Forge Package
    Sun 20 Nov 2016 10:56:47 PM UTCNoneAttached File-=>Added xlswrite.txt, #39035
      Attached File-=>Added test.xlsx, #39036
    Sun 20 Nov 2016 10:56:46 PM UTCNoneAttached File-=>Added test.m, #39034

    Back to the top


    Powered by Savane 3.1-cleanup1