latexrun icon indicating copy to clipboard operation
latexrun copied to clipboard

compatibility with OS X

Open goretkin opened this issue 8 years ago • 5 comments

https://github.com/aclements/latexrun/commit/38ff6ec2815654513c91f64bdf2a5760c85da26e#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.

goretkin avatar Feb 12 '16 04:02 goretkin

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

mamikonyana avatar Mar 14 '16 22:03 mamikonyana

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

goretkin avatar Mar 14 '16 22:03 goretkin

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

CarloNicolini avatar Jun 16 '16 08:06 CarloNicolini

This is also not available on some Unix systems

kracwarlock avatar Aug 19 '16 22:08 kracwarlock

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)

MrYann avatar Nov 30 '16 12:11 MrYann