ubuntu20.04 ROS noetic
Wanted to use
$ rosrun tf view_frames
then
Listening to /tf for 5.0 seconds
Done Listening
b'dot - graphviz version 2.42.3 (0)\n'
Traceback (most recent call last):
File "/opt/ros/melodic/lib/tf/view_frames", line 119, in <module>
generate(dot_graph)
File "/opt/ros/melodic/lib/tf/view_frames", line 89, in generate
m = r.search(vstr)
TypeError: cannot use a string pattern on a bytes-like object
Simply adding the .decode(‘utf-8’) to
m = r.search(vstr.decode('utf-8'))
fixed it.
https://github.com/ros/geometry/pull/193
https://github.com/ros/geometry/issues/201