Robotics StackExchange | Archived questions

Problem with rosbag reindex

Hi, I have a bagfile which was being written while the computer was shutdown. I ended up with an ".active" bag, which I ran through rosbag reindex as suggested by the troubleshooting wiki. Unfortunately, if I do an rosbag info on the reindexed bag I get the following error trace:

File "/opt/ros/diamondback/stacks/roscomm/tools/rosbag/src/rosbag/bag.py", line 414, in _str__ startstamp = min([index[ 0].time.tosec() for index in self.connectionindexes.itervalues()]) IndexError: list index out of range

If I reindex a second time the bag is empty.

Chris

Asked by Chris on 2011-09-08 06:49:59 UTC

Comments

I'd suggest taking this to the ros-users mailing list. (This is probably the first time anybody's ever been told to move to the mailing list, rather than from the mailing list to answers) I'd suggest having the .bag posted somewhere downloadable, too.

Asked by Mac on 2011-09-09 02:12:11 UTC

Answers