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

fix transient hint when DBus reports different signature #48

Merged
merged 1 commit into from Oct 2, 2020

Conversation

dirk-thomas
Copy link
Member

Follow up of #46. Based on this question: https://answers.ros.org/question/362449/colcon-builds-but-gives-errordbusconnectionunable-to-set-arguments/

If DBus reports the signature as susssasa{ss}i the current code results in a TypeError: Expected a string or unicode object since the hint value isn't a string / s. It does work when the signature is reported as susssasa{sv}i which allows a variant type for the hint value.

This patch uses set_hint_byte() which hopefully works around the problem.

@dirk-thomas dirk-thomas added the bug Something isn't working label Sep 28, 2020
@dirk-thomas dirk-thomas self-assigned this Sep 28, 2020
@dirk-thomas
Copy link
Member Author

@SteveMacenski Just FYI.

@dirk-thomas dirk-thomas merged commit 339cfcf into master Oct 2, 2020
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/fix-transient-diff-signature branch October 2, 2020 15:39
@dirk-thomas dirk-thomas added this to the 0.2.14 milestone Oct 2, 2020
@dirk-thomas
Copy link
Member Author

The latest comment suggests that this patch doesn't address the problem when the signature mismatches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

1 participant