We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Required Info:
I have a test that is failing as part of this PR (RobotWebTools/rosbridge_suite#886) when I try to instantiate an action server, noting that:
colcon test
ament_add_pytest_test
Can't seem to figure out why this would be the case, so figured I'd elevate it here? Thank you!
The code:
from example_interfaces.action import Fibonacci class MyClass: def __init__(self, node): self.action_server = ActionServer( node, # Just an rclpy.Node Fibonacci, "/fibonacci_action_1", self.execute_callback, )
The error:
self.action_server = ActionServer( /opt/ros/rolling/lib/python3.10/site-packages/rclpy/action/server.py:264: in __init__ self._logger = self._node.get_logger().get_child('action_server') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <rclpy.impl.rcutils_logger.RcutilsLogger object at 0x7f730bfe9270> name = 'action_server' def get_child(self, name): if not name: raise ValueError('Child logger name must not be empty.') if self.name: # Prepend the name of this logger > _rclpy.rclpy_logging_rosout_add_sublogger(self.name, name) E RuntimeError: Failed to call rcl_logging_rosout_add_sublogger
Should not raise an exception.
Raises an exception.
The text was updated successfully, but these errors were encountered:
Seems the issue originates from #982, whereas the exception comes from #1084
Sorry, something went wrong.
@iuhilnehc-ynos can you take a look at this?
iuhilnehc-ynos
Successfully merging a pull request may close this issue.
Bug report
Required Info:
Steps to reproduce issue
I have a test that is failing as part of this PR (RobotWebTools/rosbridge_suite#886) when I try to instantiate an action server, noting that:
colcon test
(which in turn usesament_add_pytest_test
CMake capability), but not if I run it directly using PythonCan't seem to figure out why this would be the case, so figured I'd elevate it here? Thank you!
The code:
The error:
Expected behavior
Should not raise an exception.
Actual behavior
Raises an exception.
The text was updated successfully, but these errors were encountered: