-
Notifications
You must be signed in to change notification settings - Fork 225
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
Errors logged in console on killing nodes via ctrl+c #623
Comments
@sloretz or at @ivanpauno any update from this? Having some issues trying to run things after shutdown since they're are no shutdown hooks. Currently I just have a Try: rclpy.spin() blah blah finally: blah blah rclpy.shutdown(). But if I try and do any exception handling I get this error as well. |
I see at least two issues.
The second issue is the _signals module being none. |
The issue seems related to https://stackoverflow.com/questions/18058730/python-attributeerror-on-del. @AlexKaravaev @twaddellberkeley could you try that? |
See #623 (comment). Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Tested on ros:rolling docker gives this
Tested on ros:foxy docker gives this
I haven't been able to reproduce this issue actually. Keeping in mind that I had opened it almost year ago, could be that it was fixed by another thing. Unless @twaddellberkeley could provide some MWE |
@AlexKaravaev @ivanpauno Apologies for the delay, have been going down the rabbit hole on an unrelated i2c issue. Let me try and do some more testing of the issue this weekend. |
Apologies for the long delay, this is the output I have now (It's been awhile since i created the error and found a workaround and not sure if I recreated it properly) Thanks! |
The report in ros2/geometry2#546 has a relatively compact reproduction of what appears to be the same issue. |
Bug report
Required Info:
Linux 0ece455f6e93 5.4.0-48-generic fix indent #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
osrf/ros2:nightly docker image
foxy
Fast-RTPS
rclpy
Steps to reproduce issue
I am launching two python nodes from launch file and then killing it via ctrl+c
Expected behavior
I guess only this should output
Actual behavior
The text was updated successfully, but these errors were encountered: