Ask Your Question
1

rqt crash when subscribing to any topic

asked 2017-03-02 10:36:37 -0500

updated 2017-03-02 11:10:21 -0500

Fresh install of ubuntu gnome 16.04

  1. apt-get install ros-kinetic-desktop-full ros-kinetic-ros-control ros-kinetic-ros-controllers ros-kinetic-moveit ros-kinetic-moveit-ros ros-kinetic-gazebo-ros

  2. run my robot_description.launch

  3. I run: rqt

  4. open plugin topic monitor

  5. check any topic

  6. i get this:

    [ERROR] [1488471809.228233]: bad callback: <bound method="" topicinfo.message_callback="" of="" <rqt_topic.topic_info.topicinfo="" object="" at="" 0x7f2ae4bc63d0="">> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_topic/topic_info.py", line 100, in message_callback self.sizes.append(buff.len) AttributeError: 'cStringIO.StringO' object has no attribute 'len'

    [ERROR] [1488471809.235319]: bad callback: <bound method="" topicinfo.message_callback="" of="" <rqt_topic.topic_info.topicinfo="" object="" at="" 0x7f2ae4bc63d0="">> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_topic/topic_info.py", line 100, in message_callback self.sizes.append(buff.len) AttributeError: 'cStringIO.StringO' object has no attribute 'len'

    [ERROR] [1488471809.242770]: bad callback: <bound method="" topicinfo.message_callback="" of="" <rqt_topic.topic_info.topicinfo="" object="" at="" 0x7f2ae4bc63d0="">> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_topic/topic_info.py", line 100, in message_callback self.sizes.append(buff.len) AttributeError: 'cStringIO.StringO' object has no attribute 'len'

    [ERROR] [1488471809.282522]: bad callback: <bound method="" topicinfo.message_callback="" of="" <rqt_topic.topic_info.topicinfo="" object="" at="" 0x7f2ae4bc63d0="">> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_topic/topic_info.py", line 100, in message_callback self.sizes.append(buff.len) AttributeError: 'cStringIO.StringO' object has no attribute 'len'

    [ERROR] [1488471809.283385]: bad callback: <bound method="" topicinfo.message_callback="" of="" <rqt_topic.topic_info.topicinfo="" object="" at="" 0x7f2ae4bc63d0="">> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_topic/topic_info.py", line 100, in message_callback self.sizes.append(buff.len) AttributeError: 'cStringIO.StringO' object has no attribute 'len'

    [ERROR] [1488471809.328485]: bad callback: <bound method="" topicinfo.message_callback="" of="" <rqt_topic.topic_info.topicinfo="" object="" at="" 0x7f2ae4bc63d0="">> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_topic/topic_info.py", line 100, in message_callback self.sizes.append(buff.len) AttributeError: 'cStringIO.StringO' object has no attribute 'len'

    [ERROR] [1488471809.336671]: bad callback: <bound method="" topicinfo.message_callback="" of="" <rqt_topic.topic_info.topicinfo="" object="" at="" 0x7f2ae4bc63d0="">> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 720, in _invoke_callback cb(msg) File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_topic/topic_info.py", line 100, in message_callback self.sizes.append(buff.len) AttributeError: 'cStringIO.StringO' object has no attribute 'len'

    [ERROR] [1488471809.342535]: bad callback: <bound ...

(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-03-02 10:58:35 -0500

Dirk Thomas gravatar image

Please see duplicate question #q255923.

edit flag offensive delete link more

Comments

Thank you! but Build fail. I updated my question. Is it the same if i am on Kinetic?

Gortium gravatar image Gortium  ( 2017-03-02 11:11:07 -0500 )edit

Yes, it is the same.

Dirk Thomas gravatar image Dirk Thomas  ( 2017-03-02 11:34:40 -0500 )edit

Ok fixed it by not installing and sourcing the setup.bash of rqt_common_plugins

Gortium gravatar image Gortium  ( 2017-03-02 11:37:03 -0500 )edit

Hello,I get the same trouble ,when run catkin_make -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic install,and get failed like you ,I can't understand what's your meaning of"not installing and sourcing the setup.bash of rqt_common_plugins",could you detailed descript it?

sheng gravatar image sheng  ( 2017-03-04 02:41:08 -0500 )edit

@sheng see the answer suggested in this answer.

130s gravatar image 130s  ( 2017-03-04 09:21:02 -0500 )edit

If you are using indigo or Jade you can simply update your installed Debian packages. The latest release of ros-<DISTRO>-rqt-topic will address the problem. The updated Kinetic package will hopefully be available on a couple of days.

Dirk Thomas gravatar image Dirk Thomas  ( 2017-03-04 09:29:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-03-02 10:36:37 -0500

Seen: 230 times

Last updated: Mar 02 '17