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

collections.get generated AttributeError: 'module' object has no attribute 'MSG_WAITALL' on Windows #10

Open
donpellegrino opened this issue Jun 18, 2015 · 0 comments

Comments

@donpellegrino
Copy link

When running the Python client on Windows in Python 2.7, a call to

coll = sess.collections.get("...")

yields the following error:

Traceback (most recent call last):
File "", line 1, in
File "C:\Python27\lib\site-packages\irods\resource_manager\collection_manager.py", line 12, in get
result = query.one()
File "C:\Python27\lib\site-packages\irods\query.py", line 132, in one
results = self.execute()
File "C:\Python27\lib\site-packages\irods\query.py", line 118, in execute
with self.sess.pool.get_connection() as conn:
File "C:\Python27\lib\site-packages\irods\pool.py", line 20, in get_connection
conn = Connection(self, self.account)
File "C:\Python27\lib\site-packages\irods\connection.py", line 19, in init
self.connect()
File "C:\Python27\lib\site-packages\irods\connection.py", line 67, in connect
version_msg = self.recv()
File "C:\Python27\lib\site-packages\irods\connection.py", line 37, in recv
msg = iRODSMessage.recv(self.socket)
File "C:\Python27\lib\site-packages\irods\message__init
.py", line 23, in recv
rsp_header_size = sock.recv(4, socket.MSG_WAITALL)
AttributeError: 'module' object has no attribute 'MSG_WAITALL'

Perhaps this is a limitation of the socket object on Windows?

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

1 participant