[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' proper
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree |
Date: |
Fri, 10 Mar 2017 16:26:44 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #7, bug #50496 (project octave):
Rik: Octave compiles OK but there is an error when running
doc/interpreter/geometryimages.m to build figures for the docs:
http://buildbot.octave.org:8010/builders/clang-3.9-debian/builds/326/steps/compile/logs/stdio
Since that error message isn't very helpful, I build Octave and ran the
command by hand with debug_on_error set and I found
buserror:11> /bin/bash run-octave --norc --silent --no-history --path
~/src/doc/interpreter/ --eval "geometryimages ('doc/interpreter/', 'voronoi',
'eps');"
error: 'geometryimages' undefined near line 1 column 1
buserror:12> pwd
/home/jwe/build/octave
buserror:13> /bin/bash run-octave --norc --silent --no-history --path
~/src/octave/doc/interpreter/ --eval "geometryimages ('doc/interpreter/',
'voronoi', 'eps');"
error: structure has no member 'interpreter'
buserror:14> /bin/bash run-octave --norc --silent --no-history --path
~/src/octave/doc/interpreter/
octave:1> debug_on_error (1)
octave:2> geometryimages ('doc/interpreter/', 'voronoi', 'eps')
error: structure has no member 'interpreter'
error: called from
__gnuplot_draw_axes__>__maybe_munge_text__ at line 2465 column 5
__gnuplot_draw_axes__ at line 675 column 15
__gnuplot_draw_figure__ at line 172 column 17
__gnuplot_drawnow__ at line 43 column 9
__gnuplot_print__>local_drawnow at line 226 column 5
__gnuplot_print__>eps_drawnow at line 214 column 5
__gnuplot_print__ at line 75 column 9
print at line 518 column 14
geometryimages at line 55 column 5
stopped in
/home/jwe/src/octave/scripts/plot/util/private/__gnuplot_draw_axes__.m at line
2465
2465: if (strcmp (obj.interpreter, "tex"))
debug> obj
obj =
scalar structure containing the fields:
beingdeleted = off
busyaction = queue
buttondownfcn = [](0x0)
children = [](0x1)
clipping = on
createfcn = [](0x0)
deletefcn = [](0x0)
handlevisibility = on
hittest = on
interruptible = on
parent = -1.8402
selected = off
selectionhighlight = on
tag =
type = line
I'm not sure what the proper fix is for this. If a property is deprecated,
shouldn't it still work? Or is it available with get() but not part of the
structure? I see that the failing code is using a structure element instead
of get (obj, "interpreter"). But either way, I guess Octave needs to avoid
using this property.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50496>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/08
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/08
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree,
John W. Eaton <=
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, John W. Eaton, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, John W. Eaton, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/11