ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As this bug has still not been fixed, below is a workaround that solves the bug.

Locate the file "migration.py" on your computer

e.g. /opt/ros/groovylib/python2.7/dist-packages/rosbag/migration.py

After the line "import genpy" write

import roslib

Find all instances of the line

sys_class = genpy.message.get_message_class(sn.new_class._type)

and replace them with

sys_class = roslib.message.get_message_class(sn.new_class._type)

Rosbag migration should now function as expected