-
Notifications
You must be signed in to change notification settings - Fork 74
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: 'module' object has no attribute 'MSG_WAITALL' #53
Comments
Is this the same issue as iPlantCollaborativeOpenSource/python-irodsclient/issues/10? |
Yes, this looks like the same issue. In researching the issue I found https://bugs.launchpad.net/myconnpy/+bug/437972 which appears to describe an analogous issue in another Python library. In their work-around they note that "MSG_WAITALL not available on windows." |
The workaround (keep receiving data from socket until a given length has been read) looks like what _recv_message_in_len(sock, size) is already doing, so you might not need the MSG_WAITALL flag here. |
That change to line 19 resolves the issue. Thanks! If MSG_WAITALL is doing something useful on non-Windows platforms perhaps a conditional to not apply it on Windows work would in the code. |
When attempting the examples in README.md, an "AttributeError: 'module' object has no attribute 'MSG_WAITALL'" is generated.
The text was updated successfully, but these errors were encountered: