-
Notifications
You must be signed in to change notification settings - Fork 153
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
Connection on ubuntu 22.04 to device not working #53
Comments
Ugly workaround:
|
Thank you for providing me these! |
Would you like to make a PR for your workaround? I might implement the full fix you mentioned later. |
Sure I can make a PR for this workaround. It delays the connection time, but it works. |
That helps. Thanks! |
PR is created to the |
I've merged that. Thanks! |
FYI: For anyone who wonders, the issue arises with the |
Issue:
Trying to connect to a device on Ubuntu 22.04 failes with the error message:
Steps to reproduce:
Connect
buttonPreliminary analysis of the issue:
Using wayland promts in an additional message from the client. This is not expected from the GUI and breaks the connection. The issue is in the function
PM3Process::connectPM3
. Setting a breakpoint in the function is a work around, because then reading the output from the command line is delayed and the stringos:
is available in the result variable.Proposed fix:
If the error message is in the
result
variable wait long until the expected string is available in the result variable.The text was updated successfully, but these errors were encountered: