help-octave
[Top][All Lists]
Advanced

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

RE: Octave does not start


From: David Remans
Subject: RE: Octave does not start
Date: Wed, 22 Sep 2021 10:35:11 +0000

Hi Markus,

Here is small recap of the current status, still the GUI does not show:

I uninstalled Octave 6.2.0, and deleted all remaining files and rebooted the 
computer.
I downloaded the installer for Octave 6.3.0 and installed this version 
(installation for all users)
I do have admin rights on my machine.
For antivirus I use default windows defender. I tried all steps below with and 
without deactivating windows defender.

- I can run a general VBA scrip like  "hello world", I can also run this script 
from the Octave directory : C:\Program Files\GNU Octave\Octave-6.3.0
- When I start the GUI from the start menu shortcut, nothing happens
- When I start the GUI from the start menu shortcut as administrator, I get a 
pop-up from windows to allow execution of the octave.vbs --gui script. After I 
allow execution, nothing happends
- When I run Octave.bat in command window, this runs well (see attached 
screenshot), I can create variables etc in command line
- When I use CMD to run the octave.vbs script It seems to run the script (but 
GUI does not open). To test I added a line at the end of the script to show GUI 
MODE, and I get proper output.
- When I open Octave CLI from the start menu a command window opens with only a 
blinking cursor. (see attached screenshot) in the title balk it mentions 
"Octave-gui.exe"
- Using CMD I search for GNU file see attached screenshot for returned info. (I 
also attached the content of the file, changed the extension to .txt to allow 
transfer)

Still no clue as to why the GUI does not show

Best regards,
David




-----Original Message-----
From: Markus Mützel <markus.muetzel@gmx.de> 
Sent: woensdag 22 september 2021 10:03
To: David Remans <D.Remans@tradinco.com>
Cc: help@octave.org
Subject: RE: Octave does not start

Am 22. September 2021 um 09:43 Uhr schrieb "David Remans":
> HI Markus,
> 
>  See comments below. Unfortunately Gui does not show Yet.
> 
> Best regards,
> 
> David Remans
> 
> 
> -----Original Message-----
> From: Markus Mützel <markus.muetzel@gmx.de> 
> Sent: woensdag 22 september 2021 09:36
> To: David Remans <D.Remans@tradinco.com>
> Cc: help@octave.org
> Subject: RE: Octave does not start
> 
> Am 21. September 2021 um 19:48 Uhr schrieb "David Remans":
> > > Since you are writing about "octave.vbs", I am assuming you are using 
> > > Windows. Which version of it?
> > [DRE] Yes, Windows 10
> >
> > > How did you install Octave?
> > [DRE] I ran the installer .exe file: octave-6.2.0-w64-installer.
> 
> Did you install for all users (i.e. in "C:\Program Files\...") or for the 
> current user only (i.e. in your AppData folder)?
>               [DRE] First I installed for all users, now I installed for 
> current user only, I get the same behaviour.
> Depending on the answer to that question, you'll find an "octave.bat" file at 
> a path like this one:
> "C:\Program Files\GNU Octave\Octave-6.3.0\mingw64\bin\octave.bat"
> 
> Does executing that .bat file (e.g. by double-clicking) open a command line 
> interface with an Octave prompt?
>               [DRE] Yes this works fine, I get a command Prompt with text in 
> it

That is good news. So, Octave per se seems to work. But for some reason the GUI 
doesn't start.

Some GUI related packages have been updated in our build system for Windows 
since Octave 6.3.0 has been released. Could you please check if a nightly build 
from octave.space works for you?
https://buildbot.octave.space/#/download


> Additionally, you'll find the .vbs file (that looks like it's not doing the 
> right thing for you) at a path similar to this one:
> "C:\Program Files\GNU Octave\Octave-6.3.0\octave.vbs"
> 
> Does executing that .vbs file directly (instead of through the link in the 
> start menu) open the Octave GUI for you?
>               [DRE] No it does not solve the problem
> > > Does starting the CLI work?
> > When I select CLI I get a command screen, with a blinking cursor
> 
> Do I understand correctly? You only see a command screen with blinking 
> cursor? No text at all?
>               [DRE]   Yes I do not see any text on my screen

So, there might be two unrelated issues here:
1. The GUI doesn't open.
2. The .vbs file doesn't open the CLI.


> > > Which anti-virus software are you using? Does it work if you 
> > > temporarily(!) de-activate that software?
> > Windows defender, I tried opening Octave after disabling the app & browser 
> > control and the real time virus & threst protection, but so far no success.
> > > Please check if your anti-virus software quarantined some of Octave's 
> > > files.
> > I checked, but did not find any quaranteened files
> > > Are you on an administrated machine? Do the policy settings allow 
> > > executing .vbs files?
> > I do use a administrated machine,  I do not have a policy in place to 
> > prevent .vbs scripts from running.
> 
> Some users reported that they had problems when Octave was installed in paths 
> containing spaces because short file names were deactivated for them. (IIRC, 
> they were able to start Octave though.) Anyway, could you please open a CMD 
> prompt, execute the following commands and show what you see? Might need to 
> be adapted if Octave was installed to a different location:
> C:
> cd "\Program Files"
> dir /x GNU*
>               [DRE] I did, see attached (second) screenshot
> 

If I'm not mistaken, you forgot to add the asterisk at the end of the last 
command. Could you please execute the command as shown?

At the installation location that you've shown in the last screenshot, the 
corresponding commands would be:
C:
cd "\Users\d.remans\AppData\Local\Programs"
dir /x GNU*


Attachment: Screenshot 2021-09-22 112923.png
Description: Screenshot 2021-09-22 112923.png

Attachment: Open CLI from start menu Screenshot 2021-09-22 121117.png
Description: Open CLI from start menu Screenshot 2021-09-22 121117.png

Attachment: GNU fiel Screenshot 2021-09-22 121834.png
Description: GNU fiel Screenshot 2021-09-22 121834.png

Attachment: GNU.txt
Description: GNU.txt

Attachment: qt.txt
Description: qt.txt


reply via email to

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