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?