Closed russkel closed 2 years ago
I have the same problem using noetic :
Traceback (most recent call last): File "/opt/ros/noetic/lib/python3/dist-packages/rqt_graph/ros_graph.py", line 414, in _save_dot handle.write(self._current_dotcode) TypeError: write(self, Union[QByteArray, bytes, bytearray]): argument 1 has unexpected type 'str'
FWIW, a hacky quick fix that worked for me:
Change the line that writes the data (see below) to handle.write(bytes(self._current_dotcode, 'utf-8'))
PR #62 looks like it will fix this.
I just click Save as DOT graph when there is two nodes and a handful of edges on the display.
ros-galactic-rqt-graph/now 1.2.0-2focal.20210521.025816 amd64 [installed,local]