-
Notifications
You must be signed in to change notification settings - Fork 57
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
AttributeError with 1.2.0 release on Windows #10
Comments
Hi, I can confirm the same happens in Ubuntu Linux |
Thank you for reporting this issue. I'll have a look at it. |
Recently, IPv6 support was added to multi-ping. The issue seems to stem from that. The code works for me as is and the @cleonello and @geokal, since I can't reproduce it here, could you please help me out and run a small test for me? Could you please start a Python shell and import the socket module, then check one attribute value for me?
What output do you get? @geokal, could you please also let me know what version of Ubuntu you are running? |
Hi, @jbrendel in my Windows terminal the output of |
Having the same issue on Windows 10 using python 3.5.2
returns |
Hi, I can confirm the same happens on Win 10 Python 3.6.5 |
@mametov's solution doesn't work for me under python 3.4.3 on Windows XP (nor does replacing socket.IPPROTO_ICMPV6 with the hardcoded value 58). What does work is to comment out the self._sock6... statements on lines 119 and 120 (effectively removing IPv6 from multiping). Technically, this shouldn't be a problem, given that Microsoft says that IPPROTO_ICMPV6 should be available on Windows XP. Maybe this has something to do with this bug. |
Can confirm @mametov's workaround on win10 3.6.5, but still hoping for a real solution |
Hello everyone. Thank you for continuing to follow up on this. My apologies for not checking back earlier. I have just pushed what I believe is a patch for this. In effect, it checks whether the I tested this on Ubuntu 14.04, 16.04 and on Windows 10 and it works (no surprise on the Ubuntus, since they have that value available anyway). I'm concerned about @geostar1024 report, though, since apparently you tried hardocding 58 and it did not work for you? I really don't know what to say to that. This, as patched right now, seems to work. At least with Python3 on Windows 10. If everyone could give the current version a go, please, and let me know? I don't want to just close this issue without getting your feedback first. Thank you again! |
If this works for everyone, I will mark this issue as closed... |
@jbrendel thanks a lot will check tomorrow! |
Hi, the latest release (1.1.0) throws an error on Windows 7 under python 3.6.4 and under python 3.5.5. The previous release (1.0.7) does not. Here is the error when running the example code from the readme:
The text was updated successfully, but these errors were encountered: