When I try "Show PDF" in the letters application, the following output appears in the console, but no PDF is created:
Traceback (most recent call last):
File "/usr/local/kumula/bin/../lib/KumulaMainWindow.py", line 368, in handleToolMethod
self.method()
File "kumula/bin/../lib/letters/MainWindow.py", line 458, in handlePdfShow
self.template.buildLetter(pdfFile, self.edBody.text())
File "kumula/bin/../lib/letters/LetterTemplate.py", line 163, in buildLetter
doc.build(Story)
File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 699, in build
self.clean_hanging()
File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 375, in clean_hanging
self.handle_flowable(self._hanging)
File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 613, in handle_flowable
f.apply(self)
File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 100, in apply
apply(getattr(doc,arn), args)
File "/usr/lib/python2.4/site-packages/reportlab/platypus/doctemplate.py", line 400, in handle_pageBegin
self.pageTemplate.onPage(self.canv,self)
File "kumula/bin/../lib/letters/standard/template.py", line 104, in doFirstPage
line = '%s' % line
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 7: ordinal not in range(128)
Logged In: YES
user_id=1716968
Originator: YES
This error occurs (only), if wether in the address or in the text are german special characters (Umlaute).