重新启动了一下openerp-server 居然就没错误了,有这个道理么?
Han
-
PDF 报表中文支持模块:base_report_cn -
科目余额初始化[quote]原帖由 [i]dquo[/i] 于 2008-8-18 22:03 发表 tinyerp.shine-it.net/redirect.php?goto=findpost&pid=1231&ptid=253
仓库部份视平 [/quote]
文件不可用:( -
PDF 报表中文支持模块:base_report_cnopenERP 5.0.0.3
-
PDF 报表中文支持模块:base_report_cn系统在freebsd7.1下
-
PDF 报表中文支持模块:base_report_cnTraceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 600, in go
(result, format) = obj.create(cr, uid, ids, datas, context)
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/report_sxw.py", line 645, in create
return self.create_single(cr, uid, ids, data, report_xml, context)
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/report_sxw.py", line 733, in create_single
pdf = create_doc(rml2, logo, title.encode('utf8'))
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/interface.py", line 199, in create_pdf
obj.render()
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/render/render.py", line 50, in render
result = self._render()
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/render/rml.py", line 36, in _render
return rml2pdf.parseString(self.xml, images=self.bin_datas, path=self.path,title=self.title)
File "/usr/local/lib/python2.5/site-packages/openerp-server/addons/base_report_cn/init.py", line 79, in convert2TrueType
data = data.replace(old, new)
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/render/rml2pdf/trml2pdf.py", line 803, in parseString
r.render(fp)
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/render/rml2pdf/trml2pdf.py", line 214, in render
self.docinit(el)
File "/usr/local/lib/python2.5/site-packages/openerp-server/report/render/rml2pdf/trml2pdf.py", line 191, in docinit
pdfmetrics.registerFont(TTFont(name, fname ))
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 960, in init
canvas.drawString(x, y, "Some text encoded in UTF-8")
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 875, in init
return output.makeStream()
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 398, in init
return stm.getvalue()
File "/usr/local/lib/python2.5/site-packages/reportlab/pdfbase/ttfonts.py", line 463, in extractInfo
self.seek(string_data_offset + offset)
TTFError: Could not find PostScript font name