help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OctDev] Bug in pkg.m when parsing DESCRIPTION file


From: Carnë Draug
Subject: Re: [OctDev] Bug in pkg.m when parsing DESCRIPTION file
Date: Thu, 1 Mar 2012 15:11:31 +0000

On 1 March 2012 01:16, Miguel Bazdresch <address@hidden> wrote:
> Hello,
>
> In Octave 3.6.1, when installing a package with a DESCRIPTION file that
> includes a line ending with a semicolon, installation fails with a cryptic
> error message.
>
> The problem may be easily reproduced by creating a get_description.m file
> with functions get_description() and strip() from pkg.m (lines 1726 to 1778
> and 1859 to 1866), and a DEScRITION file with contents such as
>
> Author:
>
> (Both files are attached to this message). When calling
>
>> get_description('DESCRIPTION')
>
> it fails with error message
>
> error: structure has no member `keywords'
> error: evaluating argument list element number 2
> error: called from:
> error:   <path>/get_description.m at line 29, column 13
>
> I'm attaching a patch that fixes the problem for me (even though the error
> string could still be improved a bit).
>
> Regards,
>
> --
> Miguel Bazdresch

Hi Miguel

this bug is of octave (core) and this mailing list is for octave-forge
(related but different project for packages and distribution of octave
binaries). This bug should have been reported on their mailing list
(I'm already sending it there with this reply so don't worry about it
now).

Also, bugs can be reported on the bug tracker. I have prepared a
changeset from your patch (slightly modified to improve on the error
message as you mentioned) and submitted it there. Please follow it
here https://savannah.gnu.org/bugs/index.php?35678

Carnë


reply via email to

[Prev in Thread] Current Thread [Next in Thread]