Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python netifaces.interfaces() results in [Errno 22] Invalid argument #519

Closed
HWiese1980 opened this issue Jun 13, 2016 · 2 comments
Closed

Comments

@HWiese1980
Copy link

HWiese1980 commented Jun 13, 2016

bug

I'm trying to get ROS Indigo running in the Bash On Windows environment. It installed successfully but when I try to launch the roscore process it just exits with the error message

[Errno 22] Invalid argument

when trying to execute netifaces.interfaces().

I can reproduce this error easily by just calling netifaces.interfaces() from an ipython shell.

It might be related to #468

My Inside Preview Build Number is 14352.rs1_release.160522-1930

Screenshot of the error: https://i.imgur.com/JeKUO5w.png

@sunilmut
Copy link
Member

@HWiese1980 - Thanks for reporting the issue. It looks like a dupe of #468, but if you would like to confirm, you can take a strace. NETLINK sockets are not yet implemented, but something we should be looking at once the Anniversary update is out. Also, thanks for trying out WSL!

@HWiese1980
Copy link
Author

Alright, according to the strace it is in fact a dupe of #468. There's this syscall:

socket(PF_NETLINK, SOCK_RAW, 0)         = -1 EINVAL (Invalid argument)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants