Closed MichaelGrupp closed 2 years ago
Previous error was:
rosrun tf view_frames
Listening to /tf for 5.0 seconds
Done Listening
b'dot - graphviz version 2.43.0 (0)\n'
Traceback (most recent call last):
File "/opt/ros/noetic/lib/tf/view_frames", line 119, in <module>
generate(dot_graph)
File "/opt/ros/noetic/lib/tf/view_frames", line 89, in generate
m = r.search(vstr)
TypeError: cannot use a string pattern on a bytes-like object
related to #201, see my comment there.
Should be combined with #217 IMO.
It crashed in Python 3 (Noetic) because of a missing byte string conversion. Given that this code block had some other potentials for bugs and that graphviz 2.8 is from 2006, it should be safe to simplify it to a single
check_call
.