However we have now a remaining problem:
bugs_udd.py debian-games
Traceback (most recent call last):
File "./bugs_udd.py", line 476, in <module>
main()
File "./bugs_udd.py", line 471, in main
print >> f, template.generate(**data).render('xhtml')
File "/usr/lib/python2.7/dist-packages/genshi/core.py", line 184, in render
return encode(generator, method=method, encoding=encoding, out=out)
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 57, in encode
return _encode(''.join(list(iterator)))
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 350, in __call__
for kind, data, pos in stream:
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 669, in __call__
for kind, data, pos in stream:
File "/usr/lib/python2.7/dist-packages/genshi/output.py", line 786, in __call__
text = escape(pop_text(), quotes=False)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 188: ordinal not in range(128)
If there is a similarly simple solution this would be really great.
If we are really lucky this will also help in the next annoying
case:
tasks-py debian-med
Traceback (most recent call last):
File "./tasks.py", line 181, in <module>
print >> f, template.generate(**data).render('xhtml')
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 1274: ordinal not in range(128)