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

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

[Octave-bug-tracker] [bug #46466] random error messages in qt plots


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #46466] random error messages in qt plots
Date: Tue, 17 May 2016 12:12:20 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #3, bug #46466 (project octave):

I can confirm (a for of) this problem on Octave 4.0.2, both on
 
 * Linux (debian stretch, both with system package and compiled from stable),

 * and Windows 10 (using the official 32bits installer).


I cannot give the full script, and I haven't managed yet to reproduce it with
a small example, but I can report the following facts:

 * The problem is *not strictly reproducible* (the error does not always
happen at the same moment, and the error message is not always the same).

 * The problem *happens all the time* (really, 100%) with the script I am
currently working on...

 * The problem happens with a plot (a figure with two subplots, actually) that
is *inside a loop*, after several iterations of the loop.

 * The problem does not seem to exist on the default branch.

 * The problem only happens with 'qt', not 'fltk' or 'gnuplot'.

 * The problem disappears if I insert a drawnow somewhere in the middle of the
loop, just after the plots (but NOT if I insert it at the end...)

 * The most common error message is: _error:
octave_base_value::convert_to_str_internal (): wrong type argument '<unknown
type>'_ but I sometimes gets other messages

 * Sometimes I get only one error, but sometimes I get several errors
successively, which is surprising because usually the first error causes the
script to stop:


>> script_GMExample_optim
iteration #1/50... OK.
iteration #2/50... OK.
iteration #3/50... OK.
iteration #4/50... OK.
iteration #5/50... OK.
iteration #6/50... OK.
iteration #7/50... OK.
iteration #8/50... OK.
iteration #9/50... OK.
iteration #10/50... OK.
iteration #11/50... OK.
iteration #12/50... error: octave_base_value::convert_to_str_internal ():
wrong type argument '<unknown type>'
error: called from
    get at line 53 column 19
    subsref at line 39 column 11
    stk_predict at line 155 column 15
    feval at line 35 column 4
    subsref at line 34 column 24
    script_GMExample_optim at line 96 column 21
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: @stk_hrect/size: invalid return value
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: @stk_factorialdesign/size: invalid return value
error: @stk_factorialdesign/size: invalid return value
error: @stk_dataframe/size: invalid return value
error: @stk_dataframe/size: invalid return value
>> error: octave_base_value::double_value (): wrong type argument '<unknown
type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::double_value (): wrong type argument '<unknown
type>'
# CUT!




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46466>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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