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

rqt topic monitor failled attributeError [closed]

asked 2017-03-02 01:18:23 -0600

adrienH gravatar image

Hello every body,

A problem with rqt and topic monitor shows up this morning after an update/upgrade of my system (ubunut 14.04 with ros-indigo)

Since that upgrade I can't monitor any topic without having this error message :

[ERROR] [WallTime: 1488390882.559023] bad callback: <bound method TopicInfo.message_callback of <rqt_topic.topic_info.TopicInfo object at 0x7fafac18d1d0>>
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/", line 720, in _invoke_callback
  File "/opt/ros/indigo/lib/python2.7/dist-packages/rqt_topic/", line 100, in message_callback
AttributeError: 'cStringIO.StringO' object has no attribute 'len'

In addition :

  • Topics are still operationals since I can visualise them with rostopic echo
  • This error occur on many type of message (std_msgs/string, moveit...)
  • This error occur regardless the publishing node

Does anyone have some clues ? Concerning me it's look like some python related file or configuration have been corrupted...

Thank by advance.

here below some system's information

Python interpreter version : 2.7.6

System information

Linux version 4.4.0-64-generic (buildd@lcy01-27) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #85~14.04.1-Ubuntu SMP Mon Feb 20 12:10:54 UTC 2017

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2017-08-08 17:19:15.584618

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-02 01:56:44 -0600

Dirk Thomas gravatar image

updated 2017-03-02 06:14:38 -0600

gvdhoorn gravatar image

Please see duplicate question #q255923.

edit flag offensive delete link more

Question Tools


Asked: 2017-03-02 01:18:23 -0600

Seen: 340 times

Last updated: Mar 02 '17