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

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

[Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work cor


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #40381] MXE / MinGW - setenv does not work correctly
Date: Mon, 28 Oct 2013 23:08:58 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Follow-up Comment #19, bug #40381 (project octave):

Thanks.

I just tried the tip 17784:7ae9bc04ec07  (MXE cross build on WinXP)

1. When closing octave (CLI and GUI), I now see an error message flashing by:

>> error: permission denied
error: ignoring octave_execute_exception while preparing exit


(Text could be a little different as it shows maybe 0.25 sec before the Octave
windows disappears).

2. When starting octave.exe, I get the CLI; with or without the --force-gui
flag makes no difference.
I need to explicitly start octave-gui.exe to start the GUI.
>From the post you referred to I can't figure out whether that is the intended
behavior (but OK it is bed time here).

Starting octave-gui with --no-gui flag makes octave-cli start.

Please interpret the following just as a report. If it is like you expect,
good, please ignore.

Starting Octave from a cmd32 command prompt ("Windows shell") gives funny
results:

X:\Octave\octave-2013-10-28-22-49\bin>octave
    <6 seconds wait ....>
X:\Octave\octave-2013-10-28-22-49\bin>GNU Octave, version 3.7.7+
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "i686-pc-mingw32".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> a = 10
'a' is not recognized as an internal or external command,
operable program or batch file.

X:\Octave\octave-2013-10-28-22-49\bin>     <just hit Enter key..>
octave:1> whos
'whos' is not recognized as an internal or external command,
operable program or batch file.

X:\Octave\octave-2013-10-28-22-49\bin>     <just hit Enter key..>
octave:1>                                  <just hit Enter key..>
X:\Octave\octave-2013-10-28-22-49\bin>
octave:1>                                          <ditto>
X:\Octave\octave-2013-10-28-22-49\bin>
octave:1>
X:\Octave\octave-2013-10-28-22-49\bin>
octave:1>
X:\Octave\octave-2013-10-28-22-49\bin>


... so once octave is started, hitting the Enter key switches between the
cmd32 terminal and the Octave prompt. Although / while an octave prompt is
displayed, it doesn't seem that octave accepts octave commands.

Now, running octave-cli from a command prompt behaves as expected:

X:\Octave\octave-2013-10-28-22-49\bin>octave-cli
GNU Octave, version 3.7.7+
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "i686-pc-mingw32".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave-cli:1> a = 10
a =  10
octave-cli:2> exit

error: Permission denied
error: ignoring octave_execution_exception while preparing to exit

X:\Octave\octave-2013-10-28-22-49\bin>     <hit Enter key>
X:\Octave\octave-2013-10-28-22-49\bin>


Same goes for octave-gui.exe, only the error message is shown in the terminal
pane.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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