-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
mas exception #370
Comments
What does |
Yep, it crashes. I have macOS 10.14
I am wondering if this is an expected behavior for bundle to try to sign in with mas even though it is already signed in? |
@shpoont That's the main bug, then.
It's not expected behaviour. What's the output of |
It shows that I am not signed in. I found that there is an issue opened in mas repo mas-cli/mas#172 |
mas-cli/mas#164 details that Apple removed an API in 10.13, but the workaround was to login to the App Store via the GUI. However, that workaround no longer works in 10.14. @MikeMcQuaid Should we considering disabling |
We could alternatively put in a flag or envvar that skips the signin step as a workaround with a warning that the installation won't work if not already signed in. It'd skip this step: homebrew-bundle/lib/bundle/mac_app_store_installer.rb Lines 21 to 27 in bebdc64
|
It's not obvious to me what the solution is here. I'm signed in on Mojave but
Why would this be a flag and not the default? |
In the short term, it probably should be the default. For the long term, though, does bundle have the instrumentation to determine how often Maybe the Thoughts? |
We could also catch the exception being raised from |
How quickly should we address this? I could take a look at it in theory only, because I've not yet moved to Mojave and probably won't for another weekend or two. |
I tend to do OS version stuff in a VM which allows isolation and to fix bugs in specific OS versions that you don't run. In terms of timing, I think that comes down to how widespread the In the same breath though, |
mojave is at 10% of the user base but only 0.5%
@MikeMcQuaid Can Homebrew's analytics answer this?
|
This is a bit more general, but as an end-user, the best solution for me would be that when bundle is running, it would not stop and exit because of specific package installation fails. Exactly like it does with cask packages. |
Totally agree with @shpoont, it would be much better than failing with mas error. At least many setup scripts will continue to work. |
That crash has been happening since High Sierra changed the private API that mas used to authenticate. See mas-cli/mas#164 for details 😞 |
FYI, the issue where 'mas account' always returns an error and says not signed in should be resolved in 1.4.3 |
@phatblat What's the behavior now? |
mikebook $ mas signin mkmcqd@me.com
Error: The 'signin' command has been disabled on this macOS version. Please sign into the Mac App Store app manually.
For more info see: https://github.com/mas-cli/mas/issues/164 |
bundle crashes when trying to install mas packages, below is an example for Aphetamine app:
mas works outside bundle:
The text was updated successfully, but these errors were encountered: