updated update: :mw1010:~/Downloads/j901/jqt.app$ cat ~/Downloads/j901/jqt.app/Contents/MacOS/apprun #!/bin/sh open "`dirname "$0"`/../../../bin/jqt.command"
I added the word "open" here, after looking at jcon.app ... This fixed the problem. It does open a new (and annoying) terminal window, though, even with open -j though... (the -j is meant to hide it.) On Tue, Jan 14, 2020 at 7:16 PM Michal Wallace <michal.wall...@gmail.com> wrote: > well, for what it's worth, removing all those quarantine flags made no > difference. > > If I `sudo tail -f /private/var/log/system.log` and then try `open > ./jqt.app` i see this in the log output: I can't tell if the 126 is from > launchd or apprun. > > Jan 14 19:07:30 michal com.apple.xpc.launchd[1] > (com.apple.xpc.launchd.oneshot.0x1000004a.apprun[82148]): Service exited > with abnormal code: 126 > > I'm on Catalina 10.15.2 > > > On Tue, Jan 14, 2020 at 6:55 PM Michal Wallace <michal.wall...@gmail.com> > wrote: > >> I get the same error as Brian on my mac : >> >> :mw1010:~/Downloads/j901$ ./macos-fix.command >> :mw1010:~/Downloads/j901$ ./updatejqt.sh >> Updating server catalog... >> Installing 1 package >> Downloading base library... >> Installing base library... >> Done. >> Installing JQt binaries... >> Finished install of JQt binaries. >> Installing Qt library... >> Finished install of Qt library. >> Exit and restart J using the jqt icon >> :mw1010:~/Downloads/j901$ ./macos-fix.command >> :mw1010:~/Downloads/j901$ open ./jqt.app >> LSOpenURLsWithRole() failed with error -10810 for the file >> /Users/michal.wallace/Downloads/j901/jqt.app. >> >> Oddly, this works fine: >> >> :mw1010:~/Downloads/j901$ ./jqt.app/Contents/MacOS/apprun & >> >> But more importantly, the problem also happens for me in j807, which used >> to work fine on this very machine: >> >> :mw1010:~/j64-807$ open ./jqt.app >> LSOpenURLsWithRole() failed with error -10810 for the file >> /Users/michal.wallace/j64-807/jqt.app. >> >> I think the problem might be that macos-fix.command doesn't go far enough: >> >> :mw1010:~/Downloads/j901$ find . | xargs xattr | grep quarantine >> .: com.apple.quarantine >> ./tools: com.apple.quarantine >> ./tools/regex: com.apple.quarantine >> ./tools/regex/licence.txt: com.apple.quarantine >> ./tools/regex/libjpcre2.dylib: com.apple.quarantine >> ./bin: com.apple.quarantine >> ./bin/profile.ijs: com.apple.quarantine >> ./bin/installer.txt: com.apple.quarantine >> ./bin/icons: com.apple.quarantine >> ./bin/icons/jgreen.png: com.apple.quarantine >> ./bin/icons/jgreen.icns: com.apple.quarantine >> ./bin/icons/jred.icns: com.apple.quarantine >> ./bin/icons/jyellow.ico: com.apple.quarantine >> ./bin/icons/favicon.ico: com.apple.quarantine >> ./bin/icons/app.png: com.apple.quarantine >> ./bin/icons/jgray.ico: com.apple.quarantine >> ./bin/icons/jblue.icns: com.apple.quarantine >> ./bin/icons/jblue.ico: com.apple.quarantine >> ./bin/icons/jred.ico: com.apple.quarantine >> ./bin/icons/jyellow.icns: com.apple.quarantine >> ./bin/icons/jyellow.png: com.apple.quarantine >> ./bin/icons/jgreen.ico: com.apple.quarantine >> ./bin/icons/jgray.png: com.apple.quarantine >> ./bin/icons/jblue.png: com.apple.quarantine >> ./bin/icons/jgray.icns: com.apple.quarantine >> ./bin/icons/jred.png: com.apple.quarantine >> ./bin/profilex_template.ijs: com.apple.quarantine >> ./addons: com.apple.quarantine >> ./addons/ide: com.apple.quarantine >> ./addons/ide/jhs: com.apple.quarantine >> ./addons/ide/jhs/demo: com.apple.quarantine >> ./addons/ide/jhs/misc: com.apple.quarantine >> ./addons/ide/jhs/spx: com.apple.quarantine >> ./addons/ide/jhs/app: com.apple.quarantine >> ./addons/ide/jhs/config: com.apple.quarantine >> ./addons/ide/jhs/js: com.apple.quarantine >> ./addons/ide/jhs/js/handsontable: com.apple.quarantine >> ./addons/ide/jhs/js/codemirror: com.apple.quarantine >> ./addons/ide/jhs/js/codemirror/util: com.apple.quarantine >> ./addons/ide/jhs/js/codemirror/j: com.apple.quarantine >> ./addons/ide/jhs/js/jquery: com.apple.quarantine >> ./addons/ide/jhs/js/jquery/smoothness: com.apple.quarantine >> ./addons/ide/jhs/js/jquery/smoothness/images: com.apple.quarantine >> ./addons/ide/jhs/js/webgl: com.apple.quarantine >> ./addons/ide/jhs/js/d3: com.apple.quarantine >> ./addons/ide/jhs/js/jsoftware: com.apple.quarantine >> ./addons/ide/jhs/cojhs: com.apple.quarantine >> ./macos-fix.command: com.apple.quarantine >> ./updatejqt.sh: com.apple.quarantine >> ./system: com.apple.quarantine >> ./system/license: com.apple.quarantine >> ./system/license/pcre2: com.apple.quarantine >> ./system/util: com.apple.quarantine >> ./system/config: com.apple.quarantine >> ./system/main: com.apple.quarantine >> ./system/defs: com.apple.quarantine >> ./updateje.sh: com.apple.quarantine >> ./readme.txt: com.apple.quarantine >> >> >> >> >> >> >> >> >> On Tue, Jan 14, 2020 at 5:37 PM Brian Schott <schott.br...@gmail.com> >> wrote: >> >>> Julian, >>> >>> There is no file bin/jqt but when I ran "open bin/jqt" I got the >>> following >>> STARTLING error message in a new Terminal window. >>> >>> Last login: Tue Jan 14 17:29:12 on ttys009 >>> server:~ brian$ /Users/brian/j901/bin/jqt ; exit; >>> Sorry, "jqt" can not be run on this version of macOS. Qt requires macOS >>> 10.12.0 or later, you have macOS 10.11.6. >>> logout >>> Saving session... >>> ...copying shared history... >>> ...saving history...truncating history files... >>> ...completed. >>> >>> [Process completed] >>> >>> When I instead issue "open jqt.app" I get the error you mentioned >>> earlier: >>> server:j901 brian$ open jqt.app >>> LSOpenURLsWithRole() failed with error -10810 for the file >>> /Users/brian/j901/jqt.app. >>> server:j901 brian$ open bin/jqt.app >>> >>> WTF? >>> >>> >>> >>> On Tue, Jan 14, 2020 at 5:26 PM Julian Fondren <jfond...@minimaltype.com >>> > >>> wrote: >>> >>> > That last command probably should've done it, but you can still try: >>> > >>> > ./macos-fix.command >>> > >>> > no "open". And do that from the directory that macos-fix.command is in. >>> > There shouldn't be any output. >>> > >>> > If that's the problem though, it should still work to start jqt >>> > directly, with >>> > >>> > bin/jqt >>> > >>> > run from the directory that macos-fix.command is in, or >>> > >>> > ./jqt >>> > >>> > in the bin directory. >>> > >>> > >>> > >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >> ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm