line 119, in <module> 6 generate(dot_graph) 7 File "/opt/ros/melodic/lib/tf/view_frames", line 89, in generate 8 m = r.search(vstr) 9 TypeError: cannot use a string pattern on
1 sudo vim /opt/ros/noetic/lib/tf/view_frames 然后打开的VIM编辑中修改代码 1m = r.search(vstr.decode('utf-8'))