IOError: [Errno 32] Broken pipe


#1

Hi

I get this error once in a while in the terminal, is this an important error at all?


^Bp<StreamWriter(gpgi-output(/usr/bin/gpg --status-file=/media/DRIVE/tmp/tmp9oksZR --passphrase-fd=0 --enable-progress-filter --batch --verbose --with-colons --pinentry-mode=loopback --agent-program=/usr/bin/gpg-agent --dirmngr-program=/usr/bin/dirmngr --personal-digest-preferences=SHA512 --digest-algo=SHA512 --cert-digest-algo=SHA512 --utf8-strings --decrypt), started 139711489750784)>(gpgi-output(/usr/bin/gpg --status-file=/media/DRIVE/tmp/tmp9oksZR --passphrase-fd=0 --enable-progress-filter --batch --verbose --with-colons --pinentry-mode=loopback --agent-program=/usr/bin/gpg-agent --dirmngr-program=/usr/bin/dirmngr --personal-digest-preferences=SHA512 --digest-algo=SHA512 --cert-digest-algo=SHA512 --utf8-strings --decrypt)/write): 3029692 bytes left                                                                             
Traceback (most recent call last):
  File "/media/DRIVE/opt/Mailpile/mailpile/crypto/gpgi.py", line 489, in writeout
    fd.write(line)
IOError: [Errno 32] Broken pipe
<StreamWriter(gpgi-output(/usr/bin/gpg --status-file=/media/DRIVE/tmp/tmp61YBdb --passphrase-fd=0 --enable-progress-filter --batch --verbose --with-colons --pinentry-mode=loopback --agent-program=/usr/bin/gpg-agent --dirmngr-program=/usr/bin/dirmngr --personal-digest-preferences=SHA512 --digest-algo=SHA512 --cert-digest-algo=SHA512 --utf8-strings --decrypt), started 139711489750784)>(gpgi-output(/usr/bin/gpg --status-file=/media/DRIVE/tmp/tmp61YBdb --passphrase-fd=0 --enable-progress-filter --batch --verbose --with-colons --pinentry-mode=loopback --agent-program=/usr/bin/gpg-agent --dirmngr-program=/usr/bin/dirmngr --personal-digest-preferences=SHA512 --digest-algo=SHA512 --cert-digest-algo=SHA512 --utf8-strings --decrypt)/write): 3029692 bytes left                                                                                
Traceback (most recent call last):
  File "/media/DRIVE/opt/Mailpile/mailpile/crypto/gpgi.py", line 489, in writeout
    fd.write(line)
IOError: [Errno 32] Broken pipe
<StreamWriter(gpgi-output(/usr/bin/gpg --status-file=/media/DRIVE/tmp/tmpYIFelt --passphrase-fd=0 --enable-progress-filter --batch --verbose --with-colons --pinentry-mode=loopback --agent-program=/usr/bin/gpg-agent --dirmngr-program=/usr/bin/dirmngr --personal-digest-preferences=SHA512 --digest-algo=SHA512 --cert-digest-algo=SHA512 --utf8-strings --decrypt), started 139711788087040)>(gpgi-output(/usr/bin/gpg --status-file=/media/DRIVE/tmp/tmpYIFelt --passphrase-fd=0 --enable-progress-filter --batch --verbose --with-colons --pinentry-mode=loopback --agent-program=/usr/bin/gpg-agent --dirmngr-program=/usr/bin/dirmngr --personal-digest-preferences=SHA512 --digest-algo=SHA512 --cert-digest-algo=SHA512 --utf8-strings --decrypt)/write): 3029692 bytes left                                                                                
Traceback (most recent call last):
  File "/media/DRIVE/opt/Mailpile/mailpile/crypto/gpgi.py", line 489, in writeout
    fd.write(line)
IOError: [Errno 32] Broken pipe


#2

Hi qqr

Mailpile uses the GnuPG executable called gpg to do crypto work, with gpg run as a separate process. The gpg sysout is redirected to a pipe and Mailpile gets the gpg output that way. It looks as if something is going wrong with the sysout pipe. Probably nothing to worry about as long as to higher level symptoms are seen.

JackDca