ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Well, seems it doesn't work. I get this error when I finished installation and tried running roscore
Traceback (most recent call last):
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/__init__.py", line 307
, in main
p.start()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/parent.py", line 279,
in start
self.runner.launch()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 654,
in launch
self._setup()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 630,
in _setup
self._launch_master()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 394,
in _launch_master
validate_master_launch(m, self.is_core, self.is_rostest)
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 83, i
n validate_master_launch
if not rosgraph.network.is_local_address(m.get_host()):
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/rosgraph/network.py", line 176,
in is_local_address
local_addresses = ['localhost'] + get_local_addresses()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/rosgraph/network.py", line 219,
in get_local_addresses
for iface in netifaces.interfaces():
OSError: [Errno 22] Invalid argument
2 | No.2 Revision |
Well, seems it doesn't work. I get this error when I finished installation and tried running roscore
Traceback (most recent call last):
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/__init__.py", line 307
, in main
p.start()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/parent.py", line 279,
in start
self.runner.launch()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 654,
in launch
self._setup()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 630,
in _setup
self._launch_master()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 394,
in _launch_master
validate_master_launch(m, self.is_core, self.is_rostest)
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/roslaunch/launch.py", line 83, i
n validate_master_launch
if not rosgraph.network.is_local_address(m.get_host()):
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/rosgraph/network.py", line 176,
in is_local_address
local_addresses = ['localhost'] + get_local_addresses()
File "/home/mahmoud/ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/rosgraph/network.py", line 219,
in get_local_addresses
for iface in netifaces.interfaces():
OSError: [Errno 22] Invalid argument
By tracing the errors above to the file "ros_catkin_ws/install_isolated/lib/python2.7/dist-packages/rosgraph/network.py", the error is in netifaces.interface() , so I tried using the module netifaces on its own for basic use in a python shell and I got the following error:
import netifaces
netifaces.interfaces()
Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 22] Invalid argument
thus I searched for the source of the module and I had to download the source package from: netifaces - Python, and currently i'm checking possible causes of this error. If there is anyone interested in helping, that would be appreciated