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

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

[Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates i


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #56454] [octave forge] (io) xlswrite creates invalid file when GUI is disabled or not available
Date: Wed, 12 Jun 2019 10:15:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

Follow-up Comment #11, bug #56454 (project octave):

I always run i from teh command prompt from the octave installed shortcuts -
Im gguessing you are not doing that.

in octave, when running octave.bat:

octave:4> system('where zip')
C:\Octave\Octave-5.1.1\usr\bin\zip.exe
ans = 0

Via a standalone CMD:

octave:1> system('where zip')
INFO: Could not find files for the given pattern(s).
ans =  1


Looking at the paths, using getenv, the msys2 path isn't correct.
In octave.bat change the 2 lines that are:

set MSYSPATH=%ROOT_PATH%usr

to

set MSYSPATH=%ROOT_PATH%usr\

(added '\' at end of the line)







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56454>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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