[Pkg-octave-devel] Bug#414001: octave2.9: error does not behave as the help says

Rafael Laboissiere rafael at debian.org
Thu Mar 8 16:09:22 CET 2007


package octave2.9
tags 414001 unreproducible moreinfo
thanks

* Francesco Potorti` <Potorti at isti.cnr.it> [2007-03-08 15:33]:

> Package: octave2.9
> Version: 2.9.9-8etch1
> Severity: normal
> 
>  -- Built-in Function:  error (TEMPLATE, ...)
>      The `error' function formats the optional arguments under the
>      control of the template string TEMPLATE using the same rules as
>      the `printf' family of functions (*note Formatted Output::).  The
>      resulting message is prefixed by the string `error: ' and printed
>      on the `stderr' stream.
> 
> however:
> 
> octave:39> error("%d", 7)
> error: 7
> error: in error
> 
> >>> error ("%d", 7)

I cannot reproduce the error in my sid chroot with octave2.9_2.9.9-8etch1:

    $ dpkg -l octave2.9
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
    ||/ Name           Version        Description
    +++-==============-==============-============================================
    ii  octave2.9      2.9.9-8etch1   GNU Octave language for numerical computatio
    $ octave -q
    octave2.9:1> error ("%d", 7)
    error: 7
    octave2.9:1> which error
    error is a built-in function
    octave2.9:2>

We need more information on this problem, in particular a way to surely
reproduce the bug.

-- 
Rafael




More information about the Pkg-octave-devel mailing list