On 1 March 2012 01:16, Miguel Bazdresch <l...@2pif.info> 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ë

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to