FAQ: Difference between revisions

Jump to navigation Jump to search
1,058 bytes added ,  21 August 2020
→‎Octave does not start: some notes about vbs script checking
(→‎MS Windows: Add solution about script execution prohibition.)
(→‎Octave does not start: some notes about vbs script checking)
Line 93: Line 93:
** '''Solution:''' Remove/Uninstall all existing Octave versions.  Restart the system.  Install GNU Octave again.
** '''Solution:''' Remove/Uninstall all existing Octave versions.  Restart the system.  Install GNU Octave again.
* Permission errors.
* Permission errors.
** '''Solution 1:''' Consult your malware detection (a.k.a. AntiVirus) software, if files are blocked.
: Octave on windows uses VBS scripts to start the program.  You can test whether your system is blocking VBS scripts by doing the following:
** '''Solution 2:''' Did you install Octave on a network-drive?  Do you have the execution permissions?
# Using Notepad or another text editor, create a text file containing only the text: 
** '''Solution 3:''' Is your computer managed by your company?  Does your administrator prohibit script execution?
    msgbox("This is a test script, Click OK to close")
# save the file on your Desktop with the name ''testscript.vbs'' (be sure that the editor didn't end it in .txt or .vbs.txt.)
# double click the file.  If scripts can run, a popup window will appear with that message.
# try moving the file to another location, such as a ''C:\temp folder'', and the main Octave folder containing ''octave.vbs'' and see if it runs.
# if it doesn't run in any of those locations, then scripting appears to be disabled or blocked on your system. If it runs in some places but not others, there there may be other security permissions errors to solve. If it runs in the same folder as ''octave.vbs'', but directly double-clicking on ''octave.vbs'' does not start the program, then there appears to be some problem other than script permissions.
:* '''Solution 1:''' Consult your malware detection (a.k.a. AntiVirus) software, if files are blocked.
:* '''Solution 2:''' Did you install Octave on a network-drive?  Do you have the execution permissions?
:* '''Solution 3:''' Is your computer managed by your company?  Does your administrator prohibit script execution?


==I do not see any output of my script until it has finished?==
==I do not see any output of my script until it has finished?==
153

edits

Navigation menu