bugGNU Octave - Bugs: bug #37785, pkg.m does not work when promoting...

 
 

bug #37785: pkg.m does not work when promoting warnings to errors

Submitter:  Thomas Weber <tweber>
Submitted:  Wed 21 Nov 2012 01:08:09 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Fixed Assigned to:  None
Originator Name:  Thomas Weber Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 Mar 2013 09:48:26 PM UTC, comment #3: 

I just checked in a changeset that fixes the problem for me (http://hg.savannah.gnu.org/hgweb/octave/rev/c8e1b0213e34).  I only tried the examples given, 'pkg list' and 'ver', but it seems to work.

Rik <rik5>
Group administrator
Wed 21 Nov 2012 02:58:09 PM UTC, comment #2: 

This is relevant to my interests.

I am refactoring pkg.m

Juan Pablo Carbajal <juanpi>
Group Member
Wed 21 Nov 2012 02:24:59 PM UTC, comment #1: 

Confirmed in dev.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Wed 21 Nov 2012 01:08:09 PM UTC, original submission:  

Hi,

this is Debian bug #693873, http://bugs.debian.org/693873

octave:1> pkg list
no packages installed.
octave:2> warning error Octave:str-to-num
octave:3> pkg list
error: implicit conversion from string to real N-d array
error: type conversion failed for binary operator `=='
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 274, column 3
octave:3> pkg ("list")
error: implicit conversion from string to real N-d array
error: type conversion failed for binary operator `=='
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 274, column 3
octave:3> version
ans = 3.6.2
octave:4> ver
error: implicit conversion from string to real N-d array
error: type conversion failed for binary operator `=='
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 274, column 3
error:   /usr/share/octave/3.6.2/m/miscellaneous/ver.m at line 65, column 5


I'm not sure why I don't see a warning when calling "pkg list", but get an error when I promote the warning to an error.


Thomas Weber <tweber>

 

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

Attach Files:
   
   
Comment:
   

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 juanpi (Posted a comment)
  • -email is unavailable- added by juanpi (to have in mind!)
  • -email is unavailable- added by juanpi (to have in mind!)
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by tweber (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-03-14 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
        Summarypkg.m does not work when promoting warnings to erros pkg.m does not work when promoting warnings to errors
    2012-11-21 juanpi Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-
    2012-11-21 jordigh StatusNone Confirmed
        Release3.6.2 dev

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code