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

Error for running rosbridge_websocket.launch

asked 2015-04-21 12:37:03 -0600

Robatics1 gravatar image

Hi, I compiled the rosbridge_suite package (develop branch). When I want to run roslaunch rosbridge_server rosbridge_websocket.launch, I encounter with the following error:

 File "/home/users/al/catkin_ws/src/rosbridge_suite/rosbridge_server/scripts/rosbridge_websocket", line 37, in <module>
    from rosauth.srv import Authentication
ImportError: No module named rosauth.srv
process[rosapi-3]: started with pid [23225]
[rosbridge_websocket-2] process has died [pid 23222, exit code 1, cmd /home/users/al/catkin_ws/src/rosbridge_suite/rosbridge_server/scripts/rosbridge_websocket __name:=rosbridge_websocket __log:=/home/users/al/.ros/log/d36deb7c-e84b-11e4-b7bd-001aa0cf0b47/rosbridge_websocket-2.log].
log file: /home/users/al/.ros/log/d36deb7c-e84b-11e4-b7bd-001aa0cf0b47/rosbridge_websocket-2*.log

Please let me know how to solve it.

Best

edit retag flag offensive close merge delete

Comments

You are right the rosauth was missing. worked. Thanks.

Robatics1 gravatar image Robatics1  ( 2015-04-21 13:57:24 -0600 )edit

sudo apt install ros-kinetic-rosauth

JackWu gravatar image JackWu  ( 2021-11-30 01:23:24 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-21 12:42:41 -0600

Did you make sure to download and compile rosauth and all of rosbridge_server's other dependencies?

edit flag offensive delete link more

Comments

here is a link to the source for anyone who needs it since its not yet added to the wiki

flynneva gravatar image flynneva  ( 2020-06-13 19:29:48 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-21 12:37:03 -0600

Seen: 4,046 times

Last updated: Apr 21 '15