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
I ran into an error in diagnostic_updater/diagnostic_updater/_diagnostic_updater.py when setting Updater.verbose to True. I get the following error.
Traceback (most recent call last):
File "/workspaces/humble/install/argos_supervisor_py/lib/argos_supervisor_py/supervisor", line 33, in<module>
sys.exit(load_entry_point('argos-supervisor-py', 'console_scripts', 'supervisor')())
File "/workspaces/humble/build/argos_supervisor_py/argos_supervisor_py/supervisor_node.py", line 280, in main
executor.spin()
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 279, in spin
self.spin_once()
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 764, in spin_once
self._spin_once_impl(timeout_sec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 761, in _spin_once_impl
future.result()
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/task.py", line 94, in result
raise self.exception()
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/task.py", line 239, in __call__
self._handler.send(None)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 418, in handler
await call_coroutine(entity, arg)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 332, in _execute_timer
await await_or_execute(tmr.callback)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 107, in await_or_execute
return callback(*args)
File "/workspaces/humble/install/diagnostic_updater/local/lib/python3.10/dist-packages/diagnostic_updater/_diagnostic_updater.py", line 279, in update
'Non-zero diagnostic status. Name: %s, status\TypeError: %i format: a real number is required, not bytes
I ran into an error in
diagnostic_updater/diagnostic_updater/_diagnostic_updater.py
when settingUpdater.verbose
toTrue
. I get the following error.The issue is within the following lines.
diagnostics/diagnostic_updater/diagnostic_updater/_diagnostic_updater.py
Lines 278 to 281 in c8941bb
Because
status.level
is abyte
, but%i
requires a number. Explicitly converting the byte to a string and using%s
would fix this issue.I'm more than happy to open a PR with these changes 😄
The text was updated successfully, but these errors were encountered: