Pybricksdev regularly gets stuck while uploading program
Well first of all, for PacketLogger to work on Mac OS X one needs to install a Bluetooth logging profile now so that took me a little while to figure out.
The Bluetooth logging profile is now required on macOS to use PacketLogger (same as iOS). This first started in recent macOS 14.5 seeds.
Please install the Bluetooth logging profile from: https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=macos&name=bluetooth and try this again.
https://forums.developer.apple.com/forums/thread/750801?answerId=786523022#786523022
I'm on Mac OS X (intel Sonoma 14.5), using pybricksdev version v1.0.0a50 and Python 3.10.14. It regularly happens happens that it gets stuck uploading ( pybricksdev run ble main.py --name "<hub name>"). The larger the program the more often it seems to occur (makes sense since they take longer to upload I suppose).
It doesn't seem to make a difference whether I turn off bluetooth on nearby devices or not, it seems quite random. I attached two logs, the first one got stuck at 4% and the other one at 2%, but it also happens further along sometimes.
Well first of all, for PacketLogger to work on Mac OS X one needs to install a Bluetooth logging profile now so that took me a little while to figure out.
Thanks for the tip. I updated the Bleak troubleshooting docs with this extra step.
it seems quite random.
Thanks for the logs. It looks like we have a bug in the firmware.
The Technic hub is not sending a response to one of the write requests.
Ok, do let me know if you need any other information
@dlech it works a lot better already now that I have an M3 macbook, no issues at all so far.
It looks like we have a bug in the firmware.
Hey David,
is this Bug fixed?
cu, Markus