octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #58134] Very unhelpful error message when call


From: Doug Strain
Subject: [Octave-bug-tracker] [bug #58134] Very unhelpful error message when calling a script with an error
Date: Tue, 7 Apr 2020 12:19:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3

URL:
  <https://savannah.gnu.org/bugs/?58134>

                 Summary: Very unhelpful error message when calling a script
with an error
                 Project: GNU Octave
            Submitted by: saintrain
            Submitted on: Tue 07 Apr 2020 04:19:52 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: doug strain
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi! Love Octave, but ...

When calling t2 from the interpreter, or calling t2.m from another script,
thus
t2.m:
    data = [
     1 2 3
     1 2 3   4
    ];
the error message is a very unhelpful
error: invalid call to script t2.m

But if I enter the text of t2.m (data = ...) directly into the interpreter,
the error message is a helpful
error: vertical dimensions mismatch (1x3 vs 1x4)

Thanks
Doug





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58134>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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