-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Bug] Popup stating "GATT Error Unknown." during download #1468
Comments
This was also reported by: Originally posted by @Tcm0 in #1462 (comment) |
I have also seen this while working on @martynboogaarts 's laptop. Once it did occur, it was deterministic after that. We kept getting that error when we clicked Download again. Restarting the hub worked around it. |
So far I only got the issue once and it didn't happen when I tested my code for the app controlled transformation vehicle (I did at least 10 program uploads for sure). It only happened with that Technic Hub Disconnection test code |
Thanks for the additional details. Indeed, it seems to occur only occasionally.
I think this is probably a coincidence. It doesn't start running any of the Xbox controller code until after the program starts. Or, depending on what you tried, even after initializing the steering motor. |
I am trying to install firmware on boost hub, and I get above error or attached error 'something went wrong'. I have tried ten times. I tried to install official firmware twice, and that worked fine. For me this does not seem logic, since it is already paired. The process starts but I get attached error after around 10-12 seconds and the flashing on the hub stops. Is there any way for me to see additional logging about what could go wrong? Additional comment: I was able to install firmware on a city hub without problems. |
See https://github.com/orgs/pybricks/discussions/270 |
For this particular error ("The hub said something went wrong"), I think we will need Bluetooth packet logs. The console log in the browser may give a slightly better hint as to the cause though (narrows it down to 1 of 5 possibilities). |
Comment of a simple Pybricks user :
But bluetooth logging might show what is the real problem. Bert |
Impressively quick replies :-) I realised I could run pybricks from my android phone. I also used my android phone to install the original firmware again. I succeded installing pybricks firmware using my phone. And afterwards I can run a program on the hub from my Windows pc. Thanks for the suggestions on how to solve the pc problem. For now I will experiment with the code on my hub and not dig further into this problem. If you would like to have the Bluetooth packet logs, let me know. I will try to provide them. |
Yes, that wold be helpful to be able to see if this is a bug we can fix or if it is just a bad Bluetooth driver on Windows. |
(...) with the beta firmware and in the middle of running the program, before it finished downloading to the hub, I got an unexpected error message popup stating "GATT Error Unknown."
Originally posted by @ninoguba in #1467 (comment)
The text was updated successfully, but these errors were encountered: