Skip to content

Include macOS instructions in the exception message when Rosetta 2 is missing/needed #3466

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

Closed
mdmintz opened this issue Feb 1, 2025 · 1 comment · Fixed by #3467
Closed
Assignees
Labels
enhancement Making things better UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@mdmintz
Copy link
Member

mdmintz commented Feb 1, 2025

Include macOS instructions in the exception message when Rosetta 2 is missing/needed


When using UC Mode / CDP Mode on an Apple silicon Mac without Rosetta 2 installed, users may encounter the following error message:
"Bad CPU type in executable".

That's an easy fix, as seen in: https://apple.stackexchange.com/a/408379/607628.

Rather than forcing users to look up what "Bad CPU type in executable" means, (#2558 (comment)), the error message should just display the instructions for fixing the issue:

softwareupdate --install-rosetta

And the exception message should also mention the https://apple.stackexchange.com/a/408379/607628 link so that the situation can be explained clearly for anyone interested in the details.

@mdmintz mdmintz added enhancement Making things better UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Feb 1, 2025
@mdmintz mdmintz self-assigned this Feb 1, 2025
@mdmintz
Copy link
Member Author

mdmintz commented Feb 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making things better UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant