[ros-users] [Discourse.ros.org] [ROS Projects] Ros service sample code not running

Lalith Kumar ros.discourse at gmail.com
Thu Jul 6 22:44:28 UTC 2017

when i run rosrun pkg_name and service.py it showing nothing in rosservice list and if i close rosrun then fowlling error comming
Traceback (most recent call last):
  File "/home/edu/p/ros/robot/src/robot/src/service_server.py", line 3, in <module>
    from robot.srv import WordCount,WordCountResponse
  File "/home/edu/p/ros/robot/src/robot/src/robot.py", line 4, in <module>
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 323, in init_node
    raise rospy.exceptions.ROSInitException("init_node interrupted before it could complete")
rospy.exceptions.ROSInitException: init_node interrupted before it could complete

[Visit Topic](https://discourse.ros.org/t/ros-service-sample-code-not-running/2173/1) or reply to this email to respond.

More information about the ros-users mailing list