-
Notifications
You must be signed in to change notification settings - Fork 301
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
macOS 12 Arm M1 MAX script aborts #768
Comments
Does this problem happen with Bleak 0.14.2? |
Duplicate of #761. I suppose we must not have this in the troubleshooting section of the docs. |
macOS 12.2.1, i see that macos12.3 is a beta version not official released :( |
|
This documents a couple of common macOS issues. Fixes #768
This documents a couple of common macOS issues. Fixes #768
I have this exact same issue, but am running with latest iTerm on the latest MacOS M1 13.2 AND have granted permissions to iTerm to access bluetooth... Similarly tests that were running in Github Actions on a MacOS image are now failing (no code change, likely an OS update as I have it configured to run against MacOS-latest). bleak==0.19.5 What I find interesting is results are different based on the Python Version running in MacOS:
Commenting out Have you noticed this with anyone else? |
I'm using Python 3.11.1 on M1 (Ventura 13.1) and the sample code runs for me. |
bluetoothctl -v
) in case of Linux: -Description
I would like to run the program on the new architecture - macOS 12 ARM M1, unfortunately the program crashes. It works correctly on WIN10 and macOS Intel.
What I Did
In order to locate the error I try to run an example from the repository - disconnect_callback.py. In the example I changed only the debug level (line 7):
Running the example on macOS ARM M1 (standard, not MAX) then I get the message:
The program supposedly works, but it does not find any device, even though there are a lot of devices with BLE around. I have seen similar problems that are solved by migrating to the latest version of the library, tomorrow i will update library, but...
I am now trying to run the same example on macOS 12 ARM M1 MAX:
In this case, the program crashes immediately. You can see that the program starts because the DEBUG log is displayed, but after a while it is aborted without any message. And it's strange, different behavior than before - I couldn't find a similar issues on the forum.
I found on the forum that macOS 12 needs a library update - fix in version 0.14.0 and higher but script running on MAX version is aborted immediately ?
If I am duplicating the problem I apologize but I have limited access to these two machines for testing so I would like to make sure if it is the fault of the library version possibly try something new. Tomorrow I will update the library to the latest version and see if it worked.
The text was updated successfully, but these errors were encountered: