Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad behaviour when APL could not be spawned #308

Closed
abrudz opened this issue Nov 30, 2017 · 1 comment
Closed

Bad behaviour when APL could not be spawned #308

abrudz opened this issue Nov 30, 2017 · 1 comment
Labels
1h Small issue est. to take less than 1 hour enhancement
Milestone

Comments

@abrudz
Copy link
Member

abrudz commented Nov 30, 2017

Describe the issue you are having

When RIDE fails to spawn an interpreter, the user gets this message box:
image
Seven seconds later, or when the user presses OK (whichever happens later), the following message box appears:
image
The second box appears no matter what state RIDE is in, and can therefore be very out of context, thus confusing the user.

The user is given no further explanation as to what happened. A single explanatory message would be much better.

Note: If the interpreter is missing, a proper explanatory message is given:
image

Did you connect to an already running interpreter or start the interpreter from RIDE?

N/A

How do you reproduce the issue?

Find a dyalog.exe.
Right-click > Properties > Compatibility > ☑ Run this program as an administrator Apply
Start RIDE (not as Administrator)
Select that dyalog.exe START

Paste the contents of Help → About (Shift+F1)

IDE:
Version: unknown
Platform: Win32
Date: unknown
Git commit: unknown
Preferences:{
"floatOnTop":"1",
"floating":"1",
"ime":"0",
"indentComments":"1",
"kbdLocale":"en_US",
"keys":"{"AC":["Ctrl-,"],"AO":["Ctrl-'"],"BP":["Ctrl-."],"DO":["Ctrl-;"],"FX":["Ctrl-S"],"MA":["Ctrl-G"],"NEW":[],"NX":["Ctrl-N"],"PV":["Ctrl-P"],"RP":["Ctrl-R"]}",
"lbarOrder":"← +-×÷*⍟⌹○!? |⌈⌊⊥⊤⊣⊢ =≠≤<>≥≡≢ ∨∧⍲⍱ ↑↓⊂⊃⊆⌷⍋⍒ ⍳⍸∊⍷∪∩~ /\⌿⍀ ,⍪⍴⌽⊖⍉ ¨⍨⍣.∘⍤@ ⍞⎕⍠⌸⌺⌶⍎⍕ ⋄⍝→⍵⍺∇⍬& ¯",
"menu":"# see below for syntax\n\nDyalog {mac}\n About Dyalog =ABT\n -\n Preferences =PRF\n - \n &Quit =QIT\n&File {!browser}\n New &Session =NEW\n &Connect... =CNC\n - {!mac}\n &Quit =QIT {!mac}\n&Edit\n Undo =UND {!browser}\n Redo =RDO {!browser}\n - {!browser}\n Cut =CT {!browser}\n Copy =CP {!browser}\n Paste =PT {!browser}\n Select All =SA {mac}\n - {!mac&&!browser}\n Preferences =PRF {!mac}\n&View\n Show Language Bar =LBR\n Show Workspace Explorer =WSE\n Show Debug =DBG\n Floating Edit Windows =FLT\n Editors on Top =TOP {!browser}\n Line Wrapping in Session =WRP\n - {!browser}\n Increase Font Size =ZMI {!browser}\n Decrease Font Size =ZMO {!browser}\n Reset Font Size =ZMR {!browser}\n - {!browser}\n Toggle Full Screen {!browser}\n&Window\n Close All Windows =CAW\n&Action\n Edit =ED\n Trace =TC\n Weak Interrupt =WI\n Strong Interrupt =SI\n&Help\n Dyalog Help =http://help.dyalog.com/\n Documentation Centre =http://dyalog.com/documentation.htm\n &Idioms =http://miserver.dyalog.com/Examples/Applications/Idiom_Search.mipage?nowrapper=1\n -\n Dyalog Website =http://dyalog.com/\n MyDyalog =https://my.dyalog.com/\n -\n Dyalog Forum =http://www.dyalog.com/forum\n - {!mac}\n About =ABT {!mac}\n\n# Syntax:\n# &x access key, alt+x\n# =CMD command code; some are special:\n# LBR FLT WRP TOP WSE render as checkboxes\n# =http://example.com/ open a URL\n# {} conditional display, a boolean expression\n# operators: && || ! ( )\n# variables: browser mac win\n# - separator (when alone)\n# # comment\n\n# The =PRF ("Preferences") menu item must be present.",
"otherExe":"C:\Program Files\Dyalog\Dyalog APL-64 17.0 Unicode\dyalog.exe",
"selectedExe":"C:\Program Files (x86)\Dyalog\Dyalog APL 16.0 Classic\dyalog.exe",
"squiggleTips":"1",
"title":"RIDE {RIDE_VER} - {WSID} {VER}",
"zoom":"4"
}

Interpreter:
Version: unknown
Platform: unknown
Edition: unknown
Date: unknown

@abrudz abrudz self-assigned this Aug 3, 2022
@abrudz
Copy link
Member Author

abrudz commented Jul 19, 2023

As of 4.5.3807 it now shows
image
which really is no better. Make it say "Failed to start interpreter" or something similar.

@abrudz abrudz removed their assignment Jul 19, 2023
@abrudz abrudz added this to the RIDE 4.5 milestone Aug 8, 2023
@abrudz abrudz added the 1h Small issue est. to take less than 1 hour label Aug 8, 2023
e9gille added a commit that referenced this issue Aug 11, 2023
@e9gille e9gille closed this as completed Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1h Small issue est. to take less than 1 hour enhancement
Projects
None yet
Development

No branches or pull requests

2 participants