pazz/alot — Issue #389: traceback after successfully sending mails
Author: pazz
Created: 2012-03-05 14:00:57+00:00
State: open
Labels: bug, twisted

```
mail sent successfully
1: [thread] [alot] mails tagged 'killed' reappearing (3 messages) total messages: 2112Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/_baseprocess.py", line 60, in maybeCallProcessEnded
proto.processEnded(Failure(reason))
File "/home/pazz/.local/lib/python2.7/site-packages/alot/helper.py", line 286, in processEnded
self.deferred.callback(out)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 361, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/pazz/.local/lib/python2.7/site-packages/alot/commands/envelope.py", line 155, in errb
ui.clear_notify([clearme])
File "/home/pazz/.local/lib/python2.7/site-packages/alot/ui.py", line 257, in clear_notify
newpile.remove(l)
File "/home/pazz/.local/lib/python2.7/site-packages/urwid-1.0.1-py2.7-linux-i686.egg/urwid/monitored_list.py", line 27, in call_modified_wrapper
rval = fn(self, *args, **kwargs)
exceptions.ValueError: list.remove(x): x not in list
```