OWON-VDS1022 icon indicating copy to clipboard operation
OWON-VDS1022 copied to clipboard

Application won't start on macOS Ventura

Open etn406 opened this issue 1 year ago • 1 comments

Hello, I installed the macOS version on my macbook (M1 Pro, Ventura 13.3.1) but the application is not visible in the application grid, and when I try to start it manually from the command line I get this error:

$ open -a /Applications/OWON\ VDS1022.app
The application /Applications/OWON VDS1022.app cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=4101, _LSFunction=_LSOpenStuffCallLocal}

However I can start it with the launch file:

$ /Applications/OWON\ VDS1022.app/Contents/MacOS/launch
/Applications/OWON VDS1022.app/Contents/MacOS/launch: line 1: -e: command not found
env: Mac OS X, Java 17.0.6 aarch64
app dir: /Applications/OWON VDS1022.app/Contents/Resources
user dir: /Users/etn/Library/Application Support/OWON VDS1022
locale: en, fr_FR, false

And then the window shows up.

If I can run any more test / give you more logs, tell me!

etn406 avatar Apr 16 '23 23:04 etn406

The error line 1: -e: command not found is likely due to the script being launched by sh instead of bash.
Try to run bash /Applications/OWON\ VDS1022.app/Contents/MacOS/launch to see if the error is still there.
Could be an issue with the shebang, try with #!/usr/bin/env bash in the launch file.

florentbr avatar Apr 20 '23 16:04 florentbr