Traceback (most recent call last):
File "/home/cg/workspace/pycarddav/bin/pycard-import", line 157, in do_import
parser.process_addresses(conf.headers)
File "/home/cg/workspace/pycarddav/bin/pycard-import", line 106, in process_addresses
pycarddav.ui.start_pane(pycarddav.ui.EditorPane(self._db, self._conf.sync.account, vcard))
File "/home/cg/workspace/pycarddav/pycarddav/ui.py", line 192, in init
Pane.init(self, self._build_ui(), 'Edit %s' % vcard.fname)
File "/home/cg/workspace/pycarddav/pycarddav/ui.py", line 224, in _build_ui
content.extend(self._build_names_section())
File "/home/cg/workspace/pycarddav/pycarddav/ui.py", line 233, in _build_names_section
self._lname_edit.set_edit_text(names[0])
File "/home/cg/.virtualenvs/pycard27/local/lib/python2.7/site-packages/urwid/widget.py", line 1355, in set_edit_text
text = self._normalize_to_caption(text)
File "/home/cg/.virtualenvs/pycard27/local/lib/python2.7/site-packages/urwid/widget.py", line 1414, in _normalize_to_caption
return text.encode('ascii') # follow python2's implicit conversion
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 1: ordinal not in range(128)
Traceback (most recent call last): File "/home/cg/workspace/pycarddav/bin/pycard-import", line 157, in do_import parser.process_addresses(conf.headers) File "/home/cg/workspace/pycarddav/bin/pycard-import", line 106, in process_addresses pycarddav.ui.start_pane(pycarddav.ui.EditorPane(self._db, self._conf.sync.account, vcard)) File "/home/cg/workspace/pycarddav/pycarddav/ui.py", line 192, in init Pane.init(self, self._build_ui(), 'Edit %s' % vcard.fname) File "/home/cg/workspace/pycarddav/pycarddav/ui.py", line 224, in _build_ui content.extend(self._build_names_section()) File "/home/cg/workspace/pycarddav/pycarddav/ui.py", line 233, in _build_names_section self._lname_edit.set_edit_text(names[0]) File "/home/cg/.virtualenvs/pycard27/local/lib/python2.7/site-packages/urwid/widget.py", line 1355, in set_edit_text text = self._normalize_to_caption(text) File "/home/cg/.virtualenvs/pycard27/local/lib/python2.7/site-packages/urwid/widget.py", line 1414, in _normalize_to_caption return text.encode('ascii') # follow python2's implicit conversion UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 1: ordinal not in range(128)