Open fmina opened 6 years ago
I would have thought increasing the pty's on the system would have helped, but perhaps you need to set it in the system files and reboot (assuming that's not what you did already)?
Otherwise, it's related to https://github.com/osrf/osrf_pycommon/issues/46 (likely the root cause, not something in this repository).
I don't have time to dig in myself, but I'd also suggest trying catkin_tools
with Python3, perhaps their openpty
implementation is more up-to-date (assuming it's something that changed in high sierra).
You likely ran into the same problem I had on High Sierra with Emacs shell windows (https://stackoverflow.com/questions/53531777/cannot-open-pty-under-mac-os-high-sierra/53581958#53581958) -- High Sierra uses a different mechanism for allocating pty's than earlier Mac OS X releases, so if your code isn't reconfigured for it, it will fail to allocate a pty.
System Info
Darwin fmina-mac.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64
Python 2.7.10
catkin_tools 0.4.4 (C) 2014-2018 Open Source Robotics Foundation
lunar
I just upgraded my OS to High Sierra, now I am facing a strange problem when I compile the catkin workspace. After compiling around 35 packages, I get the following error:
which simply means the system is running out of
pty
terminals.I checked the maximum number of possible
pty
using the following command:and it returns
255
. If I change this value to something large like 999, the compilation stops with the same error after around 150 packages.Any idea how to fix this issue?