[Top][All Lists]

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

[Octave-bug-tracker] [bug #56623] webread with one argument errors on va

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #56623] webread with one argument errors on varargin
Date: Fri, 12 Jul 2019 16:28:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36


                 Summary: webread with one argument errors on varargin
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Fri 12 Jul 2019 01:28:11 PM PDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux



The webread function docstring says it can be called with just one URL
argument. However,

>> webread ('http://www.example.org/')
error: varargin(0): subscripts must be either integers 1 to (2^63)-1 or
error: called from
    webread at line 51 column 3

This looks like it should be easy to fix with some nargin checks.


Reply to this item at:


  Message sent via Savannah

reply via email to

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