Closed hwoithe closed 11 months ago
Thanks @hwoithe! I think you're right, both from looking at the code and from trying it out.
I'm always hoping for contributions from users, so would you be willing to do make a PR with this fix? (Otherwise I'll do it, I suppose.)
Thank you for the fix!
The
cyclonedds ps
command occasionally encounters an exception.Exception 1
Installed version 0.10.2: https://github.com/eclipse-cyclonedds/cyclonedds-python/blob/9cec1189a3d5a1407851dfe1f40899dd4a67f52d/cyclonedds/tools/cli/discovery/main.py#L214
Current version: https://github.com/eclipse-cyclonedds/cyclonedds-python/blob/f228c5aba0286542059546d56d5117eb20827377/cyclonedds/tools/cli/discovery/main.py#L252
Exception 2
Installed version 0.10.2: https://github.com/eclipse-cyclonedds/cyclonedds-python/blob/9cec1189a3d5a1407851dfe1f40899dd4a67f52d/cyclonedds/tools/cli/discovery/main.py#L231
Current verison: https://github.com/eclipse-cyclonedds/cyclonedds-python/blob/f228c5aba0286542059546d56d5117eb20827377/cyclonedds/tools/cli/discovery/main.py#L269
Additional information
The
participants
dictionary inps_discovery
is populated with instances ofPParticipant
earlier in the function. https://github.com/eclipse-cyclonedds/cyclonedds-python/blob/9cec1189a3d5a1407851dfe1f40899dd4a67f52d/cyclonedds/tools/cli/discovery/main.py#L190I am wondering if the intention was to use
PParticipant
instead ofDParticipant
within theps_discovery
function.Software: