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

IOError: broken pipe #3263

Closed
avdd opened this issue Nov 24, 2015 · 4 comments
Closed

IOError: broken pipe #3263

avdd opened this issue Nov 24, 2015 · 4 comments
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior

Comments

@avdd
Copy link

avdd commented Nov 24, 2015

pip list | grep -q no-match operates as expected.

pip list | grep -q matching-pattern produces:

Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 883, in emit
    self.flush()
  File "/usr/lib/python2.7/logging/__init__.py", line 843, in flush
    self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file list.py, line 195
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 883, in emit
    self.flush()
  File "/usr/lib/python2.7/logging/__init__.py", line 843, in flush
    self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file list.py, line 195
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 883, in emit
    self.flush()
  File "/usr/lib/python2.7/logging/__init__.py", line 843, in flush
    self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file list.py, line 195
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 883, in emit
    self.flush()
  File "/usr/lib/python2.7/logging/__init__.py", line 843, in flush
    self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file list.py, line 195
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 883, in emit
    self.flush()
  File "/usr/lib/python2.7/logging/__init__.py", line 843, in flush
    self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file list.py, line 195
  • pip 7.1.2
  • Python 2.7.10
@xavfernandez xavfernandez added the type: bug A confirmed bug or unintended behavior label Nov 26, 2015
@podung
Copy link

podung commented Dec 10, 2015

I'm getting this as well:
pip 7.1.2
python 2.7.11
osx 10.10.5

Let me know if I can provide more info

@dstufft
Copy link
Member

dstufft commented Mar 24, 2017

Closing this, I can't reproduce this. If you're still having issues please open a new issue with reproduction steps.

@dstufft dstufft closed this as completed Mar 24, 2017
@avdd
Copy link
Author

avdd commented Mar 25, 2017

Here's a repro:

with Ubuntu 14.04:

wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz
tar xf Python-2.7.13.tar.xz
cd Python-2.7.13
./configure --prefix=/tmp/python  --with-ensurepip=upgrade
PYTHONUSERBASE=null make install
/tmp/python/bin/pip list | head -1
Package    Version
Traceback (most recent call last):
  File "/tmp/python/lib/python2.7/logging/__init__.py", line 885, in emit
    self.flush()
  File "/tmp/python/lib/python2.7/logging/__init__.py", line 845, in flush
    self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file list.py, line 272
Traceback (most recent call last):
  File "/tmp/python/lib/python2.7/logging/__init__.py", line 885, in emit
    self.flush()
  File "/tmp/python/lib/python2.7/logging/__init__.py", line 845, in flush
    self.stream.flush()
IOError: [Errno 32] Broken pipe
Logged from file list.py, line 272

@xavfernandez
Copy link
Member

Cf #4170 for a duplicate issue.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants