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

Official 1.8 binaries fail to open in macos - error -1703 #44690

Closed
pablosanjose opened this issue Mar 21, 2022 · 23 comments
Closed

Official 1.8 binaries fail to open in macos - error -1703 #44690

pablosanjose opened this issue Mar 21, 2022 · 23 comments
Labels
system:mac Affects only macOS

Comments

@pablosanjose
Copy link
Contributor

The official 1.8 beta1 binaries downloaded from julialang.org/downloads fail to open in macos 12.3. They worked fine in 12.2. Both the Apple Silicon (on an M1 Macbook Pro) and the Intel (on an Intel iMac) binaries fail with the same error if Terminal was already running: The application “Terminal” can’t be opened. -1703. If Terminal was not running, it will launch, but will not initiate a Julia session.

Launching julia from the command line instead of the .app works fine.

This problem does not occur with v1.7.

(Thanks Sven-Erik Ekström for reproducing on Slack)

@pablosanjose
Copy link
Contributor Author

Possibly related: #43111

@gbaraldi
Copy link
Member

This is a macos bug on applescript, https://forum.keyboardmaestro.com/t/open-with-finder-applescript-bug-in-macos-12-3/26971?page=2, has other people with the same issue, we could fix it by changing our code or wait for apple to fix theirs.

@fredrikekre fredrikekre added the system:mac Affects only macOS label Mar 21, 2022
@ViralBShah
Copy link
Member

Maybe easiest to change our code - since it will keep popping up.

@gbaraldi
Copy link
Member

If there is someone more familiar with applescript this thread seems to offer a solution https://forum.latenightsw.com/t/macos-12-3-introduces-serious-fundamental-applescript-bug/3666. I'm not sure how I would adapt it. We could also just revert #43111 for now.

@ViralBShah
Copy link
Member

Pinging @Evian-Zhang in case they know what to do here. It should be ok to revert as well.

@Evian-Zhang
Copy link
Contributor

Pinging @Evian-Zhang in case they know what to do here. It should be ok to revert as well.

I think reverting is a better solution, since the former code did not depend on open command, which may be more robust.

@pablosanjose
Copy link
Contributor Author

This seems to be fixed for me with the official 1.8 beta3. I'll close. If someone still has this issue we can reopen.

@mkitti
Copy link
Contributor

mkitti commented Jun 24, 2022

I just experienced this with 1.8.0-rc1.

julia> versioninfo()
Julia Version 1.8.0-rc1
Commit 6368fdc6565 (2022-05-27 18:33 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.3.0)
  CPU: 10 × Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores

The work around is to invoke /Applications/Julia-1.8.app/Contents/Resources/julia/bin/Julia directly from a terminal.

@f-ij
Copy link

f-ij commented Aug 9, 2022

Got a new Macbook with M1 Max and encountered this issue on RC3, didn't have this on my old MacBook Pro M1.

@gbaraldi
Copy link
Member

gbaraldi commented Aug 9, 2022

@f-ij Check if you have the latest macos? it might be that

@f-ij
Copy link

f-ij commented Aug 10, 2022

@gbaraldi Thanks, that indeed turned out the be the problem!

@pablosanjose
Copy link
Contributor Author

The released version of 1.8.0 is again failing to open in latest macos (12.5.1) on an M1 Macbook Pro, due this time to an issue with code signing.

Can anybody reproduce?

Screenshot 2022-09-08 at 12 49 19

@pablosanjose pablosanjose reopened this Sep 8, 2022
@pablosanjose pablosanjose changed the title Official 1.8 beta1 binaries fail to open in macos 12.3 Official 1.8 binaries fail to open in macos Sep 8, 2022
@pablosanjose
Copy link
Contributor Author

The newly released v1.8.1 macos ARM binary seems to have fixed this. Closing.

@helpjulia
Copy link

I have same problem! M1 macbook pro macos monterey 12.3 failed to install julia. I am really new to mac, just bought it 3 days ago and I have no clue at all. Please help!!!! thank you

@helpjulia
Copy link

The newly released v1.8.1 macos ARM binary seems to have fixed this. Closing.

could you explain to me how to get v1.8.1 macos ARM binary and how to install it? thanks

@mkitti
Copy link
Contributor

mkitti commented Sep 27, 2022

Download the file next to "macOS ARM (M-series Processor)" on the following page.

https://julialang.org/downloads/

Here is a direct link:
https://julialang-s3.julialang.org/bin/mac/aarch64/1.8/julia-1.8.1-macaarch64.dmg

@helpjulia
Copy link

helpjulia commented Sep 28, 2022 via email

@cbaretzky
Copy link

cbaretzky commented Nov 15, 2022

Still a problem with 1.8.2 from 2022-09-29 on m1. Needs to be allowed manually in MacOS.

Downloaded from https://julialang-s3.julialang.org/bin/mac/aarch64/1.8/julia-1.8.2-macaarch64.dmg

@DilumAluthge DilumAluthge reopened this Nov 15, 2022
@pablosanjose
Copy link
Contributor Author

pablosanjose commented Nov 15, 2022

Cannot reproduce in macos 12.6.1 in an m1-max macbook pro. The official Julia 1.8.2 just asks "This is an app downloaded from the Internet. Do you want to open it?", but it allows to click "yes".

@mkitti
Copy link
Contributor

mkitti commented Nov 15, 2022

Cannot reproduce in macos 12.6.1 in an m1-max macbook pro. The official Julia 1.8.2 just asks "This is an app downloaded from the Internet. Do you want to open it?", but it allows to click "yes".

This was also my recent experience.

@ymer
Copy link

ymer commented Feb 18, 2023

I have the problem too. When I click yes to opening it, it opens a bunch of text with TextEdit.app. Mac M1 Ventura 13.1

@pablosanjose
Copy link
Contributor Author

Again, I cannot reproduce. Ventura 13.2.1, M1 Max. Might you perhaps have an issue with the configuration of your Terminal.app?

@pablosanjose
Copy link
Contributor Author

Since the original error "-1703" was resolved I will close this now. Feel free to open another issue with more details about your case.

@pablosanjose pablosanjose changed the title Official 1.8 binaries fail to open in macos Official 1.8 binaries fail to open in macos - error -1703 Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:mac Affects only macOS
Projects
None yet
Development

No branches or pull requests