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: Wed, 8 Apr 2020 14:15:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3

Follow-up Comment #2, bug #58134 (project octave):

Thanks Rik

Here's an echo of what I see today (annotations in []):

-------------------------------------------------

>> t2                                    [call t2]
error: invalid call to script t2.m

  [clear and re-call t2]
>> clear all
>> t2
error: invalid call to script t2.m
>>
>>
>>
>> echo on all
>>
>>

>> t                                     [t calls t2 (no .m)]
clear all

t2;
error: invalid call to script t2.m
error: called from
    t at line 3 column 1

>> t2                                    [I re-call t2]
data = [
error: vertical dimensions mismatch (1x4 vs 1x3)
error: called from
    t2 at line 1 column 6


>>
>>
>>
>>
>>
>>
>>
>> t                                     [ see if it repeats]
clear all

t2
error: invalid call to script t2.m
error: called from
    t at line 3 column 1
>>
>>
>>
>>
>> t                                     [again]
clear all

t2
error: invalid call to script t2.m
error: called from
    t at line 3 column 1
    

>> t2                                    [direct call]
data = [
error: vertical dimensions mismatch (1x4 vs 1x3)
error: called from
    t2 at line 1 column 6


>> clear all                             [clear and re-call]
>> t2
error: invalid call to script t2.m
------------------------------------------------------

So it looks like sometimes(!?) you get one msg and ...

Thanks again
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]