ralphbean/bugwarrior — Issue #7: Problems with german umlauts / special chars
Author: monofox
Created: 2011-12-18 19:27:37+00:00
State: open

If there are some special chars like german umlauts in the summary of trac tickets, than the things can not be
saved in file:

Working on [flsTrac]
Working on [myGitHub]
Adding task: {'description': u'(bw)Is#127 - FormFactory: XML Basiert [+ Dokumentation] .. http://bit.ly/w1XCPI',
'priority': 'M',
'project': 'flsTrac'}
Adding task: {'description': u'(bw)Is#93 - Umfragemodul f\xfcr Forum und Kursverwaltung .. http://bit.ly/w36hI3',
'priority': 'M',
'project': 'flsTrac'}
Traceback (most recent call last):
File "/usr/bin/bugwarrior-pull", line 9, in
load_entry_point('bugwarrior==0.1b3', 'console_scripts', 'bugwarrior-pull')()
File "/usr/lib64/python2.7/site-packages/bugwarrior-0.1b3-py2.7.egg/bugwarrior/command.py", line 14, in pull
synchronize(issues)
File "/usr/lib64/python2.7/site-packages/bugwarrior-0.1b3-py2.7.egg/bugwarrior/db.py", line 50, in synchronize
taskw.task_add(**issue)
File "/usr/lib64/python2.7/site-packages/taskw-0.1.6-py2.7.egg/taskw/writing.py", line 25, in task_add
_task_add(task, 'pending')
File "/usr/lib64/python2.7/site-packages/taskw-0.1.6-py2.7.egg/taskw/writing.py", line 79, in _task_add
f.writelines([task2str(task)])
TypeError: writelines() argument must be a sequence of strings