alot icon indicating copy to clipboard operation
alot copied to clipboard

Exception ignored when trying to write to the signal wakeup fd: BlockingIOError: [Errno 11] Resource temporarily unavailable

Open josch opened this issue 6 years ago • 8 comments

This happens with alot 0.8 on Debian unstable and is a regression over alot 0.7 where this issue did not happen. When I'm performing a search with many results (I was unable to pinpoint a pattern) then I'm getting spawned with several thousand (yes, thousand) lines of the following in my terminal:

Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:
BlockingIOError: [Errno 11] Resource temporarily unavailable
Exception ignored when trying to write to the signal wakeup fd:

Yes, this output scrolls through my normal terminal and is only later replaced by the normal urwid search result. So this is actually not any functional regression just a cosmetic one. I also cannot see anything weird going on in the debug log. The messages also don't show up in the debug log. I don't know where they are coming from.

josch avatar Feb 10 '19 19:02 josch

The most general way to find out where they are coming from is to search for any common pattern. Does it happen with

  • different terminal emulators?
  • different python versions?
  • a git checkout of alot?
  • a minimal alot config?
  • an empty mail store?

lucc avatar Feb 16 '19 21:02 lucc

This Started happening to me lately. The weird thing is it happens always on the 10th epoch i'm running. All the other epochs are fine so i see no reason for it to start so late in the process. Did anyone figured it out? I'm working on google colab using PyTorch.

Liortabori avatar Apr 16 '19 13:04 Liortabori

Sorry but what does epoch in this context? What do colab or pytorch have to do with this issue?

pazz avatar Apr 21 '19 11:04 pazz

Thats not clear to me. i run a model in Pytorch and got this error (always on the 10th epoch). Don't know why that happens but thought maybe someone else would know so i shared that information. Anyway i got around this by changing a few things in my model.

Liortabori avatar May 06 '19 05:05 Liortabori

I am facing same issue while training DCGAN using Colab and PyTorch.

p-rit avatar May 26 '19 03:05 p-rit

can someone please explain what a web collaboration platform that's running a ML lib for python had to do with the original post?

Perhaps you've got here by googling the stacktraces? If so, let me remind you that this project is a command line mail client that is not intended to run on some web based service..

pazz avatar May 26 '19 08:05 pazz

Did anyone solve this?

roshni-b avatar May 26 '20 14:05 roshni-b

I haven't had this problem for a while now. But I also upgraded to alot 0.9. Is anybody still having this problem with alot 0.9?

josch avatar Jun 03 '20 13:06 josch