Ask Your Question
0

" rostopic list " error

asked 2013-04-30 06:04:19 -0600

Devasena Inupakutika gravatar image

updated 2013-04-30 06:54:11 -0600

130s gravatar image

rostopic list throws below error message:

 rostopic list
Traceback (most recent call last):
  File "/opt/ros/groovy/bin/rostopic", line 34, in <module>
    import rostopic
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rostopic/__init__.py", line 58, in <module>
    import rospy
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
    from .client import spin, myargv, init_node, \
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rospy/client.py", line 59, in <module>
    import rospy.impl.init
  File "/opt/ros/groovy/lib/python2.7/dist-packages/rospy/impl/init.py", line 107, in <module>
    class RosStreamHandler(rosgraph.roslogging.RosStreamHandler):
AttributeError: 'module' object has no attribute 'RosStreamHandler'

This error comes when I am executing this command on workstation computer. But when I run the same on turtlebot computer, it displays published topics.

Anyone please let me know what could be the issue.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-04-30 07:03:20 -0600

130s gravatar image

Looks very similar to this thread.

edit flag offensive delete link more

Comments

Yeah, similar issue. The following packages have been kept back: ros-groovy-rosgraph . So, installed this package. Thank you !! It resolved my problem.

Devasena Inupakutika gravatar imageDevasena Inupakutika ( 2013-04-30 09:35:33 -0600 )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

Stats

Asked: 2013-04-30 06:04:19 -0600

Seen: 206 times

Last updated: Apr 30 '13