[ros-users] socket error

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ rosout-1.log (text/x-log)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: ros-users
Subject: [ros-users] socket error
Hi all,
I am getting a socket error when I launch my program (which uses openrave).
The launch file launches a single node running on the same machine as the
roscore. I am using Ubuntu 10.10 and my Python install is version 2.6. I did
look up the archives and found that someone else had mentioned this same
problem about a couple of weeks ago and Ken Conley had addressed it. I
followed the advice from Ken Conley in that thread and changed my
.rosinstall file to install from the ros1.2 branch instead just for the ros
stack. This gave me the latest xmlrpc.py file, which I verified with the
previous thread, but I still get the same error.

Here's the error:
Unhandled exception in thread started by <bound method TCPServer.run of
<rospy.impl.tcpros_base.TCPServer object at 0x37a0990>>
Traceback (most recent call last):
  File "/home/aarumbak/ros/ros/core/rospy/src/rospy/impl/tcpros_base.py",
line 141, in run
    (client_sock, client_addr) = self.server_sock.accept()
  File "/usr/lib/python2.6/socket.py", line 197, in accept
    sock, addr = self._sock.accept()
socket[INFO] 1296375790.973933: Manipulation applet is dying. RIP.
.error: [Errno 4] Interrupted system call


FYI, we run this software on Ubuntu 10.04 and I've never seen this error
before. I got this error on Ubuntu 9.10 before (strangely the problem went
away then) and now in 10.10. Any help would be much appreciated.
-Arjun.

attachment: relevant log file.
[roscpp_internal] [2011-01-30 03:22:25,586] [thread 0x7f52fab7c760]: [DEBUG] UDPROS server listening on port [42691]
[roscpp_internal] [2011-01-30 03:22:25,597] [thread 0x7f52fab7c760]: [DEBUG] Started node [/rosout], pid [2260], bound on [luk], xmlrpc port [49341], tcpros port [37176], logging to [/home/aarumbak/.ros/log/10e5d022-2c4a-11e0-9bcf-f0def12e629b/rosout-1.log], using [real] time
[roscpp_internal] [2011-01-30 03:22:25,599] [thread 0x7f52fab7c760]: [DEBUG] Publisher update for [/rosout]: already have these connections:
[roscpp_internal] [2011-01-30 03:23:03,863] [thread 0x7f52f4a87700]: [DEBUG] Publisher update for [/rosout]: http://luk:59976/, already have these connections:
[roscpp_internal] [2011-01-30 03:23:03,864] [thread 0x7f52f4a87700]: [DEBUG] Began asynchronous xmlrpc connection to [luk:59976]
[roscpp_internal] [2011-01-30 03:23:03,906] [thread 0x7f52f4a87700]: [DEBUG] Connecting via tcpros to topic [/rosout] at host [luk:39869]
[roscpp_internal] [2011-01-30 03:23:03,906] [thread 0x7f52f4a87700]: [DEBUG] Resolved publisher host [luk] to [127.0.0.1] for socket [11]
[roscpp_internal] [2011-01-30 03:23:03,906] [thread 0x7f52f4a87700]: [DEBUG] Async connect() in progress to [luk:39869] on socket [11]
[roscpp_internal] [2011-01-30 03:23:03,906] [thread 0x7f52f4a87700]: [DEBUG] Connected to publisher of topic [/rosout] at [luk:39869]
[roscpp_internal] [2011-01-30 03:23:10,981] [thread 0x7f52f5288700]: [DEBUG] Socket [11] received 0/4 bytes, closing
[roscpp_internal] [2011-01-30 03:23:10,982] [thread 0x7f52f5288700]: [DEBUG] TCP socket [11] closed
[roscpp_internal] [2011-01-30 03:23:10,982] [thread 0x7f52f5288700]: [DEBUG] Connection to publisher [TCPROS connection to [luk:39869 on socket 11]] to topic [/rosout] dropped
[roscpp_internal] [2011-01-30 03:23:11,069] [thread 0x7f52f4a87700]: [DEBUG] Publisher update for [/rosout]: already have these connections: http://luk:59976/,
[roscpp_internal] [2011-01-30 03:23:11,069] [thread 0x7f52f4a87700]: [DEBUG] Disconnecting from publisher [/manipulationapplet_gfe] of topic [/rosout] at [http://luk:59976/]
[roscpp_internal] [2011-01-30 03:39:44,417] [thread 0x7f52f5288700]: [DEBUG] Shutting down roscpp
[roscpp_internal] [2011-01-30 03:39:44,437] [thread 0x7f52f5288700]: [DEBUG] Shutting down topics...
[roscpp_internal] [2011-01-30 03:39:44,437] [thread 0x7f52f5288700]: [DEBUG] shutting down publishers
[roscpp_internal] [2011-01-30 03:39:44,439] [thread 0x7f52f5288700]: [DEBUG] shutting down subscribers
[roscpp_internal] [2011-01-30 03:39:44,440] [thread 0x7f52f5288700]: [DEBUG] ServiceManager::shutdown(): unregistering our advertised services
[roscpp_internal] [2011-01-30 03:39:44,443] [thread 0x7f52f5288700]: [DEBUG] UDP socket [8] closed
[roscpp_internal] [2011-01-30 03:39:44,443] [thread 0x7f52f5288700]: [DEBUG] TCP socket [7] closed
[roscpp_internal] [2011-01-30 03:39:44,447] [thread 0x7f52f5288700]: [DEBUG] Shutdown finished