You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled ROS melodic. When I rosrun turtlesim turtlesim_node, it gives errors.
[rosmaster.master][INFO] 2018-07-29 20:17:24,247: publisherUpdate[/rosout] -> http://localhost:64132/ ['http://localhost:64140/']: sec=0.01, exception=[Errno 54] Connection reset by peer
[rosmaster.threadpool][ERROR] 2018-07-29 20:17:24,250: Traceback (most recent call last):
File "/opt/ros/melodic/lib/python3.7/site-packages/rosmaster/threadpool.py", line 218, in run
result = cmd(*args)
File "/opt/ros/melodic/lib/python3.7/site-packages/rosmaster/master_api.py", line 210, in publisher_update_task
ret = xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1112, in __call__
return self.__send(self.__name, args)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1167, in single_request
resp = http_conn.getresponse()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1321, in getresponse
response.begin()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 296, in begin
version, status, reason = self._read_status()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 257, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 54] Connection reset by peer
and then, rosrun turtlesim turtle_teleop_key,
[rosmaster.master][INFO] 2018-07-29 20:18:55,499: publisherUpdate[/rosout] -> http://localhost:64132/ ['http://localhost:64158/']: sec=0.00, exception=[Errno 32] Broken pipe
[rosmaster.threadpool][ERROR] 2018-07-29 20:18:55,500: Traceback (most recent call last):
File "/opt/ros/melodic/lib/python3.7/site-packages/rosmaster/threadpool.py", line 218, in run
result = cmd(*args)
File "/opt/ros/melodic/lib/python3.7/site-packages/rosmaster/master_api.py", line 210, in publisher_update_task
ret = xmlrpcapi(api).publisherUpdate('/master', topic, pub_uris)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1112, in __call__
return self.__send(self.__name, args)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1452, in __request
verbose=self.__verbose
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1166, in single_request
http_conn = self.send_request(host, handler, request_body, verbose)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1279, in send_request
self.send_content(connection, request_body)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1309, in send_content
connection.endheaders(request_body)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1055, in _send_output
self.send(chunk)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 977, in send
self.sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe
The text was updated successfully, but these errors were encountered:
From this brief description it is unclear if this is actually a bug in the package or something different in your setup / environment. I would suggest to ask for help on answers.ros.org where more people will read about your problem and might be able to help.
I think it's the bug in ros_comm like #1357.
It is said to be fixed by #1393 but when I tested it, it didn't work with python3 on macOS.
So I am using ros_comm commit 46d5ba4. It's ok.
melodic 1.14.2 version on mac OS
I compiled ROS melodic. When I rosrun turtlesim turtlesim_node, it gives errors.
and then, rosrun turtlesim turtle_teleop_key,
The text was updated successfully, but these errors were encountered: