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

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

[Octave-bug-tracker] [bug #31976] Cannot print in emf form in fltk print


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #31976] Cannot print in emf form in fltk printing (MinGW)
Date: Fri, 24 Feb 2012 00:25:35 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Follow-up Comment #31, bug #31976 (project octave):

I have attached 31976-c.diff and executed the test.


octave:5> print -debug fltk_test.emf
error: `caller' undefined near line 435 column 42
error: evaluating argument list element number 2
error: called from:
error:  
e:usrTatsumingwhomeoctavesOctBuildhg-devel....hgoctave-workscriptsplotprivate__print_parse_opts__.m
at line 435, column 5
error:  
e:usrTatsumingwhomeoctavesOctBuildhg-devel....hgoctave-workscriptsplotprivate__print_parse_opts__.m
at line 53, column 21
error:  
e:usrTatsumingwhomeoctavesOctBuildhg-devel....hgoctave-workscriptsplotprint.m
at line 261, column 8


In the __print_parse_opts__.m


function cmd = __quote_path__ (cmd)
  if (! isempty (cmd))
    is_quoted = all (cmd([1, end]) == "'");
    if (! is_quoted)
      dos_shell = ! isunix () && ispc ();
      if (any (cmd == " ") || (dos_shell && any (cmd == '')))
        cmd = strcat ("'", strrep (cmd, "'", "''"), "'");
      endif
    endif
  else
    error ("%s: shell command is empty", caller)
  endif
endfunction


Value of cmd seems to be empty.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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