Build failed (python error)

Issue #1410 new
nwtour created an issue

cmake failed on loadtable.py:

Traceback (most recent call last): File ".dep/localeconv/loadtable.py", line 50, in <module> write(x,"\"{}\":\"{}\",\n".format(key, row[x])) File "dep/localeconv/loadtable.py", line 26, in write output.lock('w|') File "/usr/lib/python2.7/posixfile.py", line 195, in lock flock = fcntl.fcntl(self.file.fileno(), cmd, flock) IOError: [Errno 22] Invalid argument

In python documentation posixfile.lock() marked as depricated method. Attached patch fix this problem.

Comments (1)

  1. Log in to comment