-
Notifications
You must be signed in to change notification settings - Fork 31
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
Update __init__.py #9
Conversation
When I attempt to implement this fix, I get this error: OSError: [WinError 10038] An operation was attempted on something that is not a socket |
@Crypto-Spartan do you have a stack trace? |
@anton-belousov I updated to 0.3.0 of aioping, and it's definitely broken for me now. This is the Traceback of the error for me:
I know that this traceback doesn't explicitly say that it is the |
I realized that the traceback above may not be the best since I'm using the threading library in that script. In this script, I'm not using the threading library at all, and I get the same error, different traceback:
|
@Crypto-Spartan thanks! Could you please also share the source of the script for the 2nd traceback? Is it just a simple ping as in an example? |
@anton-belousov I have created an issue here. I will add a comment with the source code to both of the scripts I'm attempting to use. |
Update __init__.py
Socket should be closed if a TimeoutError happens in async def receive_one_ping(my_socket, id_, timeout):