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

compatibility with OS X #34

Open
goretkin opened this issue Feb 12, 2016 · 5 comments
Open

compatibility with OS X #34

goretkin opened this issue Feb 12, 2016 · 5 comments

Comments

@goretkin
Copy link

38ff6ec#diff-bb509f917948249b44c93a585fc72c90R255 makes use of os.CLOEXEC, which will largely be unavailable on current official binaries of Python on OS X.

See http://bugs.python.org/issue26343 for more info.

@mamikonyana
Copy link

I have the same problem.. Is suggested workaround to use old versions?

@goretkin
Copy link
Author

I just removed that identifier from the list of flags. You can try that

@CarloNicolini
Copy link

Same problem, still trying to figure out the solution os OX 10.10.5 Yosemite.
Any idea?

@kracwarlock
Copy link

kracwarlock commented Aug 19, 2016

This is also not available on some Unix systems

@MrYann
Copy link

MrYann commented Nov 30, 2016

True.
I am on ubuntu-mate and get the following error :

File "./latexrun", line 255, in __init__
    lockfd = os.open(lockpath, os.O_CREAT|os.O_WRONLY|os.O_CLOEXEC, 0o666)
AttributeError: module 'os' has no attribute 'O_CLOEXEC'

(also, i have anaconda python 3.5.2 installed)

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

5 participants