fcntl.fcntl breaking on 64bit

PK superprad at gmail.com
Wed Feb 18 18:08:55 EST 2009


Hello Friends:

I'm running into issues with using fcntl on a 64 bit servers.

Python version: 2.4.3

system Arch: # uname -m
x86_64


code keeps erroring out with:

fcntl.fcntl(fd, rhn_fcntl.F_SETLKW, UNLOCK)
IOError: [Errno 22] Invalid argument

The same python code block runs fine on a i386/686.

Does anyone have any thoughts? Is this a known issue? any workarounds?

Any suggestions appreciated.

Thanks,
~ PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090218/81ab3c36/attachment.html>


More information about the Python-list mailing list