Comment 1 for bug 1258411

Revision history for this message
jordg (gbj) wrote :

I am getting a similar result on Ubuntu 10.04 with Openerp-6.1.
In my odt file I have content.xml with font-face-decls with chinese characters.
On my desktop it works OK. On the server I get:

    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/home/openerp/addons-extra-6.1/report_aeroo/report_aeroo.py", line 837, in create
    res = fnct(cr, uid, ids, data, report_xml, context)
  File "/home/openerp/addons-extra-6.1/report_aeroo/report_aeroo.py", line 768, in create_source_odt
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/home/openerp/addons-extra-6.1/report_aeroo/report_aeroo.py", line 595, in create_single_pdf
    return self.create_aeroo_report(cr, uid, ids, data, report_xml, context=context, output=output)
  File "/home/openerp/addons-extra-6.1/report_aeroo/report_aeroo.py", line 544, in create_aeroo_report
    self._raise_exception(e, print_id)
  File "/home/openerp/addons-extra-6.1/report_aeroo/report_aeroo.py", line 440, in _raise_exception
    raise Exception(_("Aeroo Reports: Error while generating the report."), e, str(e), _("For more reference inspect error logs."))

<office:font-face-decls><style:font-face style:name="Lohit Hindi1" svg:font-family="'Lohit Hindi'"/><style:font-face style:name="Times New Roman1" svg:font-family="'Times New Roman'" style:font-family-generic="roman"/><style:font-face style:name="Times New Roman" svg:font-family="'Times New Roman'" style:font-family-generic="roman" style:font-pitch="variable"/><style:font-face style:name="Arial" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/><style:font-face style:name="Lohit Hindi" svg:font-family="'Lohit Hindi'" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="宋体" svg:font-family="宋体" style:font-family-generic="system" style:font-pitch="variable"/><style:font-face style:name="微软雅黑" svg:font-family="微软雅黑" style:font-family-generic="system" style:font-pitch="variable"/></office:font-face-decls>

Thanks