You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rosbridge crashes with TypeError: cannot unpack non-iterable NoneType object at this line when the node details service is called with a node name that doesn't exist. In practice, I've see this happen when nodes are stopping and starting frequently and a node is shutdown just before this call is made. However, it is easier to reproduce by calling the service manually.
Should be a simple fix to check the return value is not None before unpacking it.
Description
Rosbridge crashes with
TypeError: cannot unpack non-iterable NoneType object
at this line when the node details service is called with a node name that doesn't exist. In practice, I've see this happen when nodes are stopping and starting frequently and a node is shutdown just before this call is made. However, it is easier to reproduce by calling the service manually.Should be a simple fix to check the return value is not None before unpacking it.
Steps To Reproduce
ros2 launch rosbridge_server rosbridge_websocket_launch.xml
ros2 service call /rosapi/node_details rosapi_msgs/srv/NodeDetails "node: /not_a_real_node"
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: