利用aeroo 做报表时报错,求高手指点? 我报表采用的微软雅黑的字体?
-
73 2014-06-04 05:19:29,536 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [14]: OpenERP-Server Version : 7.0-20140525-231206
274 2014-06-04 05:19:29,536 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [15]: Report generation error!
275 2014-06-04 05:19:29,536 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [16]: Traceback (most recent call last):
276 2014-06-04 05:19:29,536 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [17]: File "/opt/openerp/server/openerp/addons/report_aeroo/report_aeroo.py", line 439, in create_aeroo_report
277 2014-06-04 05:19:29,536 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [18]: data = basic.generate(**oo_parser.localcontext).render().getvalue()
278 2014-06-04 05:19:29,536 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [19]: File "/usr/local/lib/python2.7/dist-packages/aeroolib-1.0.0.RC4-py2.7.egg/aeroolib/plugins/base.py", line 51, in render
279 2014-06-04 05:19:29,538 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [20]: return self.serializer(self.events)
280 2014-06-04 05:19:29,538 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [21]: File "/usr/local/lib/python2.7/dist-packages/aeroolib-1.0.0.RC4-py2.7.egg/aeroolib/plugins/opendocument.py", l ine 1203, in call
281 2014-06-04 05:19:29,538 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [22]: content = TContent(serialized_stream)
282 2014-06-04 05:19:29,538 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [23]: File "/usr/local/lib/python2.7/dist-packages/aeroolib-1.0.0.RC4-py2.7.egg/aeroolib/plugins/opendocument.py", l ine 809, in init
283 2014-06-04 05:19:29,538 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [24]: self.tree = lxml.etree.parse(StringIO(content))
284 2014-06-04 05:19:29,538 6076 ERROR odoo openerp.loglevels.deprecated.report_aeroo: [25]: UnicodeEncodeError: 'ascii' codec can't encode characters in position 1930-1932: ordinal not in range(128)
@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @