ArchiveTeam / seesaw-kit

Making a reusable toolkit for writing seesaw scripts
Other
69 stars 30 forks source link

'AsyncPopen' object has no attribute 'pipe' #26

Closed alard closed 10 years ago

alard commented 11 years ago

If a Wget dies you'll sometimes see this (maybe only if it doesn't start)

ERROR:root:Error in periodic callback
Traceback (most recent call last):
  File "/home/ateam/.local/lib/python2.6/site-packages/tornado/ioloop.py", line 502, in _run
    self.callback()
  File "/home/ateam/.local/lib/python2.6/site-packages/seesaw/externalprocess.py", line 57, in _wait_for_end
    self.pipe.poll()
AttributeError: 'AsyncPopen' object has no attribute 'pipe'
ivan commented 11 years ago

I am testing this fix that I've deployed through a monkeypatch in greader-grab:

https://github.com/ivan/seesaw-kit/commit/2094809f83d64b7bb576dd419156abc66d366318

I don't expect to see any problems, but will comment here if I do.

chfoo commented 10 years ago

Fixed in fead0e6