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
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/timeline_frame.py", line 280, in paint
self._draw_topic_histories(painter)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/timeline_frame.py", line 384, in _draw_topic_histories
self._draw_topic_history(painter, topic)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/timeline_frame.py", line 464, in _draw_topic_history
renderer.draw_timeline_segment(painter, topic, stamp_start, stamp_end, region_x_start, msg_y, region_width, msg_height)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag_plugins/image_timeline_renderer.py", line 130, in draw_timeline_segment
painter.setPen(QPen(QBrush(Qt.black)))
TypeError: QPen(): argument 1 has unexpected type 'QBrush'
Toggling the thumbnails in rqt_bag causes a crash in image_timeline_renderer.py.
Seems like the constructor of Qt.black should have Qt.black and not QBrush(Qt.black).
The text was updated successfully, but these errors were encountered:
Fixes the crash in image_timeline_renderer.py when toggling thumbnails in rqt_bag.
Seems like the constructor for QPen expects a QColor and not a QBrush.
I was getting the same issue on Ubuntu 16.4 and ROS kinectic. Since the debian package for ros-kinectic-rqt-common-pluggins is still outdated, I had to overlay a workspace to install from source.
Toggling the thumbnails in rqt_bag causes a crash in image_timeline_renderer.py.
Seems like the constructor of
Qt.black
should haveQt.black
and notQBrush(Qt.black)
.The text was updated successfully, but these errors were encountered: