Skip to content
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

Lego City Hub Pybricks firmware installation fails for no reason GATT operation failed for unknown reason. on Chrome Windows 11 #1196

Closed
mewohenlo opened this issue Aug 4, 2023 · 6 comments
Labels
OS: Windows 10 Issues that only occur on Windows 10 software: pybricks-code Issues with https://code.pybricks.com application topic: bluetooth Issues involving bluetooth

Comments

@mewohenlo
Copy link

Describe the bug
What is the problem?
So the error message pops up every time I have tried only when the firmware installation percentage reaches 50%

To reproduce
Steps to reproduce the behaviour:

  1. Follow all the steps to the city hub firmware installation
  2. Release the green power button on the hub.
  3. Reaches 50%
  4. See error: GATT operation failed for unknown reason.

Expected behaviour
What did you expect to happen instead?
For it to continue until it completes and I can program

Screenshots
There is a saying that a picture is worth 1000 words. Screenshots help to identify and solve problems.
Screenshot 2023-08-04 174223

@mewohenlo mewohenlo added the triage Issues that have not been triaged yet label Aug 4, 2023
@mewohenlo mewohenlo reopened this Aug 4, 2023
@mewohenlo
Copy link
Author

no still going

@dlech dlech added topic: bluetooth Issues involving bluetooth software: pybricks-code Issues with https://code.pybricks.com application OS: Windows 10 Issues that only occur on Windows 10 and removed triage Issues that have not been triaged yet labels Aug 4, 2023
@dlech
Copy link
Member

dlech commented Aug 4, 2023

Make sure you have everything unplugged from the ports and you have fully charged batteries.

If you are still having trouble after that...

Are you using code.pybricks.com or beta.pybricks.com?

To troubleshoot the issue, we need logs as described in #270 or you can try reaching out to Microsoft as described in #918 (comment).

You could also try a different Bluetooth adapter. Some work better with Windows than others.

If you have another device with a different supported OS (Android, ChromeOS, Mac), you could try that too.

@tetaplaun
Copy link

tetaplaun commented May 24, 2024

Same problem here. Using a TP Link BT adapter on Win11 and code.pybricks.com. Any further suggestions?

EDIT:
Sorry, solved by this.

@laurensvalk
Copy link
Member

If you have time, the best way to help us solve it is gather logs as described at the bottom of this post. Thanks!

@tetaplaun
Copy link

If you have time, the best way to help us solve it is gather logs as described at the bottom of this post. Thanks!

Solved by this
The instructions tell you to hold the button until it say to release it. The message appears too late (for me), therefore causing the problem. After reading the mentioned comment, it works.

@dlech
Copy link
Member

dlech commented Sep 8, 2024

Hopefully fixed by pybricks/pybricks-code@236ad56

@dlech dlech closed this as completed Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Windows 10 Issues that only occur on Windows 10 software: pybricks-code Issues with https://code.pybricks.com application topic: bluetooth Issues involving bluetooth
Projects
None yet
Development

No branches or pull requests

4 participants