pazz/alot — Issue #144: cannot send mail
Author: teythoon
Created: 2011-12-07 14:32:38+00:00
State: open

Pazz, I sometimes wonder whether you are using alot yourself or not.

```
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/home/teythoon/.local/lib/python2.7/site-packages/alot/ui.py", line 443, in apply_command
cmd.apply(self)
File "/home/teythoon/.local/lib/python2.7/site-packages/alot/commands/thread.py", line 115, in apply
ui.apply_command(ComposeCommand(envelope=envelope))
File "/home/teythoon/.local/lib/python2.7/site-packages/alot/ui.py", line 443, in apply_command
cmd.apply(self)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1141, in unwindGenerator
return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "/home/teythoon/.local/lib/python2.7/site-packages/alot/commands/globals.py", line 496, in apply
ui.apply_command(cmd)
File "/home/teythoon/.local/lib/python2.7/site-packages/alot/ui.py", line 443, in apply_command
cmd.apply(self)
File "/home/teythoon/.local/lib/python2.7/site-packages/alot/commands/envelope.py", line 171, in apply
value = decode_header(self.envelope.headers.get(key, ''))
File "/home/teythoon/.local/lib/python2.7/site-packages/alot/message.py", line 305, in decode_header
valuelist = email.header.decode_header(header)
File "/usr/lib/python2.7/email/header.py", line 73, in decode_header
header = str(header)
exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 12: ordinal not in range(128)
```