Skip to content

KeyboardInterrupt exception on shutdown #104

Description

@Timple

Description

KeyboardInterrupt exception on shutdown

Expected Behavior

Clean shutdown

Actual Behavior

[relay_field-69] Traceback (most recent call last):
[relay_field-69]   File "/opt/ros/iron/lib/topic_tools/relay_field", line 33, in <module>
[relay_field-69]     sys.exit(load_entry_point('topic-tools==1.2.0', 'console_scripts', 'relay_field')())
[relay_field-69]   File "/opt/ros/iron/lib/python3.10/site-packages/topic_tools/relay_field.py", line 226, in main
[relay_field-69]     node.destroy_node()
[relay_field-69]   File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/node.py", line 1887, in destroy_node
[relay_field-69]     self.__node.destroy_when_not_in_use()
[relay_field-69] KeyboardInterrupt

To Reproduce

** Steps to reproduce the behavior, e.g.

  1. ros2 topic pub /chatter std_msgs/String "{}"
  2. ros2 run topic_tools relay_field /chatter /chatter2 std_msgs/String "{data: m.data}"
  3. Press ctrl+C
  4. Watch error

System (please complete the following information)

  • OS: Ubuntu
  • ROS 2 Distro: Iron

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions