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
Latest master, 0.5.1, 0.5.0, and most probably prior versions too
Symptoms
When canceling on loading a bag (i.e., not selecting a bag to load) the code errors out:
Traceback (most recent call last):
File "/home/moslemk/projects/catkin_ws/src/rqt_bag/rqt_bag/src/rqt_bag/bag_widget.py", line 283, in _handle_load_clicked
self._timeline._timeline_frame._layout()
File "/home/moslemk/projects/catkin_ws/src/rqt_bag/rqt_bag/src/rqt_bag/timeline_frame.py", line 392, in _layout
new_history_bottom = max([y + h for (_, y, _, h) in self._history_bounds.values()]) - 1
ValueError: max() arg is an empty sequence
Root cause
This happens due to trying to get the layout updated with no values due to invalid (none) filename:
Affected Versions
Latest master, 0.5.1, 0.5.0, and most probably prior versions too
Symptoms
When canceling on loading a bag (i.e., not selecting a bag to load) the code errors out:
Root cause
This happens due to trying to get the layout updated with no values due to invalid (none) filename:
rqt_bag/rqt_bag/src/rqt_bag/bag_widget.py
Line 279 in 059a221
Possible fix
Checking the filename prior to that line (in `_handle_load_clicked) and returning early.
The text was updated successfully, but these errors were encountered: