You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[illuminati source (master)]$ ./pants list 3rdparty/python: | head -10
...
Exception caught: (<type 'exceptions.IOError'>)
File ".bootstrap/_pex/pex.py", line 326, in execute
self._wrap_coverage(self._wrap_profiling, self._execute)
File ".bootstrap/_pex/pex.py", line 258, in _wrap_coverage
runner(*args)
File ".bootstrap/_pex/pex.py", line 290, in _wrap_profiling
runner(*args)
File ".bootstrap/_pex/pex.py", line 369, in _execute
return self.execute_entry(self._pex_info.entry_point)
File ".bootstrap/_pex/pex.py", line 427, in execute_entry
return runner(entry_point)
File ".bootstrap/_pex/pex.py", line 445, in execute_pkg_resources
return runner()
File "/Users/kwilson/dev/source/.pex/install/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl.dfcf1da242f8807637b07735eb90bff845cbed67/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl/pants/bin/pants_exe.py", line 44, in main
PantsRunner(exiter).run()
File "/Users/kwilson/dev/source/.pex/install/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl.dfcf1da242f8807637b07735eb90bff845cbed67/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl/pants/bin/pants_runner.py", line 57, in run
options_bootstrapper=options_bootstrapper)
File "/Users/kwilson/dev/source/.pex/install/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl.dfcf1da242f8807637b07735eb90bff845cbed67/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl/pants/bin/pants_runner.py", line 35, in _run
return RemotePantsRunner(exiter, args, env, process_metadata_dir).run()
File "/Users/kwilson/dev/source/.pex/install/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl.dfcf1da242f8807637b07735eb90bff845cbed67/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl/pants/bin/remote_pants_runner.py", line 79, in run
result = client.execute(self.PANTS_COMMAND, *self._args, **modified_env)
File "/Users/kwilson/dev/source/.pex/install/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl.dfcf1da242f8807637b07735eb90bff845cbed67/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl/pants/java/nailgun_client.py", line 147, in execute
return self._session.execute(cwd, main_class, *args, **environment)
File "/Users/kwilson/dev/source/.pex/install/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl.dfcf1da242f8807637b07735eb90bff845cbed67/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl/pants/java/nailgun_client.py", line 70, in execute
return self._process_session()
File "/Users/kwilson/dev/source/.pex/install/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl.dfcf1da242f8807637b07735eb90bff845cbed67/pantsbuild.pants-1.3.0.dev3+3342022031-py2-none-any.whl/pants/java/nailgun_client.py", line 46, in _process_session
self._stdout.flush()
Exception message: [Errno 32] Broken pipe
The text was updated successfully, but these errors were encountered:
…non-draining reader. (#4230)
Problem
When piping output of the pantsd thin client to e.g. head, the client will throw an unhandled Broken pipe IOError attempting to flush the now-defunct fd after head short-circuits after consuming only its needed output.
Solution
Catch Broken pipe errors and exit when encountered.
Result
Broken pipe is no longer seen.
Fixes#4166
lenucksi
pushed a commit
to lenucksi/pants
that referenced
this issue
Apr 25, 2017
…non-draining reader. (pantsbuild#4230)
Problem
When piping output of the pantsd thin client to e.g. head, the client will throw an unhandled Broken pipe IOError attempting to flush the now-defunct fd after head short-circuits after consuming only its needed output.
Solution
Catch Broken pipe errors and exit when encountered.
Result
Broken pipe is no longer seen.
Fixespantsbuild#4166
The text was updated successfully, but these errors were encountered: