[ros-users] roscore can't connect to xml-rpc server

Ugo Cupcic ugo at shadowrobot.com
Tue Aug 17 12:51:19 UTC 2010


 Hi,

Did you check the value of ROS_IP and ROS_MASTER_URI ?
echo $ROS_IP
echo $ROS_MASTER_URI

Cheers,

Ugo

On 17/08/10 13:47, Max Pfingsthorn wrote:
> Dear all,
>
> I'm trying to install cturtle on our robot running ubuntu 10.04.1. For
> some reason, neither the binary nor the svn install works.
> Both give me this error once I try to start roscore:
>
> Unable to contact my own XML-RPC server, this is a highly unusual
> error and should be reported immediately.
>
> The complete output of roscore is:
>
> ----------------------------------------------------------------------------------------------------------
> $ roscore
> ... logging to /home/robotics/.ros/log/89553aaa-a9fc-11df-8e1f-00508d94cf5c/roslaunch-rugbotB1-11675.log
>
> Unable to contact my own XML-RPC server, this is a highly unusual
> error and should be reported immediately.
> My URI is [http://rugbotB1:44789/]
> Exception in thread ProcessMonitor-1 (most likely raised during
> interpreter shutdown):
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
>   File "/home/robotics/ros/ros/tools/roslaunch/src/roslaunch/pmon.py",
> line 490, in run
>   File "/home/robotics/ros/ros/tools/roslaunch/src/roslaunch/pmon.py",
> line 575, in _post_run
> <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'info'
> ----------------------------------------------------------------------------------------------------------
>
> The logs don't contain anything useful either:
>
> ----------------------------------------------------------------------------------------------------------
> [INFO] 2010-08-17 14:39:54,540: roslaunch starting with args
> ['roscore', '--core']
> [INFO] 2010-08-17 14:39:54,540: roslaunch env is {'LESSOPEN': '|
> /usr/bin/lesspipe %s', 'SSH_CLIENT': '10.70.15.108 42008 22',
> 'LOGNAME': 'robotics', 'USER': 'robotics', 'HOME': '/home/robotics',
> 'PATH': '/home/robotics/ros/ros/bin:/home/robotics/ros/ros/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games',
> 'DISPLAY': 'localhost:10.0', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm',
> 'SHELL': '/bin/bash', 'XDG_SESSION_COOKIE':
> '332a61cb4421b1d9c0b1029d4c601134-1282040895.544628-595877145',
> 'SHLVL': '1', 'PYTHONPATH':
> '/home/robotics/ros/ros/core/roslib/src:/home/robotics/ros/ros/core/roslib/src:',
> 'ROS_ROOT': '/home/robotics/ros/ros', 'ROS_PACKAGE_PATH':
> '/home/robotics/jacobs-ros-pkg/stacks:/home/robotics/ros/stacks/visualization_tutorials:/home/robotics/ros/stacks/visualization_common:/home/robotics/ros/stacks/visualization:/home/robotics/ros/stacks/vision_opencv:/home/robotics/ros/stacks/sound_drivers:/home/robotics/ros/stacks/slam_gmapping:/home/robotics/ros/stacks/simulator_stage:/home/robotics/ros/stacks/simulator_gazebo:/home/robotics/ros/stacks/roslisp_support:/home/robotics/ros/stacks/ros_tutorials:/home/robotics/ros/stacks/robot_model:/home/robotics/ros/stacks/point_cloud_perception:/home/robotics/ros/stacks/physics_ode:/home/robotics/ros/stacks/navigation:/home/robotics/ros/stacks/laser_pipeline:/home/robotics/ros/stacks/laser_drivers:/home/robotics/ros/stacks/joystick_drivers_tutorials:/home/robotics/ros/stacks/joystick_drivers:/home/robotics/ros/stacks/imu_drivers:/home/robotics/ros/stacks/image_transport_plugins:/home/robotics/ros/stacks/image_pipeline:/home/robotics/ros/stacks/image_common:/home/robotics/ros/st
>  acks/geometry:/home/robotics/ros/stacks/driver_common:/home/robotics/ros/stacks/diagnostics:/home/robotics/ros/stacks/common_msgs:/home/robotics/ros/stacks/common:/home/robotics/ros/stacks/camera_drivers',
> '_': '/home/robotics/ros/ros/bin/roscore', 'SSH_CONNECTION':
> '10.70.15.108 42008 10.70.15.68 22', 'LESSCLOSE': '/usr/bin/lesspipe
> %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/robotics/ros/ros',
> 'SPEECHD_PORT': '7560', 'PWD':
> '/home/robotics/ros/ros/tools/roslaunch', 'ROS_MASTER_URI':
> 'http://localhost:11311', 'MAIL': '/var/mail/robotics', 'LS_COLORS':
> 'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01
>  ;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
> [INFO] 2010-08-17 14:39:54,540: starting in server mode
> [INFO] 2010-08-17 14:39:54,541: starting roslaunch parent run
> [INFO] 2010-08-17 14:39:54,541: loading roscore config file
> /home/robotics/ros/ros/tools/roslaunch/roscore.xml
> [INFO] 2010-08-17 14:39:54,542: Added core node of type
> [rosout/rosout] in namespace [/]
> [INFO] 2010-08-17 14:39:54,543: start_process_monitor: creating ProcessMonitor
> [INFO] 2010-08-17 14:39:54,543: created process monitor
> <ProcessMonitor(ProcessMonitor-1, initial daemon)>
> [INFO] 2010-08-17 14:39:54,543: start_process_monitor: ProcessMonitor started
> [INFO] 2010-08-17 14:39:54,543: starting parent XML-RPC server
> [INFO] 2010-08-17 14:39:54,544: starting roslaunch XML-RPC server
> [INFO] 2010-08-17 14:39:54,544: waiting for roslaunch XML-RPC server
> to initialize
> [ERROR] 2010-08-17 14:39:59,635: Unable to contact my own XML-RPC
> server, this is a highly unusual error and should be reported
> immediately.
> My URI is [http://rugbotB1:44789/]
> ----------------------------------------------------------------------------------------------------------
>
> Since this happens with both the binary version (cturtle) installed
> via apt and the svn version (latest, not cturtle), it seems something
> more is going on than meets the eye.
> It was a completely new ubuntu install before we installed the binary
> version. Afterwards, we uninstalled all ros packages with apt and used
> the svn-based installation method.
>
> Can anyone guess what's going on?
>
> Thank you all for your help!
>
> Best,
> Max Pfingsthorn
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>

-- 
Ugo Cupcic         |  Shadow Robot Company | ugo at shadowrobot.com
Software Engineer  |    251 Liverpool Road |
need a Hand?       |    London  N1 1LX     | +44 20 7700 2487
http://www.shadowrobot.com/hand/              @shadowrobot





More information about the ros-users mailing list