bugGNU Octave - Bugs: bug #51781, [octave forge] (miscellaneous)...

 
 

bug #51781: [octave forge] (miscellaneous) textable error on valid input

Submitted by:  andre <wienerschnitzel>
Submitted on:  Fri 18 Aug 2017 06:05:55 AM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unexpected Error
Status: FixedAssigned to: Juan Pablo Carbajal <juanpi>
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 19 Aug 2017 03:27:58 PM UTC, comment #5:

Fixed this in dev and also changed a call to octave_config_info for a call to _have_feature_

This problem has been fixed in the development version. The fix
will be available in the next major software release. Thank you
for your bug report.

Juan Pablo Carbajal <juanpi>
Project MemberIn charge of this item.
Fri 18 Aug 2017 04:19:47 PM UTC, comment #4:

Sorry, reopening.

The package should now drop its dependency on the "general" package, because it looks to me like inputParser was the only reason for that dependency.

Mike Miller <mtmiller>
Project Administrator
Fri 18 Aug 2017 04:18:48 PM UTC, comment #3:

Yes it looks fixed to me.

http://hg.code.sf.net/p/octave/miscellaneous/rev/975ac6a91db5

Unit tests would be nice also.

For the OP - you can grab the updated textable.m from the hg repo (http://hg.code.sf.net/p/octave/miscellaneous/file/54f303dc03ec/inst/textable.m) if you don't want to wait for a new release of the miscellaneous package.

Mike Miller <mtmiller>
Project Administrator
Fri 18 Aug 2017 09:39:09 AM UTC, comment #2:

I pushed a change to the dev version that fixed the issue.
Can anyone check.
You can use the simple demo that I added (OP test case).

Juan Pablo Carbajal <juanpi>
Project MemberIn charge of this item.
Fri 18 Aug 2017 06:26:26 AM UTC, comment #1:

Confirmed, the error occurs because the textable function is expecting the old incompatible form of inputParser:

The function will need to be updated to use Octave's built in inputParser, and preferably have a test case added to it.

Mike Miller <mtmiller>
Project Administrator
Fri 18 Aug 2017 06:05:55 AM UTC, original submission:

GNU Octave Version: 4.0.0
GNU Octave License: GNU General Public License
Operating System: Linux 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64
----------------------------------------------------------------------
Package Name | Version | Installation directory
---------------+---------+-----------------------
general *| 2.0.0 | /usr/share/octave/packages/general-2.0.0
miscellaneous *| 1.2.1 | /usr/share/octave/packages/miscellaneous-1.2.1

Steps:

result: textable reports error on valid argument.
expected: textable should not report an error given valid input and produce latex code.

andre <wienerschnitzel>

 

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

Attach File(s):
   
   
Comment:
   

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 juanpi (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by wienerschnitzel (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 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Aug 2017 03:27:58 PM UTCjuanpiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Fri 18 Aug 2017 04:19:47 PM UTCmtmillerStatusFixed=>In Progress
      Open/ClosedClosed=>Open
    Fri 18 Aug 2017 04:18:48 PM UTCmtmillerStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 18 Aug 2017 09:39:43 AM UTCjuanpiStatusConfirmed=>Ready For Test
      Assigned toNone=>juanpi
    Fri 18 Aug 2017 06:26:26 AM UTCmtmillerCategoryOctave Function=>Octave Forge Package
      StatusNone=>Confirmed
      Summarytextable error on valid input=>[octave forge] (miscellaneous) textable error on valid input

    Back to the top


    Powered by Savane 3.1-cleanup1