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

 
 

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

Submitted by:  Thomas Weber <tweber>
Submitted on:  Wed 21 Nov 2012 01:08:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: FixedAssigned to: None
Originator Name: Thomas WeberOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

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>
Project 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>
Wed 21 Nov 2012 02:24:59 PM UTC, comment #1:

Confirmed in dev.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
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 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 rik5 (Posted a comment)
  • -unavailable- added by juanpi (Posted a comment)
  • -unavailable- added by juanpi (to have in mind!)
  • -unavailable- added by juanpi (to have in mind!)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by tweber (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 14 Mar 2013 09:48:26 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Summarypkg.m does not work when promoting warnings to erros=>pkg.m does not work when promoting warnings to errors
    Wed 21 Nov 2012 02:58:09 PM UTCjuanpiCarbon-Copy-=>Added -unavailable-
      Carbon-Copy-=>Added -unavailable-
    Wed 21 Nov 2012 02:24:59 PM UTCjordighStatusNone=>Confirmed
      Release3.6.2=>dev

    Back to the top


    Powered by Savane 3.1-cleanup