On Tue, Mar 30, 2010 at 10:05 PM, Philip Nienhuis <[email protected]> wrote: > Hi, > > Using the new 3/2/4/ MingW binary I can't get the graphics backend changed. > > octave-3.2.4.exe:1> backend ('gnuplot') > error: [java] org.octave.graphics.PropertyException: invalid default > property - defaultfigure__backend__ > error: called from: > error: > C:\Programs\Octave\3.2.4_gcc-4.4.0\share\octave\packages\jhandles-0.3.5\__jhandles_set.m > at > line 40, column 2 > error: > C:\Programs\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\plot\backend.m > at line 63, column 5 > ### or: > octave-3.2.4.exe:1> backend ('fltk') > error: [java] org.octave.graphics.PropertyException: invalid default > property - defaultfigure__backend__ > error: called from: > error: > C:\Programs\Octave\3.2.4_gcc-4.4.0\share\octave\packages\jhandles-0.3.5\__jhandles_set.m > at > line 40, column 2 > error: > C:\Programs\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m\plot\backend.m > at line 63, column 5 > > > Debugging this I finally arrive at a java call in __java_set.m at line > 31 (*not* line 40 as suggested above - that's rather where the > unwind_protect_cleanup block bails out, it's not the actual error > location; BTW is that behaviour a bug too?): > > debug> handle.set (varargin{k}, varargin{k+1}) > error: [java] org.octave.graphics.PropertyException: invalid default > property - defaultfigure__backend__ > > ( "defaultfigure__backend__" is arg 1 to __java_set.m, arg 2 = "gnuplot" > ( or "fltk"); ) > > Well, that's as far as I can get with my limited octave/java proficiency. > > What's going wrong here?
JHandles is still in that path, but it also overloads get/set functions (it was written before those even exist in octave). This can't work as is. You should unload the jhandles package first. Michael. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
