Ask Your Question

rqt_bag GUI does not display image messages

asked 2020-12-20 23:42:56 -0500

Ben222 gravatar image

My OS is Ubunutu 20.04 using ROS Noetic and python version Python 2.7.18 and graphic card Intel UHD Graphics 620. Given the bag file from https://open-source-webviz-ui.s3.amaz..., when I run "rqt_bag demo.bag" the gui is not displaying image messages (i.e no thumbnails on the timeline). In the terminal, I receive the following warning:

Exception in thread Thread-8:

Traceback (most recent call last):

File "/usr/lib/python3.8/", line 932, in _bootstrap_inner

File "/opt/ros/noetic/lib/python3/dist-packages/rqt_bag/", line 67, in run updated |= (self.timeline._update_index_cache(topic) > 0)

File "/opt/ros/noetic/lib/python3/dist-packages/rqt_bag/", line 838, in _update_index_cache for entry in self.scene().get_entries(topic, start_time, end_time):

File "/opt/ros/noetic/lib/python3/dist-packages/rqt_bag/", line 273, in get_entries for entry, _ in bag._mergesort(bag_entries, key=lambda entry: entry.time):

AttributeError: module 'rosbag.bag' has no attribute '_mergesort'

I'd appreciate it if you could help me out

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-01-07 09:53:50 -0500

schmaelle gravatar image

Hi, this should be the same issue stated in this Question: rqt_bag rosbag exception.

The links in my answer should therefore be a temporarily solution for you as well.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-12-20 23:42:56 -0500

Seen: 191 times

Last updated: Jan 07 '21