HELLO,
WHEN I RUN THE CORRESPONDING PACKAGE TO HUSARION TUTORIAL 2 IN GAZEBO I GET THE FOLLOWING ERROR.
I ATTACH THE LOG:
[rosout][INFO] 2021-02-03 22:33:02,559: Loading controller: joint_state_controller
[rospy.msg][ERROR] 2021-02-03 22:33:02,569: cannot deserialize message: EXCEPTION Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/msg.py”, line 223, in deserialize_messages
msg_queue.append(data.deserialize(q))
File “/opt/ros/kinetic/lib/python2.7/dist-packages/controller_manager_msgs/srv/_LoadController.py”, line 195, in deserialize
codecs.lookup_error(“rosmsg”).msg_type = self._type
LookupError: unknown error handler name ‘rosmsg’
[rospy.internal][ERROR] 2021-02-03 22:33:02,570: Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py”, line 727, in receive_once
p.read_messages(b, msg_queue, sock)
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py”, line 354, in read_messages
rospy.msg.deserialize_messages(b, msg_queue, self.recv_data_class, queue_size=self.queue_size, max_msgs=1, start=1) #rospy.msg
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/msg.py”, line 245, in deserialize_messages
raise genpy.DeserializationError(“cannot deserialize: %s”%str(e))
DeserializationError: cannot deserialize: unknown error handler name ‘rosmsg’
[rospy.core][INFO] 2021-02-03 22:33:02,570: signal_shutdown [atexit]
[rosout][INFO] 2021-02-03 22:33:02,570: Shutting down spawner. Stopping and unloading controllers…
[rosout][INFO] 2021-02-03 22:33:02,571: Stopping all controllers…
[rospy.msg][ERROR] 2021-02-03 22:33:02,594: cannot deserialize message: EXCEPTION Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/msg.py”, line 223, in deserialize_messages
msg_queue.append(data.deserialize(q))
File “/opt/ros/kinetic/lib/python2.7/dist-packages/controller_manager_msgs/srv/_SwitchController.py”, line 298, in deserialize
codecs.lookup_error(“rosmsg”).msg_type = self._type
LookupError: unknown error handler name ‘rosmsg’
[rospy.internal][ERROR] 2021-02-03 22:33:02,594: Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py”, line 727, in receive_once
p.read_messages(b, msg_queue, sock)
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py”, line 354, in read_messages
rospy.msg.deserialize_messages(b, msg_queue, self.recv_data_class, queue_size=self.queue_size, max_msgs=1, start=1) #rospy.msg
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/msg.py”, line 245, in deserialize_messages
raise genpy.DeserializationError(“cannot deserialize: %s”%str(e))
DeserializationError: cannot deserialize: unknown error handler name ‘rosmsg’
[rosout][WARNING] 2021-02-03 22:33:02,594: Controller Spawner error while taking down controllers: transport error completing service call: receive_once[/controller_manager/swit$
I hope your answer,
thanks.